X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FNBG-419N.dts;h=50a12cb04c9b3edfdbfc5cc2e1ca46e9340dcfd8;hb=c550ad3d3a70b409a482896a77cfc890823d0221;hp=532c97aa911e1c6d4183f4be1051d48370842b48;hpb=82c3b7ce2669e44619adbdfa9b26113aa12ef2c0;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts index 532c97aa91..50a12cb04c 100644 --- a/target/linux/ramips/dts/NBG-419N.dts +++ b/target/linux/ramips/dts/NBG-419N.dts @@ -6,30 +6,18 @@ 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"; + }; }; }; cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -60,20 +48,25 @@ }; 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 { label = "nbg-419n:green:power"; gpios = <&gpio0 9 1>; }; + wps { label = "nbg-419n:green:wps"; gpios = <&gpio0 14 1>; @@ -85,19 +78,17 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 1>; linux,code = <0x198>; }; + wps { label = "wps"; gpios = <&gpio0 0 1>; linux,code = <0x211>; }; }; - - wmac@10180000 { - status = "okay"; - }; };