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>
12 led-failsafe = &system;
13 led-running = &system;
14 led-upgrade = &system;
18 compatible = "gpio-leds";
21 label = "tp-link:green:lan";
22 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
26 label = "tp-link:green:link1";
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
31 label = "tp-link:green:link2";
32 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
36 label = "tp-link:green:link3";
37 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
41 label = "tp-link:green:link4";
42 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys";
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
52 debounce-interval = <60>;
59 clock-frequency = <40000000>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <25000000>;
77 compatible = "fixed-partitions";
83 reg = <0x000000 0x020000>;
88 label = "partition-table";
89 reg = <0x020000 0x010000>;
93 info: partition@30000 {
95 reg = <0x030000 0x010000>;
101 reg = <0x040000 0x780000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
109 reg = <0x000000 0x200000>;
114 reg = <0x200000 0x580000>;
120 reg = <0x7c0000 0x030000>;
124 art: partition@7f0000 {
126 reg = <0x7f0000 0x010000>;
136 mtd-cal-data = <&art 0x1000>;
137 mtd-mac-address = <&info 0x08>;
143 mtd-mac-address = <&info 0x08>;
146 phy-handle = <&swphy4>;
151 compatible = "syscon", "simple-mfd";