]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: ast2600evb: Enable i2c buses
authorJoel Stanley <joel@jms.id.au>
Wed, 16 Oct 2019 04:08:11 +0000 (14:38 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 7 Nov 2019 10:53:38 +0000 (21:23 +1030)
With the exception of i2c10 and i2c11 which conflict with the pins
for the third and forth MDIO controllers.

i2c0 has an ADT7490 fan controller/thermal monitor device connected. The
devicetree describes an adt74490 on i2c0, however bus that it appears on
depends on jumper settings, so it may not be present on all EVBs. It is
included to assist testing of I2C.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-ast2600-evb.dts

index 47afc71ed0dee271ac55845525e3f198c290cdca..4afa8662c4e8b22601219f6642d6ef41c340249d 100644 (file)
@@ -152,3 +152,64 @@ &uart5 {
        // Workaround for A0
        compatible = "snps,dw-apb-uart";
 };
+
+&i2c0 {
+       status = "okay";
+
+       temp@2e {
+               compatible = "adi,adt7490";
+               reg = <0x2e>;
+       };
+};
+
+&i2c1 {
+       status = "okay";
+};
+
+&i2c2 {
+       status = "okay";
+};
+
+&i2c3 {
+       status = "okay";
+};
+
+&i2c4 {
+       status = "okay";
+};
+
+&i2c5 {
+       status = "okay";
+};
+
+&i2c6 {
+       status = "okay";
+};
+
+&i2c7 {
+       status = "okay";
+};
+
+&i2c8 {
+       status = "okay";
+};
+
+&i2c9 {
+       status = "okay";
+};
+
+&i2c12 {
+       status = "okay";
+};
+
+&i2c13 {
+       status = "okay";
+};
+
+&i2c14 {
+       status = "okay";
+};
+
+&i2c15 {
+       status = "okay";
+};