ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928
[openwrt/openwrt.git] / target / linux / ramips / dts / CARAMBOLA.dts
index e38c49f9574f6a2a3e8cb6a13f84306a2849884f..908770977dde2249eb22e8b8caa198c064e11a51 100644 (file)
@@ -2,8 +2,11 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
 / {
-       compatible = "CARAMBOLA", "ralink,rt3050-soc";
+       compatible = "8devices,carambola", "ralink,rt3050-soc";
        model = "8devices Carambola";
 
        chosen {
@@ -44,7 +47,7 @@
 
        i2c-gpio {
                compatible = "i2c-gpio";
-               gpios = <&gpio0 1 0 &gpio0 2 0>;
+               gpios = <&gpio0 1 GPIO_ACTIVE_HIGH &gpio0 2 GPIO_ACTIVE_HIGH>;
                i2c-gpio,delay-us = <10>;
        };
 };