1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-mr6400-v1", "qca,qca9531";
10 model = "TP-Link TL-MR6400 v1";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = &wmac;
21 compatible = "gpio-leds";
26 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
32 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
38 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
44 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
45 linux,default-trigger = "phy0tpt";
50 label = "white:power";
51 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
57 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
62 compatible = "gpio-keys";
66 label = "Reset button";
67 linux,code = <KEY_RESTART>;
68 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
69 debounce-interval = <60>;
74 label = "RF kill button";
75 linux,code = <KEY_RFKILL>;
76 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
77 debounce-interval = <60>;
82 compatible = "gpio-export";
85 gpio-export,name = "tp-link:power:lte";
86 gpio-export,output = <0>;
87 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <25000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
107 reg = <0x000000 0x020000>;
112 compatible = "tplink,firmware";
114 reg = <0x020000 0x7d0000>;
117 art: partition@7f0000 {
119 reg = <0x7f0000 0x010000>;
129 phy-handle = <&swphy0>;
131 mtd-mac-address = <&uboot 0x1fc00>;
132 mtd-mac-address-increment = <1>;
136 mtd-mac-address = <&uboot 0x1fc00>;
137 mtd-mac-address-increment = <(-1)>;
143 mtd-cal-data = <&art 0x1000>;
144 mtd-mac-address = <&uboot 0x1fc00>;
148 #address-cells = <1>;
154 #trigger-source-cells = <0>;