Skip to content

Commit

Permalink
powerpc/fsl-booke: add the reg prop for pci bridge device node for T4/B4
Browse files Browse the repository at this point in the history
The reg property in the pci bridge device node is used to bind this
device node to the pci bridge device. Then all the pci devices under
this bridge could use the interrupt maps defined in this device node
to do the irq translation. So if this property is missed, the pci
traditional irq mechanism will not work.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Kevin Hao authored and Kumar Gala committed Apr 29, 2013
1 parent 04aa99c commit 9e2ecdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/b4si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
reg = <0 0 0 0 0>;
interrupts = <20 2 0 0>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <
Expand Down
4 changes: 4 additions & 0 deletions arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
reg = <0 0 0 0 0>;
interrupts = <20 2 0 0>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <
Expand All @@ -77,6 +78,7 @@
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
reg = <0 0 0 0 0>;
interrupts = <21 2 0 0>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <
Expand All @@ -102,6 +104,7 @@
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
reg = <0 0 0 0 0>;
interrupts = <22 2 0 0>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <
Expand All @@ -127,6 +130,7 @@
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
reg = <0 0 0 0 0>;
interrupts = <23 2 0 0>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <
Expand Down

0 comments on commit 9e2ecdb

Please sign in to comment.