X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2F3G-6200N.dts;h=a8032c5a78d5acf8f8561b77468174f07651960a;hb=a34f96d6cf80c7c3c425076714d9c4caa67e3670;hp=9f600276e6a3cab0ed886407741a20f0f33ea9e4;hpb=bc7b3109590eeb3182f9d50bf358370f4b7828c1;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts index 9f600276e6..a8032c5a78 100644 --- a/target/linux/ramips/dts/3G-6200N.dts +++ b/target/linux/ramips/dts/3G-6200N.dts @@ -1,28 +1,14 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" / { compatible = "3G-6200N", "ralink,rt3050-soc"; model = "Edimax 3g-6200n"; - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - gpio0: gpio@600 { - status = "okay"; - }; - - }; - cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -58,27 +44,21 @@ }; }; - ethernet@10100000 { - status = "okay"; - }; - - esw@10110000 { - status = "okay"; - ralink,portmap = <0x2f>; - }; - gpio-leds { compatible = "gpio-leds"; + power { - label = "edimax:green:power"; + label = "3g-6200n:green:power"; gpios = <&gpio0 9 1>; }; + wlan { - label = "edimax:amber:wlan"; + label = "3g-6200n:amber:wlan"; gpios = <&gpio0 14 1>; }; + 3g { - label = "edimax:blue:3g"; + label = "3g-6200n:blue:3g"; gpios = <&gpio0 7 1>; }; }; @@ -88,23 +68,42 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; - wps { - label = "wps"; + + reset { + label = "reset"; gpios = <&gpio0 12 1>; - linux,code = <0x211>; + linux,code = <0x198>; }; - wlanswitch { + + rfkill { label = "wlanswitch"; gpios = <&gpio0 13 1>; - linux,code = <0x100>; + linux,code = <0xf7>; }; }; +}; - wmac@10180000 { - status = "okay"; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; +}; - otg@101c0000 { - status = "okay"; - }; +ðernet { + mtd-mac-address = <&factory 0x4>; +}; + +&esw { + mediatek,portmap = <0x2f>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; +}; + +&otg { + status = "okay"; };