ath79: use caldata partition label consistently
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_tplink_archer-x7-v5.dtsi
index 5fcbf7390a02c1e57c10a7f9709e5735daba15e6..8d6e1ed9f98240ce19f33fa08c1c7fe932e8f558 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>
        };
 
        aliases {
-               led-boot = &system;
-               led-failsafe = &system;
-               led-running = &system;
-               led-upgrade = &system;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
+               label-mac-device = &eth0;
        };
 
-       gpio_leds: leds {
+       leds {
                compatible = "gpio-leds";
 
-               system: system {
+               led_system: system {
                        label = "tp-link:green:system";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        default-state = "on";
@@ -40,7 +40,7 @@
                        linux,default-trigger = "phy0tpt";
                };
 
-               led_wlan2g: wlan2g {
+               wlan2g {
                        label = "tp-link:green:wlan2g";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
@@ -82,7 +82,7 @@
                };
        };
 
-       gpio_keys: keys {
+       keys: keys {
                compatible = "gpio-keys";
 
                wps {
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
        phy0: ethernet-phy@0 {
                reg = <0>;
                phy-mode = "sgmii";
+               qca,mib-poll-interval = <500>;
 
                qca,ar8327-initvals = <
-                       0x04 0x00080080 /* PORT0 PAD MODE CTRL */
-                       0x10 0x81000080 /* POWER_ON_STRIP */
+                       0x04 0x80080080 /* PORT0 PAD MODE CTRL */
+                       0x08 0x00000000 /* PORT5 PAD MODE CTRL */
+                       0x0c 0x00000000 /* PORT6 PAD MODE CTRL */
+                       0x10 0x00000080 /* POWER_ON_STRIP */
                        0x7c 0x0000007e /* PORT0_STATUS */
+                       0x94 0x00000200 /* PORT6_STATUS */
                        >;
        };
 };
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&info 0x8>;
 };