[PATCH 2/2] arm: mvebu: turris_omnia: Add mcu node with gpio-controller

Pali Rohár pali at kernel.org
Mon Jul 25 15:01:13 CEST 2022


This allows U-Boot to register new Turris Omnia MCU driver.

Signed-off-by: Pali Rohár <pali at kernel.org>
---
 arch/arm/dts/armada-385-turris-omnia.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/armada-385-turris-omnia.dts b/arch/arm/dts/armada-385-turris-omnia.dts
index 7f1478edfd23..fe5c0b1b5915 100644
--- a/arch/arm/dts/armada-385-turris-omnia.dts
+++ b/arch/arm/dts/armada-385-turris-omnia.dts
@@ -173,7 +173,13 @@
 			#size-cells = <0>;
 			reg = <0>;
 
-			/* STM32F0 command interface at address 0x2a */
+			/* MCU command i2c API */
+			mcu: mcu at 2a {
+				compatible = "cznic,turris-omnia-mcu";
+				reg = <0x2a>;
+				gpio-controller;
+			};
+
 			/* leds device (in STM32F0) at address 0x2b */
 
 			eeprom at 54 {
-- 
2.20.1



More information about the U-Boot mailing list