// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "ar9330.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "ar9330.dtsi"
-
/ {
model = "PQI Air-Pen";
compatible = "pqi,air-pen", "qca,ar9330";
aliases {
- serial0 = &uart;
led-boot = &led_wlan;
led-failsafe = &led_wlan;
led-upgrade = &led_wlan;
compatible = "gpio-leds";
led_wlan: wlan {
- label = "air-pen:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "air-pen:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
};
};
};
};
-&uart {
- status = "okay";
-};
-
&usb {
dr_mode = "host";
status = "okay";
&spi {
status = "okay";
- num-cs = <1>;
-
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;