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>;
32 reg = <0x30000 0x10000>;
36 factory: partition@40000 {
38 reg = <0x40000 0x10000>;
44 reg = <0x50000 0x3b0000>;
49 compatible = "gpio-leds";
52 label = "kn:green:power";
53 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
57 label = "kn:green:usb";
58 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
62 label = "kn:green:wps";
63 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-keys-polled";
75 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
81 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
82 linux,code = <KEY_RFKILL>;
83 linux,input-type = <EV_SW>;
88 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_WPS_BUTTON>;
95 state_default: pinctrl0 {
97 ralink,group = "uartf";
98 ralink,function = "gpio";
104 mtd-mac-address = <&factory 0x28>;
108 mediatek,portmap = <0x2f>;
112 ralink,mtd-eeprom = <&factory 0>;