]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: mvebu: armada-xp-theadorable.dts: Add I2C DT nodes
authorStefan Roese <sr@denx.de>
Thu, 18 Nov 2021 08:19:39 +0000 (09:19 +0100)
committerStefan Roese <sr@denx.de>
Sun, 19 Dec 2021 08:50:47 +0000 (09:50 +0100)
Now with DM I2C support enabled we need to describe the I2C busses and
devices in the DT.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-xp-theadorable.dts

index 6a1df870ab56cac84a4a7ea9a5fa73ddde1ac5f5..24cc1cc5278edf59877d2e7f7d48e056ac3ab37f 100644 (file)
@@ -71,6 +71,8 @@
                spi0 = &spi0;
                spi1 = &spi1;
                ethernet0 = &eth0;
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
        };
 
        memory {
        };
 };
 
+&i2c0 {
+       status = "okay";
+       clock-frequency = <100000>;
+};
+
+&i2c1 {
+       status = "okay";
+       clock-frequency = <100000>;
+};
+
 &spi0 {
        status = "okay";
        u-boot,dm-pre-reloc;