ARM: dts: aspeed-ast2500: Add I2C devices
authorJoel Stanley <joel@jms.id.au>
Wed, 4 Oct 2017 06:49:14 +0000 (17:19 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 5 Oct 2017 04:36:27 +0000 (15:06 +1030)
Enable the buses that are in use and the devices that are attached.
Currently that includes temperature measurement and EEPROM.

Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-ast2500-evb.dts

index 7c90dac9982236b75e6a9a9e197291f1864830e4..dc7d73b02b76d14357f32dc65dbb05d65b63890c 100644 (file)
        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>;
+       };
+};