X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7628an_tplink_tl-wr841n-v14.dts;h=9731008aea1c22f6d6cee1c129df8c9c5174bca2;hb=a66449c60893a168fa0c13a29127d29314b2e348;hp=6e12361ec9788cd9bccfa66bcee8d60f18f4a4e2;hpb=b97a99256fe54e81c8fc6c60183f46fbf731bbf8;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts index 6e12361ec9..9731008aea 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts @@ -22,18 +22,12 @@ bootargs = "console=ttyS0,115200"; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - keys { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + compatible = "gpio-keys"; reset { label = "reset"; - gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + gpios = <&gpio 38 GPIO_ACTIVE_LOW>; linux,code = ; }; }; @@ -43,23 +37,23 @@ lan { label = "tl-wr841n-v14:green:lan"; - gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; + gpios = <&gpio 39 GPIO_ACTIVE_LOW>; }; wan_green { label = "tl-wr841n-v14:green:wan"; - gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + gpios = <&gpio 40 GPIO_ACTIVE_LOW>; }; led_wlan: wlan { label = "tl-wr841n-v14:green:wlan"; - gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + gpios = <&gpio 41 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; }; wan_orange { label = "tl-wr841n-v14:orange:wan"; - gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; + gpios = <&gpio 42 GPIO_ACTIVE_LOW>; }; }; }; @@ -71,7 +65,6 @@ compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; - m25p,chunked-io = <32>; partitions { compatible = "fixed-partitions"; @@ -109,28 +102,29 @@ &wmac { status = "okay"; + mtd-mac-address = <&factory 0xf100>; - mediatek,mtd-eeprom = <&factory 0x10000>; }; ðernet { mtd-mac-address = <&factory 0xf100>; - mediatek,portmap = "wllll"; }; -&pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "p4led_an", "p3led_an", "p2led_an", "p1led_an", "p0led_an", "wdt"; - ralink,function = "gpio"; - }; +&esw { + mediatek,portmap = <0x3e>; +}; + +&state_default { + gpio { + groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an", "p0led_an", "wdt"; + function = "gpio"; }; }; -&gpio1 { +&gpio { led_wlan_enable { gpio-hog; - gpios = <11 GPIO_ACTIVE_HIGH>; + gpios = <43 GPIO_ACTIVE_HIGH>; output-high; }; };