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";
73 reg = <0x20000 0x10000>;
77 factory: partition@30000 {
79 reg = <0x30000 0x10000>;
85 reg = <0x40000 0xfc0000>;
86 compatible = "denx,uimage";
93 nvmem-cells = <&macaddr_uboot_1fc20>;
94 nvmem-cell-names = "mac-address";
100 phy-handle = <ðphy0>;
102 nvmem-cells = <&macaddr_uboot_1fc40>;
103 nvmem-cell-names = "mac-address";
107 ethphy0: ethernet-phy@0 {
142 compatible = "mediatek,mt76";
143 reg = <0x0000 0 0 0 0>;
144 mediatek,mtd-eeprom = <&factory 0x8000>;
145 ieee80211-freq-limit = <5000000 6000000>;
156 compatible = "mediatek,mt76";
157 reg = <0x0000 0 0 0 0>;
158 mediatek,mtd-eeprom = <&factory 0x0000>;
159 ieee80211-freq-limit = <2400000 2500000>;
170 groups = "wdt", "i2c", "uart3";
176 compatible = "nvmem-cells";
177 #address-cells = <1>;
180 macaddr_uboot_1fc20: macaddr@1fc20 {
184 macaddr_uboot_1fc40: macaddr@1fc40 {