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>;
37 compatible = "jedec,spi-nor";
39 spi-max-frequency = <25000000>;
42 compatible = "fixed-partitions";
48 reg = <0x000000 0x020000>;
53 label = "partition-table";
54 reg = <0x020000 0x010000>;
58 info: partition@30000 {
60 reg = <0x030000 0x010000>;
65 compatible = "openwrt,elf";
67 reg = <0x040000 0xd80000>;
72 reg = <0xdc0000 0x030000>;
76 /* df0000-f30000 undefined in vendor firmware */
80 reg = <0xf30000 0x0c0000>;
84 art: partition@ff0000 {
86 reg = <0xff0000 0x010000>;
94 mdio_pins: mdio_pins {
95 /* GPIO 10 as MDIO(0x20), GPIO 8 as MDC(0x21) */
96 pinctrl-single,bits = <0x8 0x00200021 0x00ff00ff>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&mdio_pins>;
108 phy4: ethernet-phy@4 {
110 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
117 phy-handle = <&phy4>;
120 mtd-mac-address = <&info 0x8>;
122 qca956x-serdes-fixup;
132 mtd-cal-data = <&art 0x1000>;
133 mtd-mac-address = <&info 0x8>;