diff mbox series

powerpc/5200: dts: fix psc node warning

Message ID 20211013225904.1548-1-agust@denx.de (mailing list archive)
State Superseded
Headers show
Series powerpc/5200: dts: fix psc node warning | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_ppctests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_selftests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 7 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 24 jobs.

Commit Message

Anatolij Gustschin Oct. 13, 2021, 10:59 p.m. UTC
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@denx.de>
---
 arch/powerpc/boot/dts/motionpro.dts | 4 ++++
 arch/powerpc/boot/dts/o2d.dtsi      | 6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
diff mbox series

Patch

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>;