X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FW502U.dts;h=739817022b4b21b8552101686aaa21141d67c087;hb=51bca43f39f0d53ef4b5facd5484347655255b12;hp=8afe74196fd9937947c40e1bf34172fbfc9f8009;hpb=553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index 8afe74196f..739817022b 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"; @@ -10,15 +10,6 @@ bootargs = "console=ttyS0,115200"; }; - pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; - }; - }; - }; - cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; @@ -51,28 +42,16 @@ }; }; - ethernet@10100000 { - mtd-mac-address = <&factory 0x28>; - }; - - esw@10110000 { - ralink,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>; }; }; @@ -95,8 +74,29 @@ linux,code = <0x211>; }; }; +}; - otg@101c0000 { - status = "okay"; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; }; + +ðernet { + mtd-mac-address = <&factory 0x28>; +}; + +&esw { + mediatek,portmap = <0x3e>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; +}; + +&otg { + status = "okay"; +};