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 label-mac-device = &gmac0;
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-keys";
22 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
34 compatible = "gpio-leds";
38 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
43 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
48 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <40000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
90 compatible = "denx,uimage";
92 reg = <0x50000 0xfb0000>;
104 compatible = "mediatek,mt76";
105 reg = <0x0000 0 0 0 0>;
106 mediatek,mtd-eeprom = <&factory 0x0000>;
107 ieee80211-freq-limit = <2400000 2500000>;
113 compatible = "mediatek,mt76";
114 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x8000>;
116 ieee80211-freq-limit = <5000000 6000000>;
121 nvmem-cells = <&macaddr_factory_4>;
122 nvmem-cell-names = "mac-address";
128 phy-handle = <ðphy0>;
130 nvmem-cells = <&macaddr_factory_4>;
131 nvmem-cell-names = "mac-address";
135 ethphy0: ethernet-phy@0 {
166 groups = "uart3", "uart2", "jtag", "wdt";
176 compatible = "nvmem-cells";
177 #address-cells = <1>;
180 macaddr_factory_4: macaddr@4 {