1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "adslr,g7", "mediatek,mt7621-soc";
15 led-failsafe = &led_sys;
16 led-running = &led_sys;
17 led-upgrade = &led_sys;
18 label-mac-device = &gmac0;
22 compatible = "gpio-leds";
25 label = "g7:blue:sys";
26 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys";
35 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
36 debounce-interval = <60>;
37 linux,code = <KEY_RESTART>;
46 compatible = "jedec,spi-nor";
48 spi-max-frequency = <40000000>;
51 compatible = "fixed-partitions";
63 reg = <0x30000 0x10000>;
67 factory: partition@40000 {
69 reg = <0x40000 0x10000>;
74 compatible = "denx,uimage";
76 reg = <0x50000 0xfb0000>;
88 compatible = "mediatek,mt76";
89 reg = <0x0000 0 0 0 0>;
90 mediatek,mtd-eeprom = <&factory 0x0000>;
91 ieee80211-freq-limit = <2400000 2500000>;
97 compatible = "mediatek,mt76";
98 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&factory 0x8000>;
100 ieee80211-freq-limit = <5000000 6000000>;
105 mtd-mac-address = <&factory 0xe00c>;
133 mtd-mac-address = <&factory 0xe00c>;
134 mtd-mac-address-increment = <1>;
141 groups = "i2c", "uart3", "wdt";