X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FW150M.dts;h=49790892cdee0d37b5df5cdfb3744bc5c2b78bf9;hb=282e39b772adea35bd54f3eec54f7acce9656916;hp=94f1960641df4820c2f252b374d88824f9678cde;hpb=5d772fb05af1af8abb503bb6a4336cf9b535c441;p=openwrt.git diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts index 94f1960641..49790892cd 100644 --- a/target/linux/ramips/dts/W150M.dts +++ b/target/linux/ramips/dts/W150M.dts @@ -3,25 +3,21 @@ /include/ "rt3050.dtsi" / { - compatible = "3G300M", "ralink,rt3050-soc"; - model = "Tenda 3G300M"; - - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii", "jtag"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; + compatible = "W150M", "ralink,rt3050-soc"; + model = "Tenda W150M"; - gpio0: gpio@600 { - status = "okay"; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; }; cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -53,28 +49,34 @@ gpio-leds { compatible = "gpio-leds"; + 3grouter { - label = "tenda:blue:3grouter"; + label = "w150m:blue:3grouter"; gpios = <&gpio0 11 1>; }; + ap { - label = "tenda:blue:ap"; + label = "w150m:blue:ap"; gpios = <&gpio0 12 1>; }; + wisprouter { - label = "tenda:blue:wisprouter"; + label = "w150m:blue:wisprouter"; gpios = <&gpio0 9 1>; }; + wirelessrouter { - label = "tenda:blue:wirelessrouter"; + label = "w150m:blue:wirelessrouter"; gpios = <&gpio0 13 1>; }; + 3g { - label = "tenda:blue:3g"; + label = "w150m:blue:3g"; gpios = <&gpio0 7 1>; }; + wpsreset { - label = "tenda:blue:wpsreset"; + label = "w150m:blue:wpsreset"; gpios = <&gpio0 14 1>; }; }; @@ -84,11 +86,13 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 0 1>; linux,code = <0x198>; }; + mode { label = "mode"; gpios = <&gpio0 10 1>; @@ -97,15 +101,14 @@ }; ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&factory 0x4>; }; esw@10110000 { - status = "okay"; - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { - status = "okay"; + ralink,mtd-eeprom = <&factory 0>; }; };