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;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-keys";
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
37 compatible = "gpio-leds";
41 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
65 label = "white:power";
66 gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
71 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
80 mediatek,bmt-remap-range =
82 <0x2980000 0x2d80000>;
85 compatible = "fixed-partitions";
97 reg = <0x80000 0x40000>;
100 factory: partition@c0000 {
102 reg = <0xc0000 0x40000>;
106 compatible = "fixed-layout";
107 #address-cells = <1>;
110 eeprom_factory_0: eeprom@0 {
114 eeprom_factory_8000: eeprom@8000 {
115 reg = <0x8000 0x4da8>;
122 reg = <0x100000 0x40000>;
127 reg = <0x140000 0x40000>;
133 reg = <0x180000 0x400000>;
138 reg = <0x580000 0x2400000>;
142 label = "alt_kernel";
143 reg = <0x2980000 0x400000>;
148 label = "alt_rootfs";
149 reg = <0x2d80000 0x2400000>;
155 reg = <0x5180000 0x100000>;
161 reg = <0x5280000 0x2d00000>;
169 groups = "i2c", "uart2", "uart3", "jtag", "wdt";
180 compatible = "mediatek,mt76";
181 reg = <0x0000 0 0 0 0>;
182 nvmem-cells = <&eeprom_factory_0>;
183 nvmem-cell-names = "eeprom";
189 compatible = "mediatek,mt76";
190 reg = <0x0000 0 0 0 0>;
191 nvmem-cells = <&eeprom_factory_8000>;
192 nvmem-cell-names = "eeprom";
199 phy-handle = <ðphy0>;
203 ethphy0: ethernet-phy@0 {