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;
20 compatible = "jedec,spi-nor";
22 spi-max-frequency = <10000000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
49 reg = <0x50000 0x7b0000>;
57 compatible = "gpio-leds";
60 label = "nbg-419n2:green:power";
61 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
65 label = "nbg-419n2:green:wps";
66 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
70 label = "nbg-419n2:green:usb";
71 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
76 compatible = "gpio-keys-polled";
80 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_RESTART>;
85 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_WPS_BUTTON>;
90 linux,input-type = <EV_SW>;
91 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
92 linux,code = <KEY_RFKILL>;
99 state_default: pinctrl0 {
101 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x28>;
112 mediatek,portmap = <0x2f>;
116 ralink,mtd-eeprom = <&factory 0>;