1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "totolink,lr1200", "mediatek,mt7628dan";
11 model = "TOTOLINK LR1200";
15 led-failsafe = &led_sys;
16 led-running = &led_sys;
17 led-upgrade = &led_sys;
21 compatible = "gpio-leds";
24 label = "lr1200:blue:sys";
25 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
29 label = "lr1200:blue:sms";
30 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
34 label = "lr1200:blue:wifi";
35 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy0tpt";
40 label = "lr1200:blue:3g";
41 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
45 label = "lr1200:blue:4g";
46 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
50 label = "lr1200:blue:rssi1";
51 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
55 label = "lr1200:blue:rssi2";
56 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
60 label = "lr1200:blue:rssi3";
61 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
65 label = "lr1200:blue:rssi4";
66 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
71 compatible = "gpio-keys";
75 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
84 gpios = <45 GPIO_ACTIVE_HIGH>;
86 line-name = "modem-reset";
92 groups = "gpio", "i2c", "i2s", "refclk", "uart1", "wdt", "wled_an";
103 reg = <0x0000 0 0 0 0>;
104 mediatek,mtd-eeprom = <&factory 0x8000>;
105 ieee80211-freq-limit = <5000000 6000000>;
114 mtd-mac-address = <&factory 0x28>;
121 compatible = "jedec,spi-nor";
123 spi-max-frequency = <40000000>;
126 compatible = "fixed-partitions";
127 #address-cells = <1>;
137 label = "u-boot-env";
138 reg = <0x30000 0x10000>;
142 factory: partition@40000 {
144 reg = <0x40000 0x10000>;
149 compatible = "denx,uimage";
151 reg = <0x50000 0x7b0000>;