diff options
author | Joel Stanley <joel@jms.id.au> | 2022-06-23 14:40:35 +0930 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-07-06 14:30:51 -0400 |
commit | 5ff466fade1884501acaa76c6e87b7613f250971 (patch) | |
tree | 4edb777898cc3bf80813aa1783ab57cf2448cc50 /arch | |
parent | 3ad1d85d3c2163ec11934c77bc8c9aead37e9680 (diff) | |
download | u-boot-5ff466fade1884501acaa76c6e87b7613f250971.tar.gz u-boot-5ff466fade1884501acaa76c6e87b7613f250971.tar.bz2 u-boot-5ff466fade1884501acaa76c6e87b7613f250971.zip |
ARM: dts: ast2500-evb: Add I2C devices
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/ast2500-evb.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/dts/ast2500-evb.dts b/arch/arm/dts/ast2500-evb.dts index 4796ed445f..874e042bc4 100644 --- a/arch/arm/dts/ast2500-evb.dts +++ b/arch/arm/dts/ast2500-evb.dts @@ -73,3 +73,22 @@ 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>; + }; +}; |