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>;
63 trigger-sources = <&otg_port1>;
64 linux,default-trigger = "usbport";
68 label = "kn:green:wps";
69 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-keys-polled";
79 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_RESTART>;
85 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
86 linux,code = <KEY_RFKILL>;
87 linux,input-type = <EV_SW>;
92 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
93 linux,code = <KEY_WPS_BUTTON>;
99 state_default: pinctrl0 {
101 ralink,group = "uartf";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x28>;
112 mediatek,portmap = <0x2f>;
116 ralink,mtd-eeprom = <&factory 0>;