1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "totolink,lr1200", "mediatek,mt7628dan";
10 model = "TOTOLINK LR1200";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
20 compatible = "gpio-leds";
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0tpt";
40 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-keys";
74 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_RESTART>;
83 gpios = <45 GPIO_ACTIVE_HIGH>;
85 line-name = "modem-reset";
91 groups = "gpio", "i2c", "i2s", "refclk", "uart1", "wdt", "wled_an";
102 reg = <0x0000 0 0 0 0>;
103 nvmem-cells = <&eeprom_factory_8000>;
104 nvmem-cell-names = "eeprom";
105 ieee80211-freq-limit = <5000000 6000000>;
112 nvmem-cells = <&eeprom_factory_0>;
113 nvmem-cell-names = "eeprom";
117 nvmem-cells = <&macaddr_factory_28>;
118 nvmem-cell-names = "mac-address";
125 compatible = "jedec,spi-nor";
127 spi-max-frequency = <40000000>;
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
141 label = "u-boot-env";
142 reg = <0x30000 0x10000>;
148 reg = <0x40000 0x10000>;
152 compatible = "fixed-layout";
153 #address-cells = <1>;
156 eeprom_factory_0: eeprom@0 {
160 eeprom_factory_8000: eeprom@8000 {
161 reg = <0x8000 0x200>;
164 macaddr_factory_28: macaddr@28 {
171 compatible = "denx,uimage";
173 reg = <0x50000 0x7b0000>;