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 = "iptime,a8004t", "mediatek,mt7621-soc";
10 model = "ipTIME A8004T";
14 led-failsafe = &led_cpu;
15 led-running = &led_cpu;
16 led-upgrade = &led_cpu;
20 compatible = "gpio-leds";
24 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
28 label = "orange:wlan2g";
29 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy0radio";
34 label = "orange:wlan5g";
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy1radio";
41 compatible = "gpio-keys";
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_WPS_BUTTON>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <50000000>;
66 compatible = "fixed-partitions";
78 reg = <0x20000 0x10000>;
82 factory: partition@30000 {
84 reg = <0x30000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x40000 0xfc0000>;
98 nvmem-cells = <&macaddr_uboot_1fc20>;
99 nvmem-cell-names = "mac-address";
105 phy-handle = <ðphy0>;
107 nvmem-cells = <&macaddr_uboot_1fc40>;
108 nvmem-cell-names = "mac-address";
112 ethphy0: ethernet-phy@0 {
147 compatible = "mediatek,mt76";
148 reg = <0x0000 0 0 0 0>;
149 mediatek,mtd-eeprom = <&factory 0x0000>;
150 ieee80211-freq-limit = <2400000 2500000>;
156 compatible = "mediatek,mt76";
157 reg = <0x0000 0 0 0 0>;
158 mediatek,mtd-eeprom = <&factory 0x8000>;
159 ieee80211-freq-limit = <5000000 6000000>;
165 groups = "wdt", "jtag", "i2c";
171 compatible = "nvmem-cells";
172 #address-cells = <1>;
175 macaddr_uboot_1fc20: macaddr@1fc20 {
179 macaddr_uboot_1fc40: macaddr@1fc40 {