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>;
38 compatible = "jedec,spi-nor";
40 spi-max-frequency = <25000000>;
43 compatible = "fixed-partitions";
49 reg = <0x000000 0x020000>;
54 label = "partition-table";
55 reg = <0x020000 0x010000>;
59 info: partition@30000 {
61 reg = <0x030000 0x010000>;
66 compatible = "openwrt,elf";
68 reg = <0x040000 0xd80000>;
73 reg = <0xdc0000 0x030000>;
77 /* df0000-f30000 undefined in vendor firmware */
81 reg = <0xf30000 0x0c0000>;
85 art: partition@ff0000 {
87 reg = <0xff0000 0x010000>;
95 mdio_pins: mdio_pins {
96 /* GPIO 10 as MDIO(0x20), GPIO 8 as MDC(0x21) */
97 pinctrl-single,bits = <0x8 0x00200021 0x00ff00ff>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&mdio_pins>;
109 phy4: ethernet-phy@4 {
111 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
118 phy-handle = <&phy4>;
121 mtd-mac-address = <&info 0x8>;
123 qca956x-serdes-fixup;
133 mtd-cal-data = <&art 0x1000>;
134 mtd-mac-address = <&info 0x8>;