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 /delete-property/ bootargs;
15 led-boot = &led_status_green;
16 led-failsafe = &led_status_green;
17 led-running = &led_status_green;
18 led-upgrade = &led_status_green;
19 label-mac-device = ð0;
23 compatible = "gpio-keys";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
36 label = "blue:status";
37 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
42 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
45 led_status_green: status_green {
46 label = "green:status";
47 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
52 compatible = "linux,wdt-gpio";
53 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
55 /* hw_margin_ms is actually 300s but driver limits it to 60s */
56 hw_margin_ms = <60000>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <40000000>;
77 /* partitions are passed via bootloader */
79 compatible = "fixed-partitions";
85 reg = <0x000000 0x040000>;
91 reg = <0x040000 0x010000>;
96 reg = <0x050000 0x060000>;
102 reg = <0x0b0000 0x7a0000>;
107 reg = <0x850000 0x7a0000>;
110 art: partition@ff0000 {
112 reg = <0xff0000 0x010000>;
124 phy1: ethernet-phy@1 {
130 phy2: ethernet-phy@2 {
134 at803x-override-sgmii-link-check;
141 pll-data = <0x82000101 0x80000101 0x80001313>;
143 mtd-mac-address = <&art 0x0>;
145 phy-mode = "rgmii-id";
146 phy-handle = <&phy1>;
161 pll-data = <0x03000101 0x80000101 0x80001313>;
163 mtd-mac-address = <&art 0x6>;
167 phy-handle = <&phy2>;
173 mtd-cal-data = <&art 0x1000>;
174 mtd-mac-address = <&art 0x0>;
175 mtd-mac-address-increment = <2>;