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

Stefan Roese sr at denx.de
Fri Jul 29 14:01:47 CEST 2022


On 28.07.22 13:06, Pali Rohár wrote:
> This allows U-Boot to register new Turris Omnia MCU driver.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot-marvell/master

Thanks,
Stefan


> ---
> Changes in v2:
> * Add missing #gpio-cells for phandle usage
> ---
>   arch/arm/dts/armada-385-turris-omnia.dts | 9 ++++++++-
>   1 file changed, 8 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..86904de816de 100644
> --- a/arch/arm/dts/armada-385-turris-omnia.dts
> +++ b/arch/arm/dts/armada-385-turris-omnia.dts
> @@ -173,7 +173,14 @@
>   			#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;
> +				#gpio-cells = <3>;
> +			};
> +
>   			/* leds device (in STM32F0) at address 0x2b */
>   
>   			eeprom at 54 {

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list