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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
49 compatible = "denx,uimage";
51 reg = <0x50000 0x3b0000>;
57 compatible = "gpio-leds";
60 label = "kn:green:power";
61 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
65 label = "kn:green:usb";
66 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
67 trigger-sources = <&otg_port1>;
68 linux,default-trigger = "usbport";
72 label = "kn:green:wps";
73 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
78 compatible = "gpio-keys-polled";
83 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_RESTART>;
89 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
90 linux,code = <KEY_RFKILL>;
91 linux,input-type = <EV_SW>;
96 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_WPS_BUTTON>;
103 state_default: pinctrl0 {
105 ralink,group = "uartf";
106 ralink,function = "gpio";
112 mtd-mac-address = <&factory 0x28>;
116 mediatek,portmap = <0x2f>;
120 ralink,mtd-eeprom = <&factory 0>;