5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,nbg-419n-v2", "ralink,rt3352-soc";
10 model = "ZyXEL NBG-419N v2";
13 led-status = &led_power;
22 compatible = "jedec,spi-nor";
24 spi-max-frequency = <10000000>;
34 reg = <0x30000 0x10000>;
38 factory: partition@40000 {
40 reg = <0x40000 0x10000>;
46 reg = <0x50000 0x7b0000>;
53 compatible = "gpio-leds";
56 label = "nbg-419n2:green:power";
57 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
61 label = "nbg-419n2:green:wps";
62 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
66 label = "nbg-419n2:green:usb";
67 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
72 compatible = "gpio-keys-polled";
76 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RESTART>;
81 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
86 linux,input-type = <EV_SW>;
87 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
88 linux,code = <KEY_RFKILL>;
95 state_default: pinctrl0 {
97 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
98 ralink,function = "gpio";
104 mtd-mac-address = <&factory 0x28>;
108 mediatek,portmap = <0x2f>;
112 ralink,mtd-eeprom = <&factory 0>;