lkml.org 
[lkml]   [2021]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] dts: arm: helios4, set aliases for spi and i2c, and enable spi
Date
From: Dennis Gilmore <dgilmore@redhat.com>

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

Signed-off-by: Dennis Gilmore <dgilmore@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
\
 
 \ /
  Last update: 2021-06-24 01:08    [W:3.092 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site