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;
19 compatible = "gpio-leds";
22 label = "blue:wlan2g";
23 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
24 linux,default-trigger = "phy0radio";
28 label = "blue:wlan5g";
29 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy1radio";
35 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
36 trigger-sources = <&ehci_port2>;
37 linux,default-trigger = "usbport";
42 compatible = "gpio-keys";
46 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_WPS_BUTTON>;
58 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RFKILL>;
68 compatible = "fixed-partitions";
80 reg = <0x80000 0x80000>;
84 factory: partition@100000 {
86 reg = <0x100000 0x40000>;
92 reg = <0x140000 0x400000>;
97 reg = <0x540000 0x7a40000>;
108 compatible = "mediatek,mt76";
109 reg = <0x0000 0 0 0 0>;
110 mediatek,mtd-eeprom = <&factory 0x0>;
111 /* 5 GHz (phy1) does not take the address from calibration data,
112 but setting it manually here works */
113 nvmem-cells = <&macaddr_factory_4>;
114 nvmem-cell-names = "mac-address";
121 phy-handle = <ðphy4>;
125 ethphy4: ethernet-phy@4 {
156 groups = "i2c", "jtag", "uart3", "wdt";
162 compatible = "nvmem-cells";
163 #address-cells = <1>;
166 macaddr_factory_4: macaddr@4 {