X-Git-Url: https://git.archive.openwrt.org/?p=15.05%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FW502U.dts;h=6d3282ea6453d146a7d00792c6a7ad5b99170eb2;hp=cdef2fb4f68331bfbb998f4b7cb7e55de7bf10f7;hb=HEAD;hpb=8fb3d4d8cf42b72617b6845102ffa0e784ab2829 diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index cdef2fb4f6..6d3282ea64 100644 --- a/target/linux/ramips/dts/W502U.dts +++ b/target/linux/ramips/dts/W502U.dts @@ -6,23 +6,16 @@ compatible = "W502U", "ralink,rt3052-soc"; model = "ALFA Networks W502U"; - memorydetect { - ralink,memory = <0x0 0x200000 0x4000000>; - }; - chosen { - bootargs = "console=ttyS0,115200 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,7872k@0x50000(firmware)"; + bootargs = "console=ttyS0,115200"; }; - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - gpio0: gpio@600 { - status = "okay"; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; }; @@ -60,14 +53,17 @@ }; ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&factory 0x28>; }; esw@10110000 { - status = "okay"; ralink,portmap = <0x3e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; usb { @@ -97,10 +93,6 @@ }; }; - wmac@10180000 { - status = "okay"; - }; - otg@101c0000 { status = "okay"; };