]> git.baikalelectronics.ru Git - uboot.git/commitdiff
ARM: dts: ast2500-evb: Add I2C devices
authorJoel Stanley <joel@jms.id.au>
Thu, 23 Jun 2022 05:10:35 +0000 (14:40 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:51 +0000 (14:30 -0400)
The EVB has an EEPROM on bus 3 and a LM75 temp sensor on bus 7. Enable
those busses we can test the I2C driver.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
arch/arm/dts/ast2500-evb.dts

index 4796ed445f57484885b1f1718b661b430efcf17e..874e042bc4cb4b2d63994a70266e3ba4dfbc87eb 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_sd2_default>;
 };
+
+&i2c3 {
+        status = "okay";
+
+        eeprom@50 {
+                compatible = "atmel,24c08";
+                reg = <0x50>;
+                pagesize = <16>;
+        };
+};
+
+&i2c7 {
+       status = "okay";
+
+        lm75@4d {
+                compatible = "national,lm75";
+                reg = <0x4d>;
+        };
+};