// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca956x.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "qca956x.dtsi"
-
/ {
- chosen {
- bootargs = "console=ttyS0,115200n8";
- };
-
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
leds: leds {
compatible = "gpio-leds";
wps {
- label = "elecom:red:wps";
+ label = "red:wps";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};
debounce-interval = <60>;
};
- button_wps {
+ wps {
label = "wps";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
&spi {
status = "okay";
- num-cs = <1>;
flash@0 {
compatible = "jedec,spi-nor";
pll-data = <0x03000101 0x00000101 0x00001919>;
- mtd-mac-address = <&ART 0x1002>;
- mtd-mac-address-increment = <(-1)>;
+ mtd-mac-address = <&art 0x1002>;
+ mac-address-increment = <(-1)>;
phy-mode = "sgmii";
phy-handle = <&phy0>;
};
-&uart {
- status = "okay";
-};
-
&wmac {
status = "okay";
- mtd-cal-data = <&ART 0x1000>;
+ mtd-cal-data = <&art 0x1000>;
};