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>;
73 compatible = "denx,uimage";
75 reg = <0x50000 0xfb0000>;
87 compatible = "mediatek,mt76";
88 reg = <0x0000 0 0 0 0>;
89 mediatek,mtd-eeprom = <&factory 0x0000>;
90 ieee80211-freq-limit = <2400000 2500000>;
96 compatible = "mediatek,mt76";
97 reg = <0x0000 0 0 0 0>;
98 mediatek,mtd-eeprom = <&factory 0x8000>;
99 ieee80211-freq-limit = <5000000 6000000>;
104 mtd-mac-address = <&factory 0xe00c>;
132 mtd-mac-address = <&factory 0xe00c>;
133 mtd-mac-address-increment = <1>;
140 groups = "i2c", "uart3", "wdt";