1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "compex,wpj558-16m", "qca,qca9558";
10 model = "Compex WPJ558 (16MB flash)";
13 label-mac-device = ð0;
15 led-failsafe = &led_sig4;
16 led-running = &led_sig4;
17 led-upgrade = &led_sig4;
21 compatible = "gpio-leds";
25 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
29 label = "yellow:sig2";
30 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
35 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
49 linux,code = <KEY_RESTART>;
50 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
51 debounce-interval = <60>;
56 compatible = "gpio-beeper";
57 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <50000000>;
71 compatible = "fixed-partitions";
77 reg = <0x000000 0x030000>;
81 compatible = "fixed-layout";
85 macaddr_uboot_2e010: macaddr@2e010 {
92 compatible = "denx,uimage";
94 reg = <0x030000 0xfc0000>;
97 art: partition@ff0000 {
99 reg = <0xff0000 0x010000>;
109 phy0: ethernet-phy@0 {
112 qca,ar8327-initvals = <
113 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
114 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
115 0x50 0xcc35cc35 /* LED_CTRL0 */
116 0x54 0x00000000 /* LED_CTRL1 */
117 0x58 0x00000000 /* LED_CTRL2 */
118 0x5c 0x03ffff00 /* LED_CTRL3 */
119 0x7c 0x0000007e /* PORT0_STATUS */
120 0x94 0x0000007e /* PORT6 STATUS */
128 pll-data = <0x56000000 0x00000101 0x00001616>;
129 phy-handle = <&phy0>;
131 nvmem-cells = <&macaddr_uboot_2e010>;
132 nvmem-cell-names = "mac-address";
138 mtd-cal-data = <&art 0x1000>;