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 = ðernet;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "a6ns-m:blue:usb";
30 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&xhci_ehci_port1>;
32 linux,default-trigger = "usbport";
36 label = "a6ns-m:blue:wlan5g";
37 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0radio";
42 label = "a6ns-m:blue:wlan2g";
43 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy1radio";
48 label = "a6ns-m:blue:cpu";
49 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
58 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_RESTART>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <80000000>;
80 compatible = "fixed-partitions";
92 reg = <0x20000 0x10000>;
96 factory: partition@30000 {
98 reg = <0x30000 0x10000>;
103 compatible = "denx,uimage";
105 reg = <0x40000 0xfc0000>;
113 ralink,group = "i2c", "uart3", "jtag", "wdt";
114 ralink,function = "gpio";
119 mtd-mac-address = <&uboot 0x1fc20>;
128 compatible = "mediatek,mt76";
129 reg = <0x0000 0 0 0 0>;
130 mediatek,mtd-eeprom = <&factory 0x0>;
131 ieee80211-freq-limit = <5000000 6000000>;
137 compatible = "mediatek,mt76";
138 reg = <0x0000 0 0 0 0>;
139 mediatek,mtd-eeprom = <&factory 0x8000>;
140 ieee80211-freq-limit = <2400000 2500000>;