5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,keenetic", "ralink,rt3052-soc";
10 model = "ZyXEL Keenetic";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x3b0000>;
45 compatible = "gpio-leds";
48 label = "kn:green:power";
49 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
53 label = "kn:green:usb";
54 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
58 label = "kn:green:wps";
59 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys-polled";
71 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART>;
77 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
78 linux,code = <KEY_RFKILL>;
79 linux,input-type = <EV_SW>;
84 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_WPS_BUTTON>;
91 state_default: pinctrl0 {
93 ralink,group = "uartf";
94 ralink,function = "gpio";
100 mtd-mac-address = <&factory 0x28>;
104 mediatek,portmap = <0x2f>;
108 ralink,mtd-eeprom = <&factory 0>;