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";
99 macaddr_mib0_4b: macaddr@4b {
103 macaddr_mib0_66: macaddr@66 {
108 art: partition@ff0000 {
110 reg = <0xff0000 0x010000>;
113 compatible = "nvmem-cells";
114 #address-cells = <1>;
117 calibration_ath9k: calibration@1000 {
118 reg = <0x1000 0x440>;
121 macaddr_art_1002: macaddr@1002 {
132 phy0: ethernet-phy@0 {
141 pll-data = <0x06000000 0x00000101 0x00001313>;
143 nvmem-cells = <&macaddr_art_1002>;
144 nvmem-cell-names = "mac-address";
146 phy-mode = "rgmii-id";
147 phy-handle = <&phy0>;
162 ieee80211-freq-limit = <2402000 2482000>;
164 nvmem-cells = <&macaddr_mib0_4b>, <&calibration_ath9k>;
165 nvmem-cell-names = "mac-address-ascii", "calibration";