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 = &led_status_red;
15 led-failsafe = &led_status_red;
16 led-running = &led_status_red;
17 led-upgrade = &led_status_red;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-leds";
28 label = "phicomm:blue:status";
29 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
32 led_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";
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
49 debounce-interval = <60>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <25000000>;
77 compatible = "fixed-partitions";
83 reg = <0x000000 0x30000>;
89 reg = <0x030000 0x10000>;
95 reg = <0x040000 0x50000>;
100 compatible = "denx,uimage";
102 reg = <0x090000 0xf60000>;
105 art: partition@ff0000 {
107 reg = <0xff0000 0x010000>;
119 phy0: ethernet-phy@0 {
123 qca,ar8327-initvals = <
124 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
125 0x10 0x81000080 /* POWER_ON_STRIP */
126 0x50 0xcc35cc35 /* LED_CTRL0 */
127 0x54 0xcb37cb37 /* LED_CTRL1 */
128 0x58 0x00000000 /* LED_CTRL2 */
129 0x5c 0x00f3cf00 /* LED_CTRL3 */
130 0x7c 0x0000007e /* PORT0_STATUS */
138 pll-data = <0x03000101 0x00000101 0x00001919>;
141 phy-handle = <&phy0>;
146 mtd-cal-data = <&art 0x1000>;