1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "iptime,a604m", "mediatek,mt7628an-soc";
11 model = "ipTIME A604M";
15 led-failsafe = &led_cpu;
16 led-running = &led_cpu;
17 led-upgrade = &led_cpu;
21 compatible = "gpio-leds";
24 label = "a604m:blue:wlan5g";
25 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
26 linux,default-trigger = "phy1tpt";
30 label = "a604m:blue:cpu";
31 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
35 label = "a604m:blue:wlan2g";
36 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
37 linux,default-trigger = "phy0tpt";
42 compatible = "gpio-keys";
46 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
48 debounce-interval = <60>;
53 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
55 debounce-interval = <60>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <40000000>;
69 compatible = "fixed-partitions";
81 reg = <0x20000 0x10000>;
85 factory: partition@30000 {
87 reg = <0x30000 0x10000>;
92 compatible = "denx,uimage";
94 reg = <0x40000 0x7c0000>;
101 state_default: pinctrl0 {
103 ralink,group = "i2c", "uart1", "wdt";
104 ralink,function = "gpio";
118 mtd-mac-address = <&uboot 0x1fc20>;
127 compatible = "mediatek,mt76";
128 reg = <0x0000 0 0 0 0>;
129 mediatek,mtd-eeprom = <&factory 0x8000>;
130 ieee80211-freq-limit = <5000000 6000000>;