1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Motorola MWR03";
10 compatible = "motorola,mwr03", "mediatek,mt7628an-soc";
13 led-boot = &led_status_orange;
14 led-failsafe = &led_status_orange;
15 led-running = &led_status_white;
16 led-upgrade = &led_status_orange;
20 compatible = "gpio-keys";
24 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 compatible = "gpio-leds";
32 led_status_orange: status_orange {
33 label = "orange:status";
34 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
37 led_status_white: status_white {
38 label = "white:status";
39 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <80000000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
76 compatible = "fixed-layout";
80 eeprom_factory_0: eeprom@0 {
84 eeprom_factory_8000: eeprom@8000 {
88 macaddr_factory_4: macaddr@4 {
89 compatible = "mac-base";
91 #nvmem-cell-cells = <1>;
97 compatible = "denx,uimage";
99 reg = <0x50000 0x7b0000>;
107 groups = "i2c", "i2s";
125 nvmem-cells = <&macaddr_factory_4 (-1)>;
126 nvmem-cell-names = "mac-address";
130 mediatek,portmap = <0x3e>;
131 mediatek,portdisable = <0x30>;
140 reg = <0x0000 0 0 0 0>;
141 nvmem-cells = <&eeprom_factory_8000>;
142 nvmem-cell-names = "eeprom";
143 ieee80211-freq-limit = <5000000 6000000>;
150 nvmem-cells = <&eeprom_factory_0>;
151 nvmem-cell-names = "eeprom";