1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "iptime,a8004t", "mediatek,mt7621-soc";
11 model = "ipTIME A8004T";
15 led-failsafe = &led_cpu;
16 led-running = &led_cpu;
17 led-upgrade = &led_cpu;
21 compatible = "gpio-leds";
24 label = "a8004t:orange:cpu";
25 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 label = "a8004t:orange:wlan2g";
30 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy0radio";
35 label = "a8004t:orange:wlan5g";
36 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
37 linux,default-trigger = "phy1radio";
42 compatible = "gpio-keys";
46 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_WPS_BUTTON>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <50000000>;
67 compatible = "fixed-partitions";
79 reg = <0x20000 0x10000>;
83 factory: partition@30000 {
85 reg = <0x30000 0x10000>;
90 compatible = "denx,uimage";
92 reg = <0x40000 0xfc0000>;
99 mtd-mac-address = <&uboot 0x1fc20>;
107 mtd-mac-address = <&uboot 0x1fc40>;
138 compatible = "mediatek,mt76";
139 reg = <0x0000 0 0 0 0>;
140 mediatek,mtd-eeprom = <&factory 0x0000>;
141 ieee80211-freq-limit = <2400000 2500000>;
147 compatible = "mediatek,mt76";
148 reg = <0x0000 0 0 0 0>;
149 mediatek,mtd-eeprom = <&factory 0x8000>;
150 ieee80211-freq-limit = <5000000 6000000>;
156 groups = "wdt", "jtag", "i2c";