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

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-romulus.dts

index 1190fec1b5d023d44039439da04c53afd56cc1bf..8b96baf7c4de25e1019da864f08a048741a8466f 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_rmii1_default>;
 };
+
+&i2c2 {
+       status = "okay";
+};
+
+&i2c3 {
+       status = "okay";
+};
+
+&i2c4 {
+       status = "okay";
+};
+
+&i2c5 {
+       status = "okay";
+};
+
+&i2c6 {
+       /* PCIe slot 1 (x8) */
+       status = "okay";
+};
+
+&i2c7 {
+       /* PCIe slot 2 (x16) */
+       status = "okay";
+};
+
+&i2c8 {
+       /* PCIe slot 3 (x16) */
+       status = "okay";
+};
+
+&i2c9 {
+       /* PCIe slot 4 (x16) */
+       status = "okay";
+};
+
+&i2c10 {
+       /* PCIe slot 5 (x8) */
+       status = "okay";
+};
+
+&i2c11 {
+       status = "okay";
+
+       rtc@32 {
+               compatible = "epson,rx8900";
+               reg = <0x32>;
+       };
+};
+
+&i2c12 {
+       status = "okay";
+};