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";
14 bootargs = "console=ttyS0,57600";
19 led-failsafe = &led_cpu;
20 led-running = &led_cpu;
21 led-upgrade = &led_cpu;
25 compatible = "gpio-leds";
28 label = "a8004t:orange:cpu";
29 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
33 label = "a8004t:orange:wlan2g";
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0radio";
39 label = "a8004t:orange:wlan5g";
40 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy1radio";
46 compatible = "gpio-keys";
50 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <80000000>;
72 compatible = "fixed-partitions";
84 reg = <0x20000 0x10000>;
88 factory: partition@30000 {
90 reg = <0x30000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x40000 0xfc0000>;
104 mtd-mac-address = <&uboot 0x1fc20>;
113 compatible = "mediatek,mt76";
114 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x0000>;
116 ieee80211-freq-limit = <2400000 2500000>;
122 compatible = "mediatek,mt76";
123 reg = <0x0000 0 0 0 0>;
124 mediatek,mtd-eeprom = <&factory 0x8000>;
125 ieee80211-freq-limit = <5000000 6000000>;
131 groups = "wdt", "jtag", "i2c";