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"
10 model = "Phicomm K2T";
11 compatible = "phicomm,k2t", "qca,qca9563";
14 led-boot = &status_red;
15 led-failsafe = &status_red;
16 led-running = &status_red;
17 led-upgrade = &status_red;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-leds";
28 label = "phicomm:blue:status";
29 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
32 status_red: status_red {
33 label = "phicomm:red:status";
34 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
38 label = "phicomm:yellow:status";
39 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys-polled";
48 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
50 debounce-interval = <60>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <25000000>;
78 compatible = "fixed-partitions";
84 reg = <0x000000 0x30000>;
90 reg = <0x030000 0x10000>;
96 reg = <0x040000 0x50000>;
101 compatible = "denx,uimage";
103 reg = <0x090000 0xf60000>;
106 art: partition@ff0000 {
108 reg = <0xff0000 0x010000>;
120 phy0: ethernet-phy@0 {
124 qca,ar8327-initvals = <
125 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
126 0x10 0x81000080 /* POWER_ON_STRIP */
127 0x50 0xcc35cc35 /* LED_CTRL0 */
128 0x54 0xcb37cb37 /* LED_CTRL1 */
129 0x58 0x00000000 /* LED_CTRL2 */
130 0x5c 0x00f3cf00 /* LED_CTRL3 */
131 0x7c 0x0000007e /* PORT0_STATUS */
139 pll-data = <0x03000101 0x00000101 0x00001919>;
142 phy-handle = <&phy0>;
147 mtd-cal-data = <&art 0x1000>;