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 = "adslr,g7", "mediatek,mt7621-soc";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
17 label-mac-device = &gmac0;
21 compatible = "gpio-leds";
25 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
30 compatible = "gpio-keys";
34 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
35 debounce-interval = <60>;
36 linux,code = <KEY_RESTART>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <40000000>;
50 compatible = "fixed-partitions";
62 reg = <0x30000 0x10000>;
66 factory: partition@40000 {
68 reg = <0x40000 0x10000>;
72 compatible = "fixed-layout";
76 eeprom_factory_0: eeprom@0 {
80 eeprom_factory_8000: eeprom@8000 {
81 reg = <0x8000 0x4da8>;
84 macaddr_factory_e00c: macaddr@e00c {
91 compatible = "denx,uimage";
93 reg = <0x50000 0xfb0000>;
105 compatible = "mediatek,mt76";
106 reg = <0x0000 0 0 0 0>;
107 nvmem-cells = <&eeprom_factory_0>;
108 nvmem-cell-names = "eeprom";
109 ieee80211-freq-limit = <2400000 2500000>;
115 compatible = "mediatek,mt76";
116 reg = <0x0000 0 0 0 0>;
117 nvmem-cells = <&eeprom_factory_8000>;
118 nvmem-cell-names = "eeprom";
119 ieee80211-freq-limit = <5000000 6000000>;
124 nvmem-cells = <&macaddr_factory_e00c>;
125 nvmem-cell-names = "mac-address";
131 phy-handle = <ðphy4>;
133 nvmem-cells = <&macaddr_factory_e00c>;
134 nvmem-cell-names = "mac-address";
135 mac-address-increment = <1>;
139 ethphy4: ethernet-phy@4 {
170 groups = "i2c", "uart3", "wdt";