1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "iptime,a6ns-m", "mediatek,mt7621-soc";
11 model = "ipTIME A6ns-M";
15 led-failsafe = &led_cpu;
16 led-running = &led_cpu;
17 led-upgrade = &led_cpu;
18 label-mac-device = &gmac0;
22 compatible = "gpio-leds";
25 label = "a6ns-m:blue:usb";
26 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&xhci_ehci_port1>;
28 linux,default-trigger = "usbport";
32 label = "a6ns-m:blue:wlan5g";
33 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0radio";
38 label = "a6ns-m:blue:wlan2g";
39 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy1radio";
44 label = "a6ns-m:blue:cpu";
45 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys";
54 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
60 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <80000000>;
76 compatible = "fixed-partitions";
88 reg = <0x20000 0x10000>;
92 factory: partition@30000 {
94 reg = <0x30000 0x10000>;
99 compatible = "denx,uimage";
101 reg = <0x40000 0xfc0000>;
109 groups = "i2c", "uart3", "jtag", "wdt";
115 mtd-mac-address = <&uboot 0x1fc20>;
123 mtd-mac-address = <&uboot 0x1fc40>;
154 compatible = "mediatek,mt76";
155 reg = <0x0000 0 0 0 0>;
156 mediatek,mtd-eeprom = <&factory 0x0>;
157 ieee80211-freq-limit = <5000000 6000000>;
163 compatible = "mediatek,mt76";
164 reg = <0x0000 0 0 0 0>;
165 mediatek,mtd-eeprom = <&factory 0x8000>;
166 ieee80211-freq-limit = <2400000 2500000>;