Skip to contentSkip to conversation

powerpc: 85xx: TQM8548: DTS file fixes and cleanup

PATCH Applied Wolfgang Grandegger 2 participants 2 messages Aug 17, 2008 – Aug 18, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: 85xx: TQM8548: DTS file fixes and cleanup

Due to the missing compatible property for the SOC, the MPC I2C buses are not found any more. This patch fixes this issue. Furthermore it corrects the name of the SOC node and adds the missing I2C node for the RTC.

---
 arch/powerpc/boot/dts/tqm8548-bigflash.dts |    8 +++++++-
 arch/powerpc/boot/dts/tqm8548.dts          |    3 ++-
 2 files changed, 9 insertions(+), 2 deletions(-)
arch/powerpc/boot/dts/tqm8548.dts +2 -1
Index: linux-2.6-galak/arch/powerpc/boot/dts/tqm8548.dts
===================================================================
@@ -50,13 +50,14 @@
 		reg = <0x00000000 0x00000000>;	// Filled in by U-Boot
 	};
 
-	soc8548@e0000000 {
+	soc@e0000000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xe0000000 0x100000>;
 		reg = <0xe0000000 0x1000>;	// CCSRBAR
 		bus-frequency = <0>;
+		compatible = "fsl,mpc8548-immr", "simple-bus";
 
 		memory-controller@2000 {
 			compatible = "fsl,mpc8548-memory-controller";
arch/powerpc/boot/dts/tqm8548-bigflash.dts +7 -1
Index: linux-2.6-galak/arch/powerpc/boot/dts/tqm8548-bigflash.dts
===================================================================
@@ -50,13 +50,14 @@
 		reg = <0x00000000 0x00000000>;	// Filled in by U-Boot
 	};
 
-	soc8548@a0000000 {
+	soc@a0000000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xa0000000 0x100000>;
 		reg = <0xa0000000 0x1000>;	// CCSRBAR
 		bus-frequency = <0>;
+		compatible = "fsl,mpc8548-immr", "simple-bus";
 
 		memory-controller@2000 {
 			compatible = "fsl,mpc8548-memory-controller";
@@ -83,6 +84,11 @@
 			interrupts = <43 2>;
 			interrupt-parent = <&mpic>;
 			dfsrr;
+
+			rtc@68 {
+				compatible = "dallas,ds1337";
+				reg = <0x68>;
+			};
 		};
 
 		i2c@3100 {
Applied
#1 lore raw
Quoted 9 lines · Wolfgang Grandegger

Due to the missing compatible property for the SOC, the MPC I2C buses are not found any more. This patch fixes this issue. Furthermore it corrects the name of the SOC node and adds the missing I2C node for the RTC.

---

arch/powerpc/boot/dts/tqm8548-bigflash.dts |    8 +++++++-
arch/powerpc/boot/dts/tqm8548.dts          |    3 ++-
2 files changed, 9 insertions(+), 2 deletions(-)

applied.

- k