ath79: jj76pf2: enable TCN75 sensor
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7161_jjplus_ja76pf2.dts
index 4ee99432d4da8ca4b8758602fa425afa3f93d810..8e861bad48ab11f380922e83efd0684e80c350b3 100644 (file)
                clock-frequency = <40000000>;
        };
 
+       i2c {
+               compatible = "i2c-gpio";
+               sda-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               sensor@48 {
+                       compatible = "microchip,tcn75";
+                       reg = <0x48>;
+               };
+       };
+
        leds {
                compatible = "gpio-leds";