]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: mvebu: turris_omnia: Add mcu node with gpio-controller
authorPali Rohár <pali@kernel.org>
Thu, 28 Jul 2022 11:06:25 +0000 (13:06 +0200)
committerStefan Roese <sr@denx.de>
Fri, 29 Jul 2022 08:02:43 +0000 (10:02 +0200)
This allows U-Boot to register new Turris Omnia MCU driver.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-385-turris-omnia.dts

index 7f1478edfd23f965258b0aacf108a5f0feb606b2..86904de816de1b9d5c21f0206a3397cdfd43aec8 100644 (file)
                        #size-cells = <0>;
                        reg = <0>;
 
-                       /* STM32F0 command interface at address 0x2a */
+                       /* MCU command i2c API */
+                       mcu: mcu@2a {
+                               compatible = "cznic,turris-omnia-mcu";
+                               reg = <0x2a>;
+                               gpio-controller;
+                               #gpio-cells = <3>;
+                       };
+
                        /* leds device (in STM32F0) at address 0x2b */
 
                        eeprom@54 {