[PATCH] powerpc/5200: dts: fix psc node warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix build warning:
Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi'

Signed-off-by: Anatolij Gustschin <agust@xxxxxxx>
---
 arch/powerpc/boot/dts/motionpro.dts | 4 ++++
 arch/powerpc/boot/dts/o2d.dtsi      | 6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/boot/dts/motionpro.dts b/arch/powerpc/boot/dts/motionpro.dts
index 09f0eaa4ad49..cc217ddd50a0 100644
--- a/arch/powerpc/boot/dts/motionpro.dts
+++ b/arch/powerpc/boot/dts/motionpro.dts
@@ -19,6 +19,8 @@
 	label = "motionpro-readyled";
 };
 
+/delete-node/ &psc2;
+
 / {
 	model = "promess,motionpro";
 	compatible = "promess,motionpro";
@@ -35,6 +37,8 @@
 		// PSC2 in spi master mode 
 		psc@2200 {		// PSC2
 			compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
+			reg = <0x2200 0x100>;
+			interrupts = <2 2 0>;
 			cell-index = <1>;
 		};
 
diff --git a/arch/powerpc/boot/dts/o2d.dtsi b/arch/powerpc/boot/dts/o2d.dtsi
index 898fe08a9fd0..34a836a37084 100644
--- a/arch/powerpc/boot/dts/o2d.dtsi
+++ b/arch/powerpc/boot/dts/o2d.dtsi
@@ -15,6 +15,8 @@
 };
 &gpt1 { gpio-controller; };
 
+/delete-node/ &psc1;
+
 / {
 	model = "ifm,o2d";
 	compatible = "ifm,o2d";
@@ -29,8 +31,10 @@
 			status = "disabled";
 		};
 
-		psc@2000 {		// PSC1
+		spi@2000 {		// PSC1
 			compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
+			reg = <0x2000 0x100>;
+			interrupts = <2 1 0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			cell-index = <0>;
-- 
2.17.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux