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>;
62 reg = <0x040000 0x780000>;
63 compatible = "openwrt,uimage", "denx,uimage";
64 openwrt,ih-magic = <IH_MAGIC_OKLI>;
65 openwrt,offset = <0x3000>;
70 reg = <0x7c0000 0x030000>;
74 art: partition@7f0000 {
76 reg = <0x7f0000 0x010000>;
86 mtd-cal-data = <&art 0x1000>;
87 nvmem-cells = <&macaddr_info_8>;
88 nvmem-cell-names = "mac-address";
94 phy-handle = <&swphy4>;
96 nvmem-cells = <&macaddr_info_8>;
97 nvmem-cell-names = "mac-address";
107 gpios = <18 GPIO_ACTIVE_HIGH>;
109 line-name = "tp-link:ext:lna0";
114 gpios = <19 GPIO_ACTIVE_HIGH>;
116 line-name = "tp-link:ext:lna1";
121 compatible = "nvmem-cells";
122 #address-cells = <1>;
125 macaddr_info_8: macaddr@8 {