diff options
Diffstat (limited to 'target/linux/ramips/dts/AIR3GII.dts')
-rw-r--r-- | target/linux/ramips/dts/AIR3GII.dts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/AIR3GII.dts b/target/linux/ramips/dts/AIR3GII.dts index e9c1434734..042037559a 100644 --- a/target/linux/ramips/dts/AIR3GII.dts +++ b/target/linux/ramips/dts/AIR3GII.dts @@ -2,10 +2,11 @@ #include "rt5350.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "AIR3GII", "ralink,rt5350-soc"; + compatible = "airlive,air3gii", "ralink,rt5350-soc"; model = "AirLive Air3GII"; gpio-leds { @@ -13,12 +14,12 @@ wlan { label = "air3gii:green:wlan"; - gpios = <&gpio0 8 0>; + gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; }; mobile { label = "air3gii:green:mobile"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; }; @@ -30,7 +31,7 @@ wps { label = "wps"; - gpios = <&gpio0 7 1>; + gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; linux,code = <KEY_WPS_BUTTON>; }; }; |