summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-10-04 09:49:14 +0300
committerJoel Stanley <joel@jms.id.au>2017-10-05 07:36:27 +0300
commite6aa3ef8da1f1de5ef6f29ba494fa27440ef3a70 (patch)
treedae171c4ce864f7886f7dba37fad35947a999b65
parent2dfa70571e34c9d29fa891e5c3963322d130f53d (diff)
downloadlinux-e6aa3ef8da1f1de5ef6f29ba494fa27440ef3a70.tar.xz
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 <brendanhiggins@google.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed-ast2500-evb.dts19
1 files changed, 19 insertions, 0 deletions
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>;
+ };
+};