1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ð0;
14 compatible = "gpio-keys";
17 label = "Reset button";
18 linux,code = <KEY_RESTART>;
19 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
20 debounce-interval = <60>;
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>;
61 compatible = "openwrt,elf";
63 reg = <0x040000 0xd80000>;
68 reg = <0xdc0000 0x030000>;
72 /* df0000-f30000 undefined in vendor firmware */
76 reg = <0xf30000 0x0c0000>;
80 art: partition@ff0000 {
82 reg = <0xff0000 0x010000>;
85 compatible = "nvmem-cells";
89 calibration_ath9k: calibration@1000 {
98 mdio_pins: mdio_pins {
99 /* GPIO 10 as MDIO(0x20), GPIO 8 as MDC(0x21) */
100 pinctrl-single,bits = <0x8 0x00200021 0x00ff00ff>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&mdio_pins>;
110 phy4: ethernet-phy@4 {
112 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
119 phy-handle = <&phy4>;
121 pll-data = <0x03000000 0x00000101 0x00001313>;
123 nvmem-cells = <&macaddr_info_8>;
124 nvmem-cell-names = "mac-address";
126 qca956x-serdes-fixup;
136 nvmem-cells = <&macaddr_info_8>, <&calibration_ath9k>;
137 nvmem-cell-names = "mac-address", "calibration";
141 compatible = "nvmem-cells";
142 #address-cells = <1>;
145 macaddr_info_8: macaddr@8 {