summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8349emitxgp.dts
diff options
context:
space:
mode:
authorJohn Rigby <jrigby@freescale.com>2008-10-07 13:00:18 -0600
committerKumar Gala <galak@kernel.crashing.org>2008-10-13 11:09:58 -0500
commit5b70a097052fff3831d8b94541452e7c29426777 (patch)
treea319e6f81c2ac7d50af76ce863118f515896c2ef /arch/powerpc/boot/dts/mpc8349emitxgp.dts
parent4a015c37409ead893b659c2f89f1aa1fdf512115 (diff)
downloadtalos-op-linux-5b70a097052fff3831d8b94541452e7c29426777.tar.gz
talos-op-linux-5b70a097052fff3831d8b94541452e7c29426777.zip
powerpc: 83xx: pci: Remove need for get_immrbase from mpc83xx_add_bridge.
Modify mpc83xx_add_bridge to get config space register base address from the device tree instead of immr + hardcoded offset. 83xx pci nodes have this change: register properties now contain two address length tuples: First is the pci bridge register base, this has always been there. Second is the config base, this is new. This is documented in dts-bindings/fsl/83xx-512x-pci.txt The changes accomplish these things: mpc83xx_add_bridge no longer needs to call get_immrbase it uses hard coded addresses if the second register value is missing Signed-off-by: John Rigby <jrigby@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8349emitxgp.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8349emitxgp.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitxgp.dts b/arch/powerpc/boot/dts/mpc8349emitxgp.dts
index f70d3a0a6eb9..81ae1d3e9440 100644
--- a/arch/powerpc/boot/dts/mpc8349emitxgp.dts
+++ b/arch/powerpc/boot/dts/mpc8349emitxgp.dts
@@ -228,7 +228,8 @@
#interrupt-cells = <1>;
#size-cells = <2>;
#address-cells = <3>;
- reg = <0xe0008600 0x100>;
+ reg = <0xe0008600 0x100 /* internal registers */
+ 0xe0008380 0x8>; /* config space access registers */
compatible = "fsl,mpc8349-pci";
device_type = "pci";
};
OpenPOWER on IntegriCloud