ath79: DTS file style update and harmonization
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9132_tplink_tl-wa901nd-v2.dts
index 2fff08195b12be2f978dbe843604f0c0dbe2f40d..804b71170ee8e4ebffa1d198b956927100f65a79 100644 (file)
        model = "TP-Link TL-WA901ND v2";
 
        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;
        };
 
@@ -45,7 +45,7 @@
        leds {
                compatible = "gpio-leds";
 
-               system: system {
+               led_system: system {
                        label = "tp-link:green:system";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
@@ -73,6 +73,7 @@
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&uboot 0x1fc00>;
 };