[PATCH add immr alias 2/4] powerpc: 5121: Add immr alias to MPC5121 ADS device tree.

John Rigby jrigby at freescale.com
Wed Aug 6 06:13:38 EST 2008


So get_immrbase can function without a device_type = "soc"
property in the soc node.

The "soc" node should really be named "immr"
because it does not include the entire soc, however
u-boot currently looks up this node by name for
a clock fixup so leave it "soc" for now.  We will change
it later after 5121 u-boot uses the immr alias instead
of the node name.

Signed-off-by: John Rigby <jrigby at freescale.com>
---
 arch/powerpc/boot/dts/mpc5121ads.dts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc5121ads.dts b/arch/powerpc/boot/dts/mpc5121ads.dts
index 1f9036c..c52c51d 100644
--- a/arch/powerpc/boot/dts/mpc5121ads.dts
+++ b/arch/powerpc/boot/dts/mpc5121ads.dts
@@ -19,6 +19,7 @@
 
 	aliases {
 		pci = &pci;
+		immr = &immr;
 	};
 
 	cpus {
@@ -135,7 +136,7 @@
 		};
 	};
 
-	soc at 80000000 {
+	immr: soc at 80000000 {
 		compatible = "fsl,mpc5121-immr";
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 





More information about the Linuxppc-dev mailing list