1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "comfast,cf-wr617ac", "mediatek,mt7628an-soc";
10 model = "Comfast CF-WR617AC";
13 compatible = "gpio-keys";
16 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
22 compatible = "gpio-leds";
23 led_status_blue: status_blue {
24 label = "blue:status";
25 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
27 led_status_red: status_red {
29 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
34 led-boot = &led_status_red;
35 led-failsafe = &led_status_red;
36 led-running = &led_status_blue;
37 led-upgrade = &led_status_red;
42 bootargs = "console=ttyS0,115200";
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <40000000>;
56 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
78 compatible = "fixed-layout";
82 eeprom_factory_0: eeprom@0 {
86 eeprom_factory_8000: eeprom@8000 {
90 macaddr_factory_8004: macaddr@8004 {
91 compatible = "mac-base";
93 #nvmem-cell-cells = <1>;
96 macaddr_factory_e000: macaddr@e000 {
103 compatible = "denx,uimage";
105 reg = <0x50000 0x760000>;
117 compatible = "mediatek,mt76";
118 reg = <0x0000 0 0 0 0>;
119 ieee80211-freq-limit = <5000000 6000000>;
120 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004 2>;
121 nvmem-cell-names = "eeprom", "mac-address";
126 nvmem-cells = <&macaddr_factory_e000>;
127 nvmem-cell-names = "mac-address";
131 mediatek,portmap = <0x2f>;
136 nvmem-cells = <&eeprom_factory_0>;
137 nvmem-cell-names = "eeprom";