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 = "cudy,m1800", "mediatek,mt7621-soc";
13 led-boot = &led_internet_white;
14 led-failsafe = &led_internet_white;
15 led-running = &led_internet_white;
16 led-upgrade = &led_internet_white;
17 label-mac-device = &gmac0;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
41 compatible = "gpio-leds";
43 led_internet_white: internet-white {
44 label = "white:internet";
45 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
49 label = "red:internet";
50 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
56 nvmem-cells = <&macaddr_bdinfo_de00 1>;
57 nvmem-cell-names = "mac-address";
63 phy-handle = <ðphy4>;
65 nvmem-cells = <&macaddr_bdinfo_de00 0>;
66 nvmem-cell-names = "mac-address";
70 /delete-property/ interrupts;
79 compatible = "mediatek,mt76";
80 reg = <0x0000 0 0 0 0>;
81 nvmem-cells = <&eeprom_factory_0>;
82 nvmem-cell-names = "eeprom";
83 mediatek,disable-radar-background;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <50000000>;
98 compatible = "fixed-partitions";
109 label = "u-boot-env";
110 reg = <0x30000 0x10000>;
116 reg = <0x40000 0x10000>;
120 compatible = "fixed-layout";
121 #address-cells = <1>;
124 eeprom_factory_0: eeprom@0 {
131 compatible = "denx,uimage";
133 reg = <0x50000 0xfb0000>;
138 reg = <0x1000000 0xfd0000>;
144 reg = <0x1fd0000 0x10000>;
150 reg = <0x1fe0000 0x10000>;
156 reg = <0x1ff0000 0x10000>;
160 compatible = "fixed-layout";
161 #address-cells = <1>;
164 macaddr_bdinfo_de00: macaddr@de00 {
165 compatible = "mac-base";
167 #nvmem-cell-cells = <1>;
177 groups = "jtag", "uart3";