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>
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 label-mac-device = &gmac1;
18 compatible = "gpio-leds";
22 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
26 label = "green:power";
27 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
32 compatible = "gpio-keys";
36 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
44 linux,input-type = <EV_SW>;
49 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
59 mediatek,bmt-remap-range =
60 <0x0000000 0x0800000>,
61 <0x3600000 0x4980000>;
63 partitions: partitions {
64 compatible = "fixed-partitions";
70 reg = <0x0 0x0100000>;
76 reg = <0x0100000 0x0100000>;
80 factory: partition@200000 {
82 reg = <0x0200000 0x0100000>;
87 reg = <0x0300000 0x0100000>;
93 reg = <0x0400000 0x0400000>;
98 reg = <0x0800000 0x2e00000>;
103 reg = <0x3600000 0x0100000>;
108 label = "firmware_2";
109 reg = <0x3700000 0x3200000>;
114 reg = <0x6900000 0x0100000>;
120 reg = <0x6a00000 0x0100000>;
126 nvmem-cells = <&macaddr_factory_e000>;
127 nvmem-cell-names = "mac-address";
133 phy-handle = <ðphy0>;
135 nvmem-cells = <&macaddr_factory_e006>;
136 nvmem-cell-names = "mac-address";
140 ethphy0: ethernet-phy@0 {
175 groups = "uart2", "uart3", "wdt";
185 compatible = "nvmem-cells";
186 #address-cells = <1>;
189 macaddr_factory_e000: macaddr@e000 {
193 macaddr_factory_e006: macaddr@e006 {