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";
76 compatible = "fixed-layout";
80 macaddr_uboot_1fc20: macaddr@1fc20 {
84 macaddr_uboot_1fc40: macaddr@1fc40 {
92 reg = <0x20000 0x10000>;
96 factory: partition@30000 {
98 reg = <0x30000 0x10000>;
102 compatible = "fixed-layout";
103 #address-cells = <1>;
106 eeprom_factory_0: eeprom@0 {
110 eeprom_factory_8000: eeprom@8000 {
111 reg = <0x8000 0x4da8>;
117 compatible = "denx,uimage";
119 reg = <0x40000 0xfc0000>;
126 nvmem-cells = <&macaddr_uboot_1fc20>;
127 nvmem-cell-names = "mac-address";
133 phy-handle = <ðphy0>;
135 nvmem-cells = <&macaddr_uboot_1fc40>;
136 nvmem-cell-names = "mac-address";
140 ethphy0: ethernet-phy@0 {
175 compatible = "mediatek,mt76";
176 reg = <0x0000 0 0 0 0>;
177 nvmem-cells = <&eeprom_factory_0>;
178 nvmem-cell-names = "eeprom";
179 ieee80211-freq-limit = <2400000 2500000>;
185 compatible = "mediatek,mt76";
186 reg = <0x0000 0 0 0 0>;
187 nvmem-cells = <&eeprom_factory_8000>;
188 nvmem-cell-names = "eeprom";
189 ieee80211-freq-limit = <5000000 6000000>;
195 groups = "wdt", "jtag", "i2c";