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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "raisecom,msg1500-x-00", "mediatek,mt7621-soc";
11 model = "RAISECOM MSG1500 X.00";
15 led-failsafe = &led_usb;
16 led-upgrade = &led_usb;
17 label-mac-device = &gmac0;
21 compatible = "gpio-leds";
24 label = "blue:wlan2g";
25 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
26 linux,default-trigger = "phy0radio";
30 label = "blue:wlan5g";
31 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy1radio";
36 function = LED_FUNCTION_USB;
37 color = <LED_COLOR_ID_BLUE>;
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
39 trigger-sources = <&ehci_port2>;
40 linux,default-trigger = "usbport";
45 compatible = "gpio-keys";
49 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
61 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RFKILL>;
71 compatible = "fixed-partitions";
83 reg = <0x80000 0x80000>;
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>;
107 reg = <0x100000 0x40000>;
111 compatible = "fixed-layout";
112 #address-cells = <1>;
115 eeprom_factory_0: eeprom@0 {
119 macaddr_factory_4: macaddr@4 {
127 reg = <0x140000 0x400000>;
132 reg = <0x540000 0x7a40000>;
143 compatible = "mediatek,mt76";
144 reg = <0x0000 0 0 0 0>;
145 /* 5 GHz (phy1) does not take the address from calibration data,
146 but setting it manually here works */
147 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
148 nvmem-cell-names = "eeprom", "mac-address";
153 nvmem-cells = <&macaddr_config_8014 0>;
154 nvmem-cell-names = "mac-address";
160 phy-handle = <ðphy4>;
162 nvmem-cells = <&macaddr_config_8036 0>;
163 nvmem-cell-names = "mac-address";
167 /delete-property/ interrupts;
196 groups = "i2c", "jtag", "uart3", "wdt";