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 compatible = "gpio-keys";
15 linux,code = <KEY_RESTART>;
16 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
21 compatible = "mtd-concat";
23 devices = <&fwconcat0 &fwconcat1>;
26 compatible = "fixed-partitions";
31 compatible = "openwrt,uimage", "denx,uimage";
32 openwrt,ih-magic = <IH_MAGIC_OKLI>;
41 clock-frequency = <40000000>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <50000000>;
53 compatible = "fixed-partitions";
59 reg = <0x000000 0x040000>;
65 reg = <0x040000 0x010000>;
68 fwconcat0: partition@50000 {
70 reg = <0x050000 0x800000>;
75 reg = <0x850000 0x010000>;
79 fwconcat1: partition@860000 {
81 reg = <0x860000 0x740000>;
86 reg = <0xfa0000 0x040000>;
92 reg = <0xfe0000 0x010000>;
95 compatible = "nvmem-cells";
98 compatible = "fixed-layout";
102 macaddr_mib0_4b: macaddr@4b {
103 compatible = "mac-base";
105 #nvmem-cell-cells = <1>;
108 macaddr_mib0_66: macaddr@66 {
109 compatible = "mac-base";
111 #nvmem-cell-cells = <1>;
116 art: partition@ff0000 {
118 reg = <0xff0000 0x010000>;
121 compatible = "nvmem-cells";
122 #address-cells = <1>;
125 calibration_ath9k: calibration@1000 {
126 reg = <0x1000 0x440>;
129 macaddr_art_1002: macaddr@1002 {
140 phy0: ethernet-phy@0 {
149 pll-data = <0x06000000 0x00000101 0x00001313>;
151 nvmem-cells = <&macaddr_art_1002>;
152 nvmem-cell-names = "mac-address";
154 phy-mode = "rgmii-id";
155 phy-handle = <&phy0>;
170 ieee80211-freq-limit = <2402000 2482000>;
172 nvmem-cells = <&macaddr_mib0_4b 0>, <&calibration_ath9k>;
173 nvmem-cell-names = "mac-address", "calibration";