[PATCH] dts: arm: helios4, set aliases for spi and i2c, and enable spi

Dennis Gilmore dennis at ausil.us
Wed Jun 23 16:07:26 PDT 2021


From: Dennis Gilmore <dgilmore at redhat.com>

set aliases for spi1, i2c0, and i2c1
set status to okay for spi

Signed-off-by: Dennis Gilmore <dgilmore at redhat.com>
---
 arch/arm/boot/dts/armada-388-helios4.dts | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/armada-388-helios4.dts b/arch/arm/boot/dts/armada-388-helios4.dts
index ec134e22bae3..ec9388c3d7c8 100644
--- a/arch/arm/boot/dts/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/armada-388-helios4.dts
@@ -22,8 +22,11 @@ memory {
 	};
 
 	aliases {
-		/* So that mvebu u-boot can update the MAC addresses */
+		/* So that mvebu u-boot can update the MAC address */
 		ethernet1 = &eth0;
+		spi1 = &spi1;
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
 	};
 
 	chosen {
@@ -322,3 +325,11 @@ microsom_spi1_cs_pins: spi1-cs-pins {
 		};
 	};
 };
+
+&w25q32 {
+	status = "okay";
+};
+
+&spi1 {
+	status = "okay";
+};
-- 
2.31.1




More information about the linux-arm-kernel mailing list