ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_rosinson_wr818.dts
index 028324410fbe5cb840e00a2b9e565504e4653499..6e45a20aaed934e3d2bc2e4dfee394684c2a1a4a 100644 (file)
@@ -1,19 +1,14 @@
 // 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"
-
 / {
        model = "ROSINSON WR818";
        compatible = "rosinson,wr818", "qca,qca9563";
 
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
-       };
-
        aliases {
                led-boot = &led_system;
                led-failsafe = &led_system;
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "wr818:red:system";
+                       label = "red:system";
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                };
 
                wifi_2g {
-                       label = "wr818:red:wifi2g";
+                       label = "red:wifi2g";
                        gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
        };
 };
 
-&uart {
-       status = "okay";
-};
-
-&gpio {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                                label = "factory";
                                reg = <0x050000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_info_0: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
+                               };
                        };
 
                        partition@60000 {
 &mdio0 {
        status = "okay";
 
-       phy-mask = <0>;
        phy0: ethernet-phy@0 {
                reg = <0>;
                phy-mode = "sgmii";
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&info 0x0>;
+       nvmem-cells = <&macaddr_info_0>;
+       nvmem-cell-names = "mac-address";
        phy-mode = "sgmii";
        phy-handle = <&phy0>;
 };
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       port@2 {
-               reg = <2>;
-               #trigger-source-cells = <0>;
-       };
 };