X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FNBG-419N.dts;h=1a826bdf4fe04243ab60814556cfad62df51dda3;hb=752906f0acb4654a52f470fd0533ee348c421611;hp=532c97aa911e1c6d4183f4be1051d48370842b48;hpb=af6f122ebdc85469a44781f807b7a808190792aa;p=openwrt.git diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts index 532c97aa91..1a826bdf4f 100644 --- a/target/linux/ramips/dts/NBG-419N.dts +++ b/target/linux/ramips/dts/NBG-419N.dts @@ -6,23 +6,12 @@ compatible = "NBG-419N", "ralink,rt3052-soc"; model = "ZyXEL NBG-419N"; - memorydetect { - ralink,memory = <0x0 0x200000 0x4000000>; - }; - - chosen { - bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)"; - }; - - 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 +49,17 @@ }; ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&factory 0x28>; }; esw@10110000 { - status = "okay"; ralink,portmap = <0x2f>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-leds { compatible = "gpio-leds"; power { @@ -96,8 +88,4 @@ linux,code = <0x211>; }; }; - - wmac@10180000 { - status = "okay"; - }; };