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>
11 compatible = "gpio-keys";
14 linux,code = <KEY_WPS_BUTTON>;
15 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
16 debounce-interval = <60>;
20 linux,code = <KEY_RESTART>;
21 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
22 debounce-interval = <60>;
35 compatible = "jedec,spi-nor";
37 spi-max-frequency = <50000000>;
40 compatible = "fixed-partitions";
46 reg = <0x000000 0x40000>;
52 reg = <0x040000 0x10000>;
58 reg = <0x050000 0x10000>;
64 reg = <0x060000 0x10000>;
71 reg = <0x070000 0xf80000>;
74 art: partition@ff0000 {
76 reg = <0xff0000 0x010000>;
86 phy0: ethernet-phy@0 {
89 qca,mib-poll-interval = <500>;
91 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
93 qca,ar8327-initvals = <
94 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
95 0x10 0x81000080 /* POWER_ON_STRAP */
96 0x50 0xcc35cc35 /* LED_CTRL0 */
97 0x54 0xcb37cb37 /* LED_CTRL1 */
98 0x58 0x00000000 /* LED_CTRL2 */
99 0x5c 0x00f3cf00 /* LED_CTRL3 */
100 0x7c 0x0000007e /* PORT0_STATUS */
108 pll-data = <0x03000101 0x00000101 0x00001919>;
111 phy-handle = <&phy0>;