3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zyxel,nbg-419n-v2", "ralink,rt3352-soc";
8 model = "ZyXEL NBG-419N v2";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "green:power";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&ohci_port1>, <&ehci_port1>;
34 linux,default-trigger = "usbport";
39 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
48 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
53 linux,input-type = <EV_SW>;
54 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
55 linux,code = <KEY_RFKILL>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
91 compatible = "fixed-layout";
95 eeprom_factory_0: eeprom@0 {
99 macaddr_factory_28: macaddr@28 {
106 compatible = "denx,uimage";
108 reg = <0x50000 0x7b0000>;
116 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
122 nvmem-cells = <&macaddr_factory_28>;
123 nvmem-cell-names = "mac-address";
127 mediatek,portmap = <0x2f>;
131 nvmem-cells = <&eeprom_factory_0>;
132 nvmem-cell-names = "eeprom";