1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ð0;
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
19 compatible = "gpio-leds";
23 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
27 label = "blue:wlan2g";
28 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "phy1tpt";
33 label = "blue:wlan5g";
34 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0tpt";
39 label = "green:lan_link";
40 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
44 label = "green:lan_data";
45 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
55 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
60 compatible = "gpio-keys";
63 label = "Reset button";
64 linux,code = <KEY_RESTART>;
65 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
66 debounce-interval = <60>;
70 label = "Power button";
71 linux,code = <KEY_POWER>;
72 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
73 debounce-interval = <60>;
77 label = "LED control button";
79 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
80 debounce-interval = <60>;
85 linux,code = <KEY_WPS_BUTTON>;
86 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
87 debounce-interval = <60>;
92 compatible = "virtual,mdio-gpio";
94 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>, /* MDC */
95 <&gpio 4 GPIO_ACTIVE_HIGH>; /* MDIO */
99 phy4: ethernet-phy@4 {
101 device_type = "ethernet-phy";
102 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <25000000>;
119 partitions: partitions {
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
131 phy-handle = <&phy4>;
133 mtd-mac-address = <&info 0x8>;
139 mtd-cal-data = <&art 0x1000>;
140 mtd-mac-address = <&info 0x8>;