X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FW502U.dts;h=e95cf53d329f70a08bd77ba858870ac59166d334;hp=af448eb7b17b71704cfe42cf236d60cf35dcb4a6;hb=2a522a9142cb41495ec6e8a4bfe75fee11145913;hpb=3abc0eadb05b27d1def40e93d07fc51f72be11c1 diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index af448eb7b1..e95cf53d32 100644 --- a/target/linux/ramips/dts/W502U.dts +++ b/target/linux/ramips/dts/W502U.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" / { compatible = "W502U", "ralink,rt3052-soc"; @@ -22,7 +22,6 @@ cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -57,17 +56,23 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; + }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; }; gpio-leds { compatible = "gpio-leds"; + usb { - label = "alfa:blue:usb"; + label = "w502u:blue:usb"; gpios = <&gpio0 13 1>; }; + wps { - label = "alfa:blue:wps"; + label = "w502u:blue:wps"; gpios = <&gpio0 14 1>; }; }; @@ -77,11 +82,13 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 1>; linux,code = <0x198>; }; + wps { label = "wps"; gpios = <&gpio0 0 1>;