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 {
78 reg = <0x40000 0x10000>;
83 compatible = "denx,uimage";
85 reg = <0x50000 0xfb0000>;
96 ethphy0: ethernet-phy@0 {
102 nvmem-cells = <&macaddr_factory_e000>;
103 nvmem-cell-names = "mac-address";
109 phy-handle = <ðphy0>;
111 nvmem-cells = <&macaddr_factory_e006>;
112 nvmem-cell-names = "mac-address";
145 compatible = "mediatek,mt76";
146 reg = <0x0000 0 0 0 0>;
147 mediatek,mtd-eeprom = <&factory 0x0000>;
148 ieee80211-freq-limit = <2400000 2500000>;
154 compatible = "mediatek,mt76";
155 reg = <0x0000 0 0 0 0>;
156 mediatek,mtd-eeprom = <&factory 0x8000>;
157 ieee80211-freq-limit = <5000000 6000000>;
162 compatible = "nvmem-cells";
163 #address-cells = <1>;
166 macaddr_factory_e000: macaddr@e000 {
170 macaddr_factory_e006: macaddr@e006 {