X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FRT-N14U.dts;h=8ae4580b9b43c6562728cfc709453fafcf445a5d;hb=aa82141d9be0bbac5bf7c8b82fe1b1581e679587;hp=9126f79efcc9c0f265628847d3366abefab7ac11;hpb=9195d8da355d0d141ac02c9a5269452dc64ffd2d;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/RT-N14U.dts b/target/linux/ramips/dts/RT-N14U.dts index 9126f79efc..8ae4580b9b 100644 --- a/target/linux/ramips/dts/RT-N14U.dts +++ b/target/linux/ramips/dts/RT-N14U.dts @@ -2,6 +2,9 @@ #include "mt7620n.dtsi" +#include +#include + / { compatible = "asus,rt-n14u", "ralink,mt7620n-soc"; model = "Asus RT-N14U"; @@ -11,27 +14,27 @@ wan { label = "rt-n14u:blue:wan"; - gpios = <&gpio2 0 1>; + gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; }; lan { label = "rt-n14u:blue:lan"; - gpios = <&gpio2 1 1>; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; }; usb { label = "rt-n14u:blue:usb"; - gpios = <&gpio2 2 1>; + gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; }; power { label = "rt-n14u:blue:power"; - gpios = <&gpio2 3 1>; + gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; }; air { label = "rt-n14u:blue:air"; - gpios = <&gpio3 0 1>; + gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; }; @@ -43,14 +46,14 @@ reset { label = "reset"; - gpios = <&gpio0 1 1>; - linux,code = <0x198>; + gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; + linux,code = ; }; wps { label = "wps"; - gpios = <&gpio0 2 1>; - linux,code = <0x211>; + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; + linux,code = ; }; }; }; @@ -70,8 +73,7 @@ #address-cells = <1>; #size-cells = <1>; compatible = "jedec,spi-nor"; - reg = <0 0>; - linux,modalias = "m25p80", "w25q128"; + reg = <0>; spi-max-frequency = <10000000>; partition@0 {