1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca956x.dtsi"
10 bootargs = "console=ttyS0,115200n8";
14 compatible = "gpio-keys";
17 linux,code = <KEY_WPS_BUTTON>;
18 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
29 // Pull up on boot - otherwise the reset button won't work
33 gpios = <11 GPIO_ACTIVE_LOW>;
34 line-name = "reset-button";
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <30000000>;
56 compatible = "fixed-partitions";
62 reg = <0x000000 0x40000>;
68 reg = <0x040000 0x10000>;
74 reg = <0x050000 0x10000>;
80 reg = <0x060000 0x10000>;
86 reg = <0x070000 0x10000>;
93 reg = <0x080000 0xf50000>;
96 art: partition@fd0000 {
98 reg = <0xfd0000 0x010000>;
104 reg = <0xfe0000 0x20000>;
116 phy0: ethernet-phy@0 {
118 qca,mib-poll-interval = <500>;
120 qca,ar8327-initvals = <
121 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
122 0x10 0x81000080 /* POWER_ON_STRIP */
123 0x50 0xcc35cc35 /* LED_CTRL0 */
124 0x54 0xcb37cb37 /* LED_CTRL1 */
125 0x58 0x00000000 /* LED_CTRL2 */
126 0x5c 0x00f3cf00 /* LED_CTRL3 */
127 0x7c 0x0000007e /* PORT0_STATUS */
135 pll-data = <0x03000101 0x00000101 0x00001919>;
138 phy-handle = <&phy0>;