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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "nbg-419n2:green:power";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 label = "nbg-419n2:green:wps";
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
33 label = "nbg-419n2:green:usb";
34 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&ohci_port1>, <&ehci_port1>;
36 linux,default-trigger = "usbport";
41 compatible = "gpio-keys-polled";
45 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
50 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
55 linux,input-type = <EV_SW>;
56 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
57 linux,code = <KEY_RFKILL>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x50000 0x7b0000>;
104 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
110 mtd-mac-address = <&factory 0x28>;
114 mediatek,portmap = <0x2f>;
118 ralink,mtd-eeprom = <&factory 0x0>;