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 {
67 compatible = "nvmem-cells";
69 reg = <0x40000 0x10000>;
74 eeprom_factory_0: eeprom@0 {
78 eeprom_factory_8000: eeprom@8000 {
79 reg = <0x8000 0x4da8>;
82 macaddr_factory_e00c: macaddr@e00c {
88 compatible = "denx,uimage";
90 reg = <0x50000 0xfb0000>;
102 compatible = "mediatek,mt76";
103 reg = <0x0000 0 0 0 0>;
104 nvmem-cells = <&eeprom_factory_0>;
105 nvmem-cell-names = "eeprom";
106 ieee80211-freq-limit = <2400000 2500000>;
112 compatible = "mediatek,mt76";
113 reg = <0x0000 0 0 0 0>;
114 nvmem-cells = <&eeprom_factory_8000>;
115 nvmem-cell-names = "eeprom";
116 ieee80211-freq-limit = <5000000 6000000>;
121 nvmem-cells = <&macaddr_factory_e00c>;
122 nvmem-cell-names = "mac-address";
128 phy-handle = <ðphy4>;
130 nvmem-cells = <&macaddr_factory_e00c>;
131 nvmem-cell-names = "mac-address";
132 mac-address-increment = <1>;
136 ethphy4: ethernet-phy@4 {
167 groups = "i2c", "uart3", "wdt";