ath79: drop and consolidate redundant chosen/bootargs
[openwrt/staging/stintel.git] / target / linux / ath79 / dts / qca9563_tplink_archer-c7-v4.dts
index b5f5af6f22cbd587c225c493faf7820e89257003..4b45fa6da6b0e9d3e4b67dcae56f9a721463d7e7 100644 (file)
        compatible = "tplink,archer-c7-v4", "qca,qca9563";
        model = "TP-Link Archer C7 v4";
 
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
-       };
-
        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;
        };
 
        led_spi {
@@ -26,8 +23,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               sck-gpio = <&gpio 15 GPIO_ACTIVE_HIGH>;         // 74HC595 SRCLK (Serial Clock)
-               mosi-gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;        // 74HC595 SER (Serial)
+               sck-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;        // 74HC595 SRCLK (Serial Clock)
+               mosi-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;       // 74HC595 SER (Serial)
                cs-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;         // 74HC595 RCLK (Register Clock)
                num-chipselects = <1>;
 
@@ -60,7 +57,7 @@
        leds {
                compatible = "gpio-leds";
 
-               system: system {
+               led_system: system {
                        label = "tp-link:green:system";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                        debounce-interval = <60>;
                };
        };
-
 };
 
 &pcie {
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&info 0x8>;
 };