1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
11 label-mac-device = &wmac;
15 compatible = "gpio-keys";
18 linux,code = <KEY_RESTART>;
19 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
20 debounce-interval = <60>;
26 clock-frequency = <40000000>;
33 compatible = "jedec,spi-nor";
35 spi-max-frequency = <25000000>;
38 compatible = "fixed-partitions";
44 reg = <0x000000 0x020000>;
49 label = "partition-table";
50 reg = <0x020000 0x010000>;
54 info: partition@30000 {
56 reg = <0x030000 0x010000>;
60 compatible = "fixed-layout";
64 macaddr_info_8: macaddr@8 {
72 reg = <0x040000 0x780000>;
73 compatible = "openwrt,uimage", "denx,uimage";
74 openwrt,ih-magic = <IH_MAGIC_OKLI>;
75 openwrt,offset = <0x3000>;
80 reg = <0x7c0000 0x030000>;
84 art: partition@7f0000 {
86 reg = <0x7f0000 0x010000>;
96 mtd-cal-data = <&art 0x1000>;
97 nvmem-cells = <&macaddr_info_8>;
98 nvmem-cell-names = "mac-address";
104 phy-handle = <&swphy4>;
106 nvmem-cells = <&macaddr_info_8>;
107 nvmem-cell-names = "mac-address";
117 gpios = <18 GPIO_ACTIVE_HIGH>;
119 line-name = "tp-link:ext:lna0";
124 gpios = <19 GPIO_ACTIVE_HIGH>;
126 line-name = "tp-link:ext:lna1";