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>;
90 mdio_pins: mdio_pins {
91 /* GPIO 10 as MDIO(0x20), GPIO 8 as MDC(0x21) */
92 pinctrl-single,bits = <0x8 0x00200021 0x00ff00ff>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&mdio_pins>;
104 phy4: ethernet-phy@4 {
106 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
113 phy-handle = <&phy4>;
116 mtd-mac-address = <&info 0x8>;
118 qca956x-serdes-fixup;
128 mtd-cal-data = <&art 0x1000>;
129 mtd-mac-address = <&info 0x8>;