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";
14 led-status = &status_red;
18 bootargs = "console=ttyS0,115200n8";
22 compatible = "gpio-leds";
25 label = "phicomm:blue:status";
26 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
27 default-state = "off";
30 status_red: status_red {
31 label = "phicomm:red:status";
32 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
33 default-state = "off";
37 label = "phicomm:yellow:status";
38 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
39 default-state = "off";
44 compatible = "gpio-keys-polled";
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
52 debounce-interval = <60>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <25000000>;
82 compatible = "fixed-partitions";
88 reg = <0x000000 0x30000>;
94 reg = <0x030000 0x10000>;
100 reg = <0x040000 0x50000>;
106 reg = <0x090000 0xf60000>;
109 art: partition@ff0000 {
111 reg = <0xff0000 0x010000>;
123 phy0: ethernet-phy@0 {
127 qca,ar8327-initvals = <
128 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
129 0x10 0x81000080 /* POWER_ON_STRIP */
130 0x50 0xcc35cc35 /* LED_CTRL0 */
131 0x54 0xcb37cb37 /* LED_CTRL1 */
132 0x58 0x00000000 /* LED_CTRL2 */
133 0x5c 0x00f3cf00 /* LED_CTRL3 */
134 0x7c 0x0000007e /* PORT0_STATUS */
142 pll-data = <0x03000101 0x00000101 0x00001919>;
145 phy-handle = <&phy0>;
150 mtd-cal-data = <&art 0x1000>;