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";
71 compatible = "nvmem-cells";
78 macaddr_uboot_1fc20: macaddr@1fc20 {
82 macaddr_uboot_1fc40: macaddr@1fc40 {
89 reg = <0x20000 0x10000>;
93 factory: partition@30000 {
94 compatible = "nvmem-cells";
96 reg = <0x30000 0x10000>;
101 eeprom_factory_0: eeprom@0 {
105 eeprom_factory_8000: eeprom@8000 {
106 reg = <0x8000 0x4da8>;
111 compatible = "denx,uimage";
113 reg = <0x40000 0xfc0000>;
120 nvmem-cells = <&macaddr_uboot_1fc20>;
121 nvmem-cell-names = "mac-address";
127 phy-handle = <ðphy0>;
129 nvmem-cells = <&macaddr_uboot_1fc40>;
130 nvmem-cell-names = "mac-address";
134 ethphy0: ethernet-phy@0 {
169 compatible = "mediatek,mt76";
170 reg = <0x0000 0 0 0 0>;
171 nvmem-cells = <&eeprom_factory_0>;
172 nvmem-cell-names = "eeprom";
173 ieee80211-freq-limit = <2400000 2500000>;
179 compatible = "mediatek,mt76";
180 reg = <0x0000 0 0 0 0>;
181 nvmem-cells = <&eeprom_factory_8000>;
182 nvmem-cell-names = "eeprom";
183 ieee80211-freq-limit = <5000000 6000000>;
189 groups = "wdt", "jtag", "i2c";