1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
9 compatible = "snr,snr-cpe-me2-lite", "mediatek,mt7621-soc";
10 model = "SNR-CPE-ME2-Lite";
13 compatible = "gpio-leds";
16 color = <LED_COLOR_ID_GREEN>;
17 function = LED_FUNCTION_STATUS;
18 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
22 color = <LED_COLOR_ID_GREEN>;
23 function = LED_FUNCTION_STATUS;
24 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
33 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
41 groups = "jtag", "wdt";
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <104000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
76 reg = <0x40000 0x10000>;
80 compatible = "fixed-layout";
84 eeprom_factory_0: eeprom@0 {
88 eeprom_factory_8000: eeprom@8000 {
89 reg = <0x8000 0x4da8>;
92 macaddr_factory_e000: macaddr@e000 {
96 macaddr_factory_e006: macaddr@e006 {
103 compatible = "denx,uimage";
105 reg = <0x50000 0xfb0000>;
116 /delete-property/ interrupts;
120 nvmem-cells = <&macaddr_factory_e000>;
121 nvmem-cell-names = "mac-address";
127 phy-handle = <ðphy0>;
129 nvmem-cells = <&macaddr_factory_e006>;
130 nvmem-cell-names = "mac-address";
163 compatible = "mediatek,mt76";
164 reg = <0x0000 0 0 0 0>;
165 nvmem-cells = <&eeprom_factory_0>;
166 nvmem-cell-names = "eeprom";
167 ieee80211-freq-limit = <2400000 2500000>;
173 compatible = "mediatek,mt76";
174 reg = <0x0000 0 0 0 0>;
175 nvmem-cells = <&eeprom_factory_8000>;
176 nvmem-cell-names = "eeprom";
177 ieee80211-freq-limit = <5000000 6000000>;