1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 label-mac-device = ð0;
18 compatible = "gpio-keys";
21 label = "Reset button";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
29 compatible = "gpio-leds";
33 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0tpt";
38 label = "green:system";
39 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <25000000>;
71 partitions: partitions {
72 compatible = "fixed-partitions";
78 reg = <0x000000 0x040000>;
84 reg = <0x040000 0x010000>;
88 pridata: partition@50000 {
90 reg = <0x050000 0x010000>;
94 art: partition@60000 {
96 reg = <0x060000 0x010000>;
106 phy0: ethernet-phy@0 {
109 qca,ar8327-initvals = <
110 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
111 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
112 0x10 0x81000080 /* POWER_ON_STRAP */
113 0x50 0xcc35cc35 /* LED_CTRL0 */
114 0x54 0xca35ca35 /* LED_CTRL1 */
115 0x58 0xc935c935 /* LED_CTRL2 */
116 0x5c 0x03ffff00 /* LED_CTRL3 */
117 0x7c 0x0000007e /* PORT0_STATUS */
118 0x94 0x0000007e /* PORT6 STATUS */
126 pll-data = <0x56000000 0x00000101 0x00001616>;
128 phy-handle = <&phy0>;
130 mtd-mac-address = <&pridata 0x400>;
131 mtd-mac-address-increment = <1>;
137 pll-data = <0x03000101 0x00000101 0x00001616>;
139 mtd-mac-address = <&pridata 0x400>;
166 mtd-cal-data = <&art 0x1000>;