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,a3004ns-dual", "mediatek,mt7621-soc";
10 model = "ipTIME A3004NS-dual";
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>;
29 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&xhci_ehci_port1>;
31 linux,default-trigger = "usbport";
36 compatible = "gpio-keys";
40 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <50000000>;
61 compatible = "fixed-partitions";
66 compatible = "nvmem-cells";
73 macaddr_uboot_1fc20: macaddr@1fc20 {
77 macaddr_uboot_1fc40: macaddr@1fc40 {
84 reg = <0x20000 0x10000>;
88 factory: partition@30000 {
89 compatible = "nvmem-cells";
91 reg = <0x30000 0x10000>;
96 eeprom_factory_0: eeprom@0 {
100 eeprom_factory_8000: eeprom@8000 {
101 reg = <0x8000 0x200>;
107 reg = <0x40000 0xfc0000>;
108 compatible = "denx,uimage";
115 nvmem-cells = <&macaddr_uboot_1fc20>;
116 nvmem-cell-names = "mac-address";
122 phy-handle = <ðphy0>;
124 nvmem-cells = <&macaddr_uboot_1fc40>;
125 nvmem-cell-names = "mac-address";
129 ethphy0: ethernet-phy@0 {
164 compatible = "mediatek,mt76";
165 reg = <0x0000 0 0 0 0>;
166 nvmem-cells = <&eeprom_factory_8000>;
167 nvmem-cell-names = "eeprom";
168 ieee80211-freq-limit = <5000000 6000000>;
179 compatible = "mediatek,mt76";
180 reg = <0x0000 0 0 0 0>;
181 nvmem-cells = <&eeprom_factory_0>;
182 nvmem-cell-names = "eeprom";
183 ieee80211-freq-limit = <2400000 2500000>;
194 groups = "wdt", "i2c", "uart3";