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";
88 macaddr_config_8014: macaddr@8014 {
92 macaddr_config_8036: macaddr@8036 {
97 factory: partition@100000 {
99 reg = <0x100000 0x40000>;
102 compatible = "nvmem-cells";
103 #address-cells = <1>;
106 macaddr_factory_4: macaddr@4 {
113 reg = <0x140000 0x400000>;
118 reg = <0x540000 0x7a40000>;
129 compatible = "mediatek,mt76";
130 reg = <0x0000 0 0 0 0>;
131 mediatek,mtd-eeprom = <&factory 0x0>;
132 /* 5 GHz (phy1) does not take the address from calibration data,
133 but setting it manually here works */
134 nvmem-cells = <&macaddr_factory_4>;
135 nvmem-cell-names = "mac-address";
140 nvmem-cells = <&macaddr_config_8014>;
141 nvmem-cell-names = "mac-address-ascii";
147 phy-handle = <ðphy4>;
149 nvmem-cells = <&macaddr_config_8036>;
150 nvmem-cell-names = "mac-address-ascii";
154 ethphy4: ethernet-phy@4 {
185 groups = "i2c", "jtag", "uart3", "wdt";