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,a6ns-m", "mediatek,mt7621-soc";
10 model = "ipTIME A6ns-M";
14 led-failsafe = &led_cpu;
15 led-running = &led_cpu;
16 led-upgrade = &led_cpu;
17 label-mac-device = &gmac0;
21 compatible = "gpio-leds";
24 label = "a6ns-m:blue:usb";
25 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
26 trigger-sources = <&xhci_ehci_port1>;
27 linux,default-trigger = "usbport";
31 label = "a6ns-m:blue:wlan5g";
32 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0radio";
37 label = "a6ns-m:blue:wlan2g";
38 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy1radio";
43 label = "a6ns-m:blue:cpu";
44 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys";
53 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
59 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <80000000>;
75 compatible = "fixed-partitions";
87 reg = <0x20000 0x10000>;
91 factory: partition@30000 {
93 reg = <0x30000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x40000 0xfc0000>;
108 groups = "i2c", "uart3", "jtag", "wdt";
114 mtd-mac-address = <&uboot 0x1fc20>;
122 mtd-mac-address = <&uboot 0x1fc40>;
153 compatible = "mediatek,mt76";
154 reg = <0x0000 0 0 0 0>;
155 mediatek,mtd-eeprom = <&factory 0x0>;
156 ieee80211-freq-limit = <5000000 6000000>;
162 compatible = "mediatek,mt76";
163 reg = <0x0000 0 0 0 0>;
164 mediatek,mtd-eeprom = <&factory 0x8000>;
165 ieee80211-freq-limit = <2400000 2500000>;