From: Joel Stanley Date: Wed, 4 Oct 2017 06:49:14 +0000 (+1030) Subject: ARM: dts: aspeed-ast2500: Add I2C devices X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~6514^2~45^2~7 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e6aa3ef8da1f1de5ef6f29ba494fa27440ef3a70;p=mirror_ubuntu-focal-kernel.git ARM: dts: aspeed-ast2500: Add I2C devices Enable the buses that are in use and the devices that are attached. Currently that includes temperature measurement and EEPROM. Reviewed-by: Brendan Higgins Reviewed-by: Andrew Jeffery Signed-off-by: Joel Stanley --- diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts index 7c90dac99822..dc7d73b02b76 100644 --- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts +++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts @@ -59,3 +59,22 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; }; + +&i2c3 { + status = "okay"; + + eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + pagesize = <16>; + }; +}; + +&i2c7 { + status = "okay"; + + lm75@4d { + compatible = "national,lm75"; + reg = <0x4d>; + }; +};