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";
71 compatible = "fixed-layout";
75 macaddr_uboot_1fc20: macaddr@1fc20 {
79 macaddr_uboot_1fc40: macaddr@1fc40 {
87 reg = <0x20000 0x10000>;
91 factory: partition@30000 {
93 reg = <0x30000 0x10000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 eeprom_factory_8000: eeprom@8000 {
106 reg = <0x8000 0x200>;
113 reg = <0x40000 0xfc0000>;
114 compatible = "denx,uimage";
121 nvmem-cells = <&macaddr_uboot_1fc20>;
122 nvmem-cell-names = "mac-address";
128 phy-handle = <ðphy0>;
130 nvmem-cells = <&macaddr_uboot_1fc40>;
131 nvmem-cell-names = "mac-address";
135 ethphy0: ethernet-phy@0 {
170 compatible = "mediatek,mt76";
171 reg = <0x0000 0 0 0 0>;
172 nvmem-cells = <&eeprom_factory_8000>;
173 nvmem-cell-names = "eeprom";
174 ieee80211-freq-limit = <5000000 6000000>;
185 compatible = "mediatek,mt76";
186 reg = <0x0000 0 0 0 0>;
187 nvmem-cells = <&eeprom_factory_0>;
188 nvmem-cell-names = "eeprom";
189 ieee80211-freq-limit = <2400000 2500000>;
200 groups = "wdt", "i2c", "uart3";