1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "cudy,wr1000", "mediatek,mt7628an-soc";
10 model = "Cudy WR1000";
14 led-failsafe = &led_wps;
15 led-upgrade = &led_wps;
16 label-mac-device = &wmac;
20 compatible = "gpio-keys";
24 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
36 compatible = "gpio-leds";
40 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
54 label = "blue:wlan2g";
55 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy0tpt";
61 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x50000 0x7b0000>;
108 groups = "i2s", "refclk", "wdt", "p4led_an",
109 "p3led_an", "p2led_an", "wled_an";
120 compatible = "mediatek,mt76";
121 reg = <0x0000 0 0 0 0>;
122 mediatek,mtd-eeprom = <&factory 0x8000>;
123 ieee80211-freq-limit = <5000000 6000000>;
137 mtd-mac-address = <&factory 0x28>;
141 mediatek,portmap = <0x2f>;