[PATCH 05/10] ARM: dts: ast2600-evb: Add I2C devices
Joel Stanley
joel at jms.id.au
Mon Jun 20 09:24:52 CEST 2022
The EVB has an EEPROM on bus 7 and a LM75 temp sensor on bus 8. Enable
those busses we can test the I2C driver.
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
arch/arm/dts/ast2600-evb.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/dts/ast2600-evb.dts b/arch/arm/dts/ast2600-evb.dts
index 0d650543134a..cee787ecc0eb 100644
--- a/arch/arm/dts/ast2600-evb.dts
+++ b/arch/arm/dts/ast2600-evb.dts
@@ -174,6 +174,11 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c8_default>;
+
+ temp at 2e {
+ compatible = "adi,adt7490";
+ reg = <0x2e>;
+ };
};
&i2c8 {
@@ -181,6 +186,12 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c9_default>;
+
+ eeprom at 50 {
+ compatible = "atmel,24c08";
+ reg = <0x50>;
+ pagesize = <16>;
+ };
};
&mdio0 {
--
2.35.1
More information about the U-Boot
mailing list