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 nvmem-cells = <&eeprom_factory_8000>;
57 nvmem-cell-names = "eeprom";
58 ieee80211-freq-limit = <5000000 6000000>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <50000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
93 compatible = "fixed-layout";
97 eeprom_factory_0: eeprom@0 {
101 eeprom_factory_8000: eeprom@8000 {
102 reg = <0x8000 0x200>;
105 macaddr_factory_e000: macaddr@e000 {
112 compatible = "denx,uimage";
114 reg = <0x50000 0x7b0000>;
123 nvmem-cells = <&eeprom_factory_0>;
124 nvmem-cell-names = "eeprom";
128 nvmem-cells = <&macaddr_factory_e000>;
129 nvmem-cell-names = "mac-address";
133 mediatek,portdisable = <0x2f>;