ath79: DTS file style update and harmonization
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-mr3020-v1.dts
index 0d8c4defa82273f20800da14371922dadbb86b8f..9b222904e14fd376d4f36f5d0fbb8e150104295f 100644 (file)
 
        aliases {
                serial0 = &uart;
-               led-boot = &system;
-               led-failsafe = &system;
-               led-running = &system;
-               led-upgrade = &system;
+               led-boot = &led_wps;
+               led-failsafe = &led_wps;
+               led-running = &led_wps;
+               led-upgrade = &led_wps;
                label-mac-device = &eth0;
        };
 
@@ -33,7 +33,7 @@
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
 
-               system: wps {
+               led_wps: wps {
                        label = "tp-link:green:wps";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
 };
 
 &spi {
-       num-chipselects = <1>;
        status = "okay";
 
+       num-chipselects = <1>;
+
        /* Spansion S25FL032PIF SPI flash */
        flash@0 {
                compatible = "jedec,spi-nor";
 
 &eth1 {
        status = "okay";
+
        compatible = "syscon", "simple-mfd";
 };
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&uboot 0x1fc00>;
 };