X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FXDXRN502J.dts;h=d7ca6cdf18af4d48f246354a57d6ceaf93a6f611;hb=623622c9e4263d7f8b7cf603182f443c31e4fe1d;hp=3df097cde71023362e2c7ab8a1057c1da859f11c;hpb=5d772fb05af1af8abb503bb6a4336cf9b535c441;p=openwrt.git diff --git a/target/linux/ramips/dts/XDXRN502J.dts b/target/linux/ramips/dts/XDXRN502J.dts index 3df097cde7..d7ca6cdf18 100644 --- a/target/linux/ramips/dts/XDXRN502J.dts +++ b/target/linux/ramips/dts/XDXRN502J.dts @@ -6,16 +6,12 @@ compatible = "XDXRN502J", "ralink,rt3052-soc"; model = "XDX RN502J"; - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii"; - ralink,gpiomux = "mdio"; - 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"; + }; }; }; @@ -53,14 +49,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"; wifi { @@ -80,15 +79,11 @@ poll-interval = <20>; reset { label = "reset"; - gpios = <&gpio0 12 1>; + gpios = <&gpio0 10 1>; linux,code = <0x198>; }; }; - wmac@10180000 { - status = "okay"; - }; - otg@101c0000 { status = "okay"; };