1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "comfast,cf-wr758ac", "mediatek,mt7628an-soc";
12 compatible = "gpio-keys";
16 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_WPS_BUTTON>;
22 compatible = "gpio-leds";
25 label = "blue:wifi-high";
26 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30 label = "blue:wifi-med";
31 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
35 label = "blue:wifi-low";
36 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
43 groups = "refclk", "wdt", "wled_an";
54 compatible = "mediatek,mt76";
55 reg = <0x0000 0 0 0 0>;
56 mediatek,mtd-eeprom = <&factory 0x8000>;
57 ieee80211-freq-limit = <5000000 6000000>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <50000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
93 compatible = "denx,uimage";
95 reg = <0x50000 0x7b0000>;
104 mediatek,mtd-eeprom = <&factory 0x0>;
108 nvmem-cells = <&macaddr_factory_e000>;
109 nvmem-cell-names = "mac-address";
113 mediatek,portdisable = <0x2f>;
117 compatible = "nvmem-cells";
118 #address-cells = <1>;
121 macaddr_factory_e000: macaddr@e000 {