devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/5200: dts: fix psc node warning
@ 2021-10-13 22:59 Anatolij Gustschin
  0 siblings, 0 replies; only message in thread
From: Anatolij Gustschin @ 2021-10-13 22:59 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: devicetree, linux-kernel, Michael Ellerman,
	Benjamin Herrenschmidt, Paul Mackerras, Rob Herring,
	Stephen Rothwell

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-13 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 22:59 [PATCH] powerpc/5200: dts: fix psc node warning Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).