ath79: GL-AR300M series: Add I2C Support
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9531_glinet_gl-ar300m.dtsi
index 267f2f478fcfb42b4256b93d5c4ce367417bcd0d..b72aa65522df6381ccb968d49a097c84d7b0eec2 100644 (file)
                        linux,default-trigger = "phy0tpt";
                };
        };
+
+       i2c: i2c {
+               compatible = "i2c-gpio";
+
+               sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
+               scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
+       };
 };
 
 &pcie0 {