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

Some of these buses are for hotplugged cards, such as PCIe cards.
Others do not yet have upstream drivers, so there are no devices
attached.

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-bmc-opp-palmetto.dts

index 112551766275c38cfc5831e48d88a5369a05d42b..e387c80b7f4f2257845939a8a0a49ec421e80349 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_rmii1_default>;
 };
+
+&i2c0 {
+       status = "okay";
+
+       eeprom@50 {
+               compatible = "atmel,24c256";
+               reg = <0x50>;
+               pagesize = <64>;
+       };
+
+       rtc@68 {
+               compatible = "dallas,ds3231";
+               reg = <0x68>;
+       };
+};
+
+&i2c1 {
+       status = "okay";
+};
+
+&i2c2 {
+       status = "okay";
+
+       tmp423@4c {
+               compatible = "ti,tmp423";
+               reg = <0x4c>;
+       };
+};
+
+&i2c3 {
+       status = "okay";
+};
+
+&i2c4 {
+       status = "okay";
+};
+
+&i2c5 {
+       status = "okay";
+};
+
+&i2c6 {
+       status = "okay";
+};
+
+&i2c7 {
+       status = "okay";
+};