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 led-status = &led_power;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
23 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
39 factory: partition@40000 {
41 reg = <0x40000 0x10000>;
47 reg = <0x50000 0x3b0000>;
53 compatible = "gpio-leds";
56 label = "kn:green:power";
57 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
61 label = "kn:green:usb";
62 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
66 label = "kn:green:wps";
67 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
72 compatible = "gpio-keys-polled";
77 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_RESTART>;
83 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
84 linux,code = <KEY_RFKILL>;
85 linux,input-type = <EV_SW>;
90 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_WPS_BUTTON>;
97 state_default: pinctrl0 {
99 ralink,group = "uartf";
100 ralink,function = "gpio";
106 mtd-mac-address = <&factory 0x28>;
110 mediatek,portmap = <0x2f>;
114 ralink,mtd-eeprom = <&factory 0>;