// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+#include "qca956x.dtsi"
+
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "qca956x.dtsi"
-
/ {
aliases {
led-boot = &led_power;
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
wifi2g {
- label = "tp-link:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5g {
- label = "tp-link:green:wifi5g";
+ label = "green:wifi5g";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&spi {
status = "okay";
- num-cs = <1>;
-
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
status = "okay";
};
-&uart {
- status = "okay";
-};
-
&mdio0 {
status = "okay";