1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 compatible = "gpio-keys";
13 label = "WiFi on/off button";
14 linux,code = <KEY_RFKILL>;
15 linux,input-type = <EV_SW>;
16 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
17 debounce-interval = <60>;
22 linux,code = <KEY_WPS_BUTTON>;
23 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
28 label = "Reset button";
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
37 gpio_usb_power: usb_power {
47 phy17: ethernet-phy@11 {
49 phy-mode = "rgmii-id";
53 compatible = "qca,ar8327";
55 qca,ar8327-initvals = <
56 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
57 0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
58 0x10 0x81000080 /* POWER_ON_STRAP */
59 0x50 0xffb7ffb7 /* LED_CTRL0 */
60 0x54 0xffb7ffb7 /* LED_CTRL1 */
61 0x58 0xffb7ffb7 /* LED_CTRL2 */
62 0x5c 0x03ffff00 /* LED_CTRL3 */
63 0x7c 0x0000007e /* PORT0_STATUS */
64 0x94 0x0000007e /* PORT6 STATUS */
72 phy1: ethernet-phy@1 {
82 pll-data = <0xa6000000 0x00000101 0x00001616>;
83 phy-handle = <&phy17>;
94 pll-data = <0x03000101 0x00000101 0x00001616>;
106 mtd-cal-data = <&art 0x1000>;
122 #trigger-source-cells = <0>;
132 #trigger-source-cells = <0>;