X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FNBG-419N.dts;h=59ab665da711f80a3aa3b12547748fdfe7a389ee;hb=a34f96d6cf80c7c3c425076714d9c4caa67e3670;hp=07c5b3c35683fa8bf8b7a2644d86bbd0920d8a04;hpb=5b437e204f2a5cf086c67b52b3751ba414ec6597;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts index 07c5b3c356..59ab665da7 100644 --- a/target/linux/ramips/dts/NBG-419N.dts +++ b/target/linux/ramips/dts/NBG-419N.dts @@ -1,24 +1,14 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" / { compatible = "NBG-419N", "ralink,rt3052-soc"; model = "ZyXEL NBG-419N"; - 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>; @@ -48,20 +38,14 @@ }; }; - ethernet@10100000 { - mtd-mac-address = <&factory 0x4>; - }; - - esw@10110000 { - ralink,portmap = <0x2f>; - }; - 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>; @@ -73,11 +57,13 @@ #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>; @@ -85,3 +71,24 @@ }; }; }; + +&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 = <0x2f>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; +};