[PATCH 5/5] PCI fixes for the MPC8641 Rev 2.0 silicon and Rev 1.02hardware

Zhang Wei-r63237 Wei.Zhang at freescale.com
Thu May 17 12:50:18 EST 2007


Hi, 

If you add below sector to pci at 8000, please remove the interrupt-map
sector from pci at 8000.
> @@ -286,6 +286,125 @@
>  				f800 0 0 4 &i8259 0 0
>  				>;
>  
> +			pci at 00 {
> +				device_type = "pci";
> +				#interrupt-cells = <1>;
> +				#size-cells = <2>;
> +				#address-cells = <3>;
> +				reg = <0000 0 0 0 0>;
> +				bus-range = <0 fe>;
> +				ranges = <02000000 0 80000000 80000000 0
> +					  20000000
> +					  01000000 0 00000000 00000000 0
> +					  00100000>;
> +
> +				pci at 00 {
> +					device_type = "pci";
> +					#interrupt-cells = <1>;
> +					#size-cells = <2>;
> +					#address-cells = <3>;
> +					reg = <0000 0 0 0 0>;
> +					bus-range = <1 fe>;
> +					ranges = <02000000 0 
> 80000000 80000000
> +						  0 20000000
> +						  01000000 0 
> 00000000 00000000
> +						  0 00100000>;
> +					interrupt-map-mask = 
> <3f800 0 0 7>;
> +					interrupt-map = <
> +						/* IDSEL 0x11 */
> +						28800 0 0 1 &i8259 3 2
> +						28800 0 0 2 &i8259 4 2
> +						28800 0 0 3 &i8259 5 2
> +						28800 0 0 4 &i8259 6 2
> +
> +						/* IDSEL 0x12 */
> +						29000 0 0 1 &i8259 4 2
> +						29000 0 0 2 &i8259 5 2
> +						29000 0 0 3 &i8259 6 2
> +						29000 0 0 4 &i8259 3 2
> +
> +						/* IDSEL 0x13 */
> +						29800 0 0 1 &i8259 0 0
> +						29800 0 0 2 &i8259 0 0
> +						29800 0 0 3 &i8259 0 0
> +						29800 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x14 */
> +						2a000 0 0 1 &i8259 0 0
> +						2a000 0 0 2 &i8259 0 0
> +						2a000 0 0 3 &i8259 0 0
> +						2a000 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x15 */
> +						2a800 0 0 1 &i8259 0 0
> +						2a800 0 0 2 &i8259 0 0
> +						2a800 0 0 3 &i8259 0 0
> +						2a800 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x16 */
> +						2b000 0 0 1 &i8259 0 0
> +						2b000 0 0 2 &i8259 0 0
> +						2b000 0 0 3 &i8259 0 0
> +						2b000 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x17 */
> +						2b800 0 0 1 &i8259 0 0
> +						2b800 0 0 2 &i8259 0 0
> +						2b800 0 0 3 &i8259 0 0
> +						2b800 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x18 */
> +						2c000 0 0 1 &i8259 0 0
> +						2c000 0 0 2 &i8259 0 0
> +						2c000 0 0 3 &i8259 0 0
> +						2c000 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x19 */
> +						2c800 0 0 1 &i8259 0 0
> +						2c800 0 0 2 &i8259 0 0
> +						2c800 0 0 3 &i8259 0 0
> +						2c800 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x1a */
> +						2d000 0 0 1 &i8259 6 2
> +						2d000 0 0 2 &i8259 3 2
> +						2d000 0 0 3 &i8259 4 2
> +						2d000 0 0 4 &i8259 5 2
> +
> +						/* IDSEL 0x1b */
> +						2d800 0 0 1 &i8259 5 2
> +						2d800 0 0 2 &i8259 0 0
> +						2d800 0 0 3 &i8259 0 0
> +						2d800 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x1c */
> +						2e000 0 0 1 &i8259 9 2
> +						2e000 0 0 2 &i8259 a 2
> +						2e000 0 0 3 &i8259 b 2
> +						2e000 0 0 4 &i8259 7 2
> +
> +						/* IDSEL 0x1d */
> +						2e800 0 0 1 &i8259 9 2
> +						2e800 0 0 2 &i8259 a 2
> +						2e800 0 0 3 &i8259 b 2
> +						2e800 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x1e */
> +						2f000 0 0 1 &i8259 b 2
> +						2f000 0 0 2 &i8259 0 0
> +						2f000 0 0 3 &i8259 0 0
> +						2f000 0 0 4 &i8259 0 0
> +
> +						/* IDSEL 0x1f */
> +						2f800 0 0 1 &i8259 6 2
> +						2f800 0 0 2 &i8259 0 0
> +						2f800 0 0 3 &i8259 0 0
> +						2f800 0 0 4 &i8259 0 0
> +						>;
> +					};
> +				};
> +
> +
>  			isa at f0 {
>  				device_type = "isa";
>  				#interrupt-cells = <2>;
> @@ -335,7 +454,7 @@
>  			#size-cells = <2>;
>  			#address-cells = <3>;
>  			reg = <9000 1000>;
> -			bus-range = <0 ff>;
> +			bus-range = <3 ff>;
>  			ranges = <02000000 0 a0000000 a0000000 
> 0 20000000
>  				  01000000 0 00000000 e3000000 
> 0 00100000>;
>  			clock-frequency = <1fca055>;

Best Regards,
Zhang Wei



More information about the Linuxppc-dev mailing list