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-4g-b", "ralink,rt5350-soc";
10 model = "ZyXEL Keenetic 4G 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 7 GPIO_ACTIVE_HIGH>;
33 label = "green:reserved";
34 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
38 label = "green:internet";
39 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
44 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
50 compatible = "gpio-keys";
54 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
60 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <30000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 macaddr_factory_28: macaddr@28 {
112 compatible = "denx,uimage";
114 reg = <0x50000 0x7b0000>;
128 nvmem-cells = <&macaddr_factory_28>;
129 nvmem-cell-names = "mac-address";
133 mediatek,portmap = <0x2f>;
134 mediatek,led_polarity = <0x17>;
138 ralink,led-polarity = <1>;
139 nvmem-cells = <&eeprom_factory_0>;
140 nvmem-cell-names = "eeprom";