Skip to contentSkip to conversation

mpc5200: lite5200(b) dts fixes

PATCH In review Domen Puncer 2 participants 2 messages Apr 16, 2007

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

PATCH 1/1 mpc5200: lite5200(b) dts fixes

Three trivial DTS fixes:
Mark Lite5200(b) boards as "mpc5200" compatible. On efika the firmware already does that.
Fix mscan interrupt.
Fix wakeup GPIO address.

---
 arch/powerpc/boot/dts/lite5200.dts  |    5 +++--
 arch/powerpc/boot/dts/lite5200b.dts |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
arch/powerpc/boot/dts/lite5200.dts +3 -2
Index: grant.git/arch/powerpc/boot/dts/lite5200.dts
===================================================================
@@ -49,6 +49,7 @@
 
 	soc5200@f0000000 {
 		model = "fsl,mpc5200";
+		compatible = "mpc5200";
 		revision = ""			// from bootloader
 		#interrupt-cells = <3>;
 		device_type = "soc";
@@ -167,7 +168,7 @@
 			device_type = "mscan";
 			compatible = "mpc5200-mscan";
 			cell-index = <1>;
-			interrupts = <1 12 0>;
+			interrupts = <2 12 0>;
 			interrupt-parent = <500>;
 			reg = <980 80>;
 		};
@@ -179,7 +180,7 @@
 			interrupt-parent = <500>;
 		};
 
-		gpio-wkup@b00 {
+		gpio-wkup@c00 {
 			compatible = "mpc5200-gpio-wkup";
 			reg = <c00 40>;
 			interrupts = <1 8 0 0 3 0>;
arch/powerpc/boot/dts/lite5200b.dts +3 -2
Index: grant.git/arch/powerpc/boot/dts/lite5200b.dts
===================================================================
@@ -49,6 +49,7 @@
 
 	soc5200@f0000000 {
 		model = "fsl,mpc5200b";
+		compatible = "mpc5200";
 		revision = "";			// from bootloader
 		#interrupt-cells = <3>;
 		device_type = "soc";
@@ -167,7 +168,7 @@
 			device_type = "mscan";
 			compatible = "mpc5200b-mscan\0mpc5200-mscan";
 			cell-index = <1>;
-			interrupts = <1 12 0>;
+			interrupts = <2 12 0>;
 			interrupt-parent = <500>;
 			reg = <980 80>;
 		};
@@ -179,7 +180,7 @@
 			interrupt-parent = <500>;
 		};
 
-		gpio-wkup@b00 {
+		gpio-wkup@c00 {
 			compatible = "mpc5200b-gpio-wkup\0mpc5200-gpio-wkup";
 			reg = <c00 40>;
 			interrupts = <1 8 0 0 3 0>;
#1 lore raw
Quoted 13 lines · Domen Puncer

Three trivial DTS fixes:
Mark Lite5200(b) boards as "mpc5200" compatible. On efika the firmware already does that.
Fix mscan interrupt.
Fix wakeup GPIO address.

---

arch/powerpc/boot/dts/lite5200b.dts line 52

Quoted 4 lines
arch/powerpc/boot/dts/lite5200b.dts +1 -0
@@ -49,6 +49,7 @@
 
        soc5200@f0000000 {
                model = "fsl,mpc5200b";
+               compatible = "mpc5200";

For completeness, this really should be "mpc5200b,mpc5200". (I should have caught this earlier; sorry)

Signature · 4 lines
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195