1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,keenetic-lite-b", "ralink,rt5350-soc";
10 model = "ZyXEL Keenetic Lite Rev.B";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "green:power";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys";
38 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <60000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0x7b0000>;
98 nvmem-cells = <&macaddr_factory_28>;
99 nvmem-cell-names = "mac-address";
103 mediatek,portmap = <0x2f>;
104 mediatek,led_polarity = <0x17>;
108 ralink,led-polarity = <1>;
109 ralink,mtd-eeprom = <&factory 0x0>;
113 compatible = "nvmem-cells";
114 #address-cells = <1>;
117 macaddr_factory_28: macaddr@28 {