1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca956x.dtsi"
11 bootargs = "console=ttyS0,115200n8";
15 compatible = "gpio-keys";
18 linux,code = <KEY_WPS_BUTTON>;
19 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
20 debounce-interval = <60>;
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
30 // Pull up on boot - otherwise the reset button won't work
34 gpios = <11 GPIO_ACTIVE_LOW>;
35 line-name = "reset-button";
52 compatible = "jedec,spi-nor";
54 spi-max-frequency = <30000000>;
57 compatible = "fixed-partitions";
63 reg = <0x000000 0x40000>;
69 reg = <0x040000 0x10000>;
75 reg = <0x050000 0x10000>;
81 reg = <0x060000 0x10000>;
87 reg = <0x070000 0x10000>;
94 reg = <0x080000 0xf50000>;
97 art: partition@fd0000 {
99 reg = <0xfd0000 0x010000>;
105 reg = <0xfe0000 0x20000>;
117 phy0: ethernet-phy@0 {
119 qca,mib-poll-interval = <500>;
121 qca,ar8327-initvals = <
122 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
123 0x10 0x81000080 /* POWER_ON_STRIP */
124 0x50 0xcc35cc35 /* LED_CTRL0 */
125 0x54 0xcb37cb37 /* LED_CTRL1 */
126 0x58 0x00000000 /* LED_CTRL2 */
127 0x5c 0x00f3cf00 /* LED_CTRL3 */
128 0x7c 0x0000007e /* PORT0_STATUS */
136 pll-data = <0x03000101 0x00000101 0x00001919>;
139 phy-handle = <&phy0>;