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,ax2004m", "mediatek,mt7621-soc";
10 model = "ipTIME AX2004M";
14 led-failsafe = &led_cpu;
15 led-running = &led_cpu;
16 led-upgrade = &led_cpu;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
28 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
32 label = "amber:wlan2g";
33 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0radio";
38 label = "amber:wlan5g";
39 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy1radio";
45 compatible = "gpio-keys";
49 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
59 compatible = "fixed-partitions";
71 reg = <0x80000 0x80000>;
75 factory: partition@100000 {
77 reg = <0x100000 0x80000>;
80 compatible = "nvmem-cells";
84 macaddr_factory_4: macaddr@4 {
91 reg = <0x180000 0x7680000>;
93 compatible = "fixed-partitions";
104 reg = <0x400000 0x7280000>;
112 groups = "i2c", "jtag", "wdt";
118 nvmem-cells = <&macaddr_factory_4>;
119 nvmem-cell-names = "mac-address";
120 mac-address-increment = <3>;
128 nvmem-cells = <&macaddr_factory_4>;
129 nvmem-cell-names = "mac-address";
130 mac-address-increment = <1>;
161 compatible = "mediatek,mt76";
162 reg = <0x0000 0 0 0 0>;
163 mediatek,mtd-eeprom = <&factory 0x0>;