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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "iptime,a3002mesh", "mediatek,mt7621-soc";
11 model = "ipTIME A3002MESH";
15 led-failsafe = &led_cpu;
16 led-running = &led_cpu;
17 led-upgrade = &led_cpu;
21 compatible = "gpio-leds";
25 color = <LED_COLOR_ID_AMBER>;
26 function = LED_FUNCTION_CPU;
27 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
31 color = <LED_COLOR_ID_AMBER>;
32 function = LED_FUNCTION_WLAN;
33 function-enumerator = <0>;
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0radio";
39 color = <LED_COLOR_ID_AMBER>;
40 function = LED_FUNCTION_WLAN;
41 function-enumerator = <1>;
42 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy1radio";
48 compatible = "gpio-keys";
52 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <50000000>;
67 compatible = "fixed-partitions";
76 compatible = "nvmem-cells";
80 macaddr_uboot_1fc40: macaddr@1fc40 {
87 reg = <0x20000 0x10000>;
91 factory: partition@30000 {
93 reg = <0x30000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x40000 0xfc0000>;
107 nvmem-cells = <&macaddr_uboot_1fc40>;
108 nvmem-cell-names = "mac-address";
109 mac-address-increment = <(2)>;
117 nvmem-cells = <&macaddr_uboot_1fc40>;
118 nvmem-cell-names = "mac-address";
139 compatible = "mediatek,mt76";
140 reg = <0x0000 0 0 0 0>;
141 mediatek,mtd-eeprom = <&factory 0x0000>;
147 groups = "i2c", "jtag", "wdt";