3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "zyxel,keenetic", "ralink,rt3052-soc";
9 model = "ZyXEL Keenetic";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
43 reg = <0x40000 0x10000>;
47 compatible = "fixed-layout";
51 eeprom_factory_0: eeprom@0 {
55 macaddr_factory_28: macaddr@28 {
62 compatible = "denx,uimage";
64 reg = <0x50000 0x7b0000>;
70 compatible = "gpio-leds";
73 function = LED_FUNCTION_POWER;
74 color = <LED_COLOR_ID_GREEN>;
75 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
79 function = LED_FUNCTION_USB;
80 color = <LED_COLOR_ID_GREEN>;
81 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
82 trigger-sources = <&otg_port1>;
83 linux,default-trigger = "usbport";
87 function = LED_FUNCTION_WPS;
88 color = <LED_COLOR_ID_GREEN>;
89 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
94 compatible = "gpio-keys-polled";
99 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_RESTART>;
105 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
106 linux,code = <KEY_RFKILL>;
107 linux,input-type = <EV_SW>;
112 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
113 linux,code = <KEY_WPS_BUTTON>;
126 nvmem-cells = <&macaddr_factory_28>;
127 nvmem-cell-names = "mac-address";
131 mediatek,portmap = <0x2f>;
135 nvmem-cells = <&eeprom_factory_0>;
136 nvmem-cell-names = "eeprom";