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>
10 led-boot = &led_status_red;
11 led-failsafe = &led_status_red;
12 led-running = &led_status_blue;
13 led-upgrade = &led_status_red;
17 compatible = "gpio-keys";
20 label = "Reset Button";
21 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
25 touch { /* RH6015C touch sensor -> GPIO 14 */
26 label = "Touch Button";
27 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
32 label = "Turbo Button";
33 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
45 compatible = "gpio-leds";
47 led_status_blue: status_blue {
49 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
52 led_status_red: status_red {
54 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
58 label = "blue:wifi2g";
59 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <40000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
101 compatible = "denx,uimage";
103 reg = <0x50000 0xeb0000>;
108 reg = <0xf00000 0x100000>;
121 compatible = "mediatek,mt76";
122 reg = <0x0000 0 0 0 0>;
123 mediatek,mtd-eeprom = <&factory 0x0>;
129 compatible = "mediatek,mt76";
130 reg = <0x0000 0 0 0 0>;
131 mediatek,mtd-eeprom = <&factory 0x8000>;
136 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
140 nvmem-cells = <&macaddr_factory_e000>;
141 nvmem-cell-names = "mac-address";
165 nvmem-cells = <&macaddr_factory_e006>;
166 nvmem-cell-names = "mac-address";
173 groups = "rgmii2", "jtag", "wdt";
183 compatible = "nvmem-cells";
184 #address-cells = <1>;
187 macaddr_factory_e000: macaddr@e000 {
191 macaddr_factory_e006: macaddr@e006 {