1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "raisecom,msg1500-x-00", "mediatek,mt7621-soc";
10 model = "RAISECOM MSG1500 X.00";
14 led-failsafe = &led_usb;
15 led-upgrade = &led_usb;
16 label-mac-device = &gmac0;
20 compatible = "gpio-leds";
23 label = "blue:wlan2g";
24 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
25 linux,default-trigger = "phy0radio";
29 label = "blue:wlan5g";
30 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy1radio";
36 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
37 trigger-sources = <&ehci_port2>;
38 linux,default-trigger = "usbport";
43 compatible = "gpio-keys";
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
59 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RFKILL>;
69 compatible = "fixed-partitions";
81 reg = <0x80000 0x80000>;
84 compatible = "nvmem-cells";
87 compatible = "fixed-layout";
91 macaddr_config_8014: macaddr@8014 {
92 compatible = "mac-base";
94 #nvmem-cell-cells = <1>;
97 macaddr_config_8036: macaddr@8036 {
98 compatible = "mac-base";
100 #nvmem-cell-cells = <1>;
105 factory: partition@100000 {
106 compatible = "nvmem-cells";
108 reg = <0x100000 0x40000>;
109 #address-cells = <1>;
113 eeprom_factory_0: eeprom@0 {
117 macaddr_factory_4: macaddr@4 {
124 reg = <0x140000 0x400000>;
129 reg = <0x540000 0x7a40000>;
140 compatible = "mediatek,mt76";
141 reg = <0x0000 0 0 0 0>;
142 /* 5 GHz (phy1) does not take the address from calibration data,
143 but setting it manually here works */
144 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
145 nvmem-cell-names = "eeprom", "mac-address";
150 nvmem-cells = <&macaddr_config_8014 0>;
151 nvmem-cell-names = "mac-address";
157 phy-handle = <ðphy4>;
159 nvmem-cells = <&macaddr_config_8036 0>;
160 nvmem-cell-names = "mac-address";
164 ethphy4: ethernet-phy@4 {
195 groups = "i2c", "jtag", "uart3", "wdt";