X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FWL-341V3.dts;h=e8b6d689de4dec5206c9d811fd9251bda95e090c;hb=1eb1916c5feec6108990d020f0ab0a184d715974;hp=47226b47d9fd0fee064c399c34fde2ce73995ae1;hpb=f8b6c9d82599d29e3d09185e3a190fc4d145e5ea;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/ramips/dts/WL-341V3.dts b/target/linux/ramips/dts/WL-341V3.dts index 47226b47d9..e8b6d689de 100644 --- a/target/linux/ramips/dts/WL-341V3.dts +++ b/target/linux/ramips/dts/WL-341V3.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include + / { compatible = "WL-341V3", "ralink,rt3052-soc"; model = "Sitecom WL-341 v3"; @@ -38,27 +40,6 @@ }; }; - pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; - }; - }; - }; - - ethernet@10100000 { - mtd-mac-address = <&boardnvram 0xffa0>; - }; - - esw@10110000 { - mediatek,portmap = <0x3e>; - }; - - wmac@10180000 { - ralink,mtd-eeprom = <&boardnvram 0xfd70>; - }; - gpio-leds { compatible = "gpio-leds"; @@ -107,17 +88,38 @@ reset { label = "reset"; gpios = <&gpio0 7 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 5 1>; - linux,code = <0x211>; + linux,code = ; }; }; +}; - otg@101c0000 { - status = "okay"; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; }; + +ðernet { + mtd-mac-address = <&boardnvram 0xffa0>; +}; + +&esw { + mediatek,portmap = <0x3e>; +}; + +&wmac { + ralink,mtd-eeprom = <&boardnvram 0xfd70>; +}; + +&otg { + status = "okay"; +};