1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "compex,wpj344-16m", "qca,ar9344";
10 model = "Compex WPJ344 (16MB flash)";
13 label-mac-device = ð0;
14 led-boot = &led_status;
15 led-failsafe = &led_status;
16 led-running = &led_status;
17 led-upgrade = &led_status;
21 compatible = "gpio-leds";
24 label = "green:status";
25 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
30 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
34 label = "yellow:sig2";
35 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys";
53 linux,code = <KEY_RESTART>;
54 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
55 debounce-interval = <60>;
61 clock-frequency = <40000000>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <25000000>;
73 compatible = "fixed-partitions";
79 reg = <0x000000 0x030000>;
85 reg = <0x030000 0xfc0000>;
86 compatible = "denx,uimage";
89 art: partition@ff0000 {
91 reg = <0xff0000 0x010000>;
113 mtd-cal-data = <&art 0x1000>;
121 phy0: ethernet-phy@0 {
125 qca,ar8327-initvals = <
126 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
127 0x10 0x80000080 /* POWER_ON_STRAP */
128 0x50 0x00000000 /* LED_CTRL0 */
129 0x54 0xc737c737 /* LED_CTRL1 */
130 0x58 0x00000000 /* LED_CTRL2 */
131 0x5c 0x00c30c00 /* LED_CTRL3 */
132 0x7c 0x0000007e /* PORT0_STATUS */
140 pll-data = <0x06000000 0x00000101 0x00001616>;
142 mtd-mac-address = <&uboot 0x2e010>;
145 phy-handle = <&phy0>;