X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FDIR-620-A1.dts;h=df38f02c445cde31fcacc4112c2afa43c9825be2;hp=070edafde1dccf02bd7a0ffdfe18dbac64bd1b1c;hb=2a522a9142cb41495ec6e8a4bfe75fee11145913;hpb=699073bdcb34695af6419df7bb052432770d2ce4 diff --git a/target/linux/ramips/dts/DIR-620-A1.dts b/target/linux/ramips/dts/DIR-620-A1.dts index 070edafde1..df38f02c44 100644 --- a/target/linux/ramips/dts/DIR-620-A1.dts +++ b/target/linux/ramips/dts/DIR-620-A1.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" / { compatible = "DIR-620-A1", "ralink,rt3050-soc"; @@ -18,7 +18,6 @@ cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -53,7 +52,11 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; + }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; }; gpio-keys-polled { @@ -61,11 +64,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>; @@ -75,28 +80,34 @@ gpio-leds { compatible = "gpio-leds"; + status { - label = "d-link:amber:status"; + label = "dir-620-a1:amber:status"; gpios = <&gpio0 8 1>; }; + status2 { - label = "d-link:green:status"; + label = "dir-620-a1:green:status"; gpios = <&gpio0 9 1>; }; + wan { - label = "d-link:amber:wan"; + label = "dir-620-a1:amber:wan"; gpios = <&gpio0 14 1>; }; + wan2 { - label = "d-link:green:wan"; + label = "dir-620-a1:green:wan"; gpios = <&gpio0 12 1>; }; + wps { - label = "d-link:blue:wps"; + label = "dir-620-a1:blue:wps"; gpios = <&gpio0 13 0>; }; + wps2 { - label = "d-link:amber:wps"; + label = "dir-620-a1:amber:wps"; gpios = <&gpio0 11 0>; }; };