1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,keenetic-start", "ralink,rt5350-soc";
10 model = "ZyXEL Keenetic Start";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = ðernet;
21 compatible = "gpio-leds";
24 label = "green:power";
25 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
29 label = "green:internet";
30 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
83 compatible = "fixed-layout";
87 eeprom_factory_0: eeprom@0 {
91 macaddr_factory_28: macaddr@28 {
98 compatible = "denx,uimage";
100 reg = <0x50000 0x3b0000>;
108 groups = "i2c", "jtag", "uartf";
114 nvmem-cells = <&macaddr_factory_28>;
115 nvmem-cell-names = "mac-address";
119 mediatek,portmap = <0x2f>;
120 mediatek,led_polarity = <0x17>;
124 ralink,led-polarity = <1>;
125 nvmem-cells = <&eeprom_factory_0>;
126 nvmem-cell-names = "eeprom";