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>;
43 compatible = "jedec,spi-nor";
45 spi-max-frequency = <30000000>;
48 compatible = "fixed-partitions";
54 reg = <0x000000 0x40000>;
60 reg = <0x040000 0x10000>;
66 reg = <0x050000 0x10000>;
72 reg = <0x060000 0x10000>;
78 reg = <0x070000 0x10000>;
85 reg = <0x080000 0xf50000>;
88 art: partition@fd0000 {
90 reg = <0xfd0000 0x010000>;
96 reg = <0xfe0000 0x20000>;
108 phy0: ethernet-phy@0 {
110 qca,mib-poll-interval = <500>;
111 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
113 qca,ar8327-initvals = <
114 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
115 0x10 0x81000080 /* POWER_ON_STRIP */
116 0x50 0xcc35cc35 /* LED_CTRL0 */
117 0x54 0xcb37cb37 /* LED_CTRL1 */
118 0x58 0x00000000 /* LED_CTRL2 */
119 0x5c 0x00f3cf00 /* LED_CTRL3 */
120 0x7c 0x0000007e /* PORT0_STATUS */
128 pll-data = <0x03000101 0x00000101 0x00001919>;
131 phy-handle = <&phy0>;