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";
17 color = <LED_COLOR_ID_GREEN>;
18 function = LED_FUNCTION_STATUS;
19 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
24 color = <LED_COLOR_ID_GREEN>;
25 function = LED_FUNCTION_STATUS;
26 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys";
35 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
43 groups = "jtag", "wdt";
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <104000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
77 compatible = "nvmem-cells";
79 reg = <0x40000 0x10000>;
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 {
102 compatible = "denx,uimage";
104 reg = <0x50000 0xfb0000>;
115 ethphy0: ethernet-phy@0 {
121 nvmem-cells = <&macaddr_factory_e000>;
122 nvmem-cell-names = "mac-address";
128 phy-handle = <ðphy0>;
130 nvmem-cells = <&macaddr_factory_e006>;
131 nvmem-cell-names = "mac-address";
164 compatible = "mediatek,mt76";
165 reg = <0x0000 0 0 0 0>;
166 nvmem-cells = <&eeprom_factory_0>;
167 nvmem-cell-names = "eeprom";
168 ieee80211-freq-limit = <2400000 2500000>;
174 compatible = "mediatek,mt76";
175 reg = <0x0000 0 0 0 0>;
176 nvmem-cells = <&eeprom_factory_8000>;
177 nvmem-cell-names = "eeprom";
178 ieee80211-freq-limit = <5000000 6000000>;