ath79: add support for Compex WPJ531 (16M)
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / qca953x_tplink_tl-wr810n.dtsi
index 649e538fc03523d59d136e7c918c3dcbac62cadf..fcfd82702cd8ceed112f61fd7bc02c20925d4d32 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
@@ -7,10 +6,6 @@
 #include "qca953x.dtsi"
 
 / {
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
-       };
-
        aliases {
                led-boot = &led_system;
                led-failsafe = &led_system;
@@ -19,7 +14,7 @@
                label-mac-device = &eth1;
        };
 
-       gpio_leds: leds {
+       leds {
                compatible = "gpio-leds";
 
                led_system: system {
@@ -62,6 +57,7 @@
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
@@ -74,7 +70,7 @@
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       uboot:  partition@0 {
+                       uboot: partition@0 {
                                label = "u-boot";
                                reg = <0x000000 0x020000>;
                                read-only;
 
 &eth0 {
        status = "okay";
+
        phy-handle = <&swphy4>;
 
        mtd-mac-address = <&uboot 0x1fc00>;
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&uboot 0x1fc00>;
 };