ath79: drop and consolidate redundant chosen/bootargs
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9531_tplink_archer-d50-v1.dts
index 25c1d050da914536780981b2e426605fabab3a0a..3aa6bd1367b0e24d3930bfe7f5262a5b4cf24d08 100644 (file)
        compatible = "tplink,archer-d50-v1", "qca,qca9531";
        model = "TP-Link Archer D50 v1";
 
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
+       aliases {
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
+               label-mac-device = &wmac;
        };
 
-       gpio_leds: leds {
+       leds {
                compatible = "gpio-leds";
 
-               led_wlan2g: wlan2g {
+               wlan2g {
                        label = "tp-link:white:wlan2g";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
-               led_wlan5g: wlan5g {
+               wlan5g {
                        label = "tp-link:white:wlan5g";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
-                };
+               };
 
-               qss_led: qss {
+               qss {
                        label = "tp-link:white:qss";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
@@ -56,7 +60,7 @@
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
-               system: system{
+               led_system: system {
                        label = "tp-link:white:system";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       uboot:  partition@0 {
+                       partition@0 {
                                label = "u-boot";
                                reg = <0x000000 0x020000>;
                                read-only;
 
 &eth0 {
        status = "okay";
+
        phy-handle = <&swphy4>;
 
        mtd-mac-address = <&romfile 0xf100>;
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&romfile 0xf100>;
 };