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 = ðernet;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "g7:blue:sys";
30 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys";
39 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
41 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <40000000>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
71 factory: partition@40000 {
73 reg = <0x40000 0x10000>;
78 compatible = "denx,uimage";
80 reg = <0x50000 0xfb0000>;
92 compatible = "mediatek,mt76";
93 reg = <0x0000 0 0 0 0>;
94 mediatek,mtd-eeprom = <&factory 0x0000>;
95 ieee80211-freq-limit = <2400000 2500000>;
101 compatible = "mediatek,mt76";
102 reg = <0x0000 0 0 0 0>;
103 mediatek,mtd-eeprom = <&factory 0x8000>;
104 ieee80211-freq-limit = <5000000 6000000>;
109 mtd-mac-address = <&factory 0xe00c>;
114 ralink,group = "i2c", "wdt";
115 ralink,function = "gpio";