1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "TP-Link CPE610 v1";
11 compatible = "tplink,cpe610-v1", "qca,ar9344";
15 led-failsafe = &system;
16 led-upgrade = &system;
20 compatible = "gpio-leds";
23 label = "tp-link:green:lan";
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
28 label = "tp-link:green:wlan5g";
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy0tpt";
35 compatible = "gpio-keys";
38 linux,code = <KEY_RESTART>;
39 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
47 clock-frequency = <40000000>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <25000000>;
65 compatible = "fixed-partitions";
71 reg = <0x000000 0x020000>;
76 label = "partition-table";
77 reg = <0x020000 0x010000>;
81 info: partition@30000 {
83 reg = <0x030000 0x010000>;
89 reg = <0x040000 0x780000>;
91 compatible = "fixed-partitions";
97 reg = <0x000000 0x1c0000>;
102 reg = <0x1c0000 0x5c0000>;
108 reg = <0x7c0000 0x030000>;
112 art: partition@7f0000 {
114 reg = <0x7f0000 0x010000>;
124 mtd-cal-data = <&art 0x1000>;
125 mtd-mac-address = <&info 0x08>;
131 mtd-mac-address = <&info 0x08>;
134 phy-handle = <&swphy4>;
139 compatible = "syscon", "simple-mfd";