[PATCH 9/9] arm: mvebu: armada-xp-theadorable.dts: Add I2C DT nodes

Stefan Roese sr at denx.de
Sat Dec 18 14:45:03 CET 2021


On 11/18/21 09:19, Stefan Roese wrote:
> Now with DM I2C support enabled we need to describe the I2C busses and
> devices in the DT.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>

Applied to u-boot-marvell/next

Thanks,
Stefan

> ---
>   arch/arm/dts/armada-xp-theadorable.dts | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/dts/armada-xp-theadorable.dts b/arch/arm/dts/armada-xp-theadorable.dts
> index 6a1df870ab56..24cc1cc5278e 100644
> --- a/arch/arm/dts/armada-xp-theadorable.dts
> +++ b/arch/arm/dts/armada-xp-theadorable.dts
> @@ -71,6 +71,8 @@
>   		spi0 = &spi0;
>   		spi1 = &spi1;
>   		ethernet0 = &eth0;
> +		i2c0 = &i2c0;
> +		i2c1 = &i2c1;
>   	};
>   
>   	memory {
> @@ -156,6 +158,16 @@
>   	};
>   };
>   
> +&i2c0 {
> +	status = "okay";
> +	clock-frequency = <100000>;
> +};
> +
> +&i2c1 {
> +	status = "okay";
> +	clock-frequency = <100000>;
> +};
> +
>   &spi0 {
>   	status = "okay";
>   	u-boot,dm-pre-reloc;
> 

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