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 compatible = "gpio-keys";
13 linux,code = <KEY_WPS_BUTTON>;
14 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
15 debounce-interval = <60>;
19 linux,code = <KEY_RESTART>;
20 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
21 debounce-interval = <60>;
40 compatible = "jedec,spi-nor";
42 spi-max-frequency = <50000000>;
45 compatible = "fixed-partitions";
51 reg = <0x000000 0x40000>;
57 reg = <0x040000 0x10000>;
63 reg = <0x050000 0x10000>;
69 reg = <0x060000 0x10000>;
75 reg = <0x070000 0x10000>;
82 reg = <0x080000 0xf50000>;
85 art: partition@fd0000 {
87 reg = <0xfd0000 0x010000>;
93 reg = <0xfe0000 0x20000>;
105 phy0: ethernet-phy@0 {
107 qca,mib-poll-interval = <500>;
108 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
110 qca,ar8327-initvals = <
111 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
112 0x10 0x81000080 /* POWER_ON_STRAP */
113 0x50 0xcc35cc35 /* LED_CTRL0 */
114 0x54 0xcb37cb37 /* LED_CTRL1 */
115 0x58 0x00000000 /* LED_CTRL2 */
116 0x5c 0x00f3cf00 /* LED_CTRL3 */
117 0x7c 0x0000007e /* PORT0_STATUS */
125 pll-data = <0x03000101 0x00000101 0x00001919>;
128 phy-handle = <&phy0>;