ath79: use caldata partition label consistently
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_rosinson_wr818.dts
index a2595d8cd51452a48751b387735920a20dd573e2..028324410fbe5cb840e00a2b9e565504e4653499 100644 (file)
@@ -8,23 +8,23 @@
 
 / {
        model = "ROSINSON WR818";
-       compatible = "rosinson,wr818", "qca,qca9560";
+       compatible = "rosinson,wr818", "qca,qca9563";
 
        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;
        };
 
-       gpio_leds: leds {
+       leds {
                compatible = "gpio-leds";
 
-               system: system {
+               led_system: system {
                        label = "wr818:red:system";
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                };
 };
 
 &spi {
-       num-cs = <1>;
-
        status = "okay";
 
+       num-cs = <1>;
+
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                                read-only;
                        };
 
-                       partition@50000 {
-                               compatible = "denx,uimage";
-                               label = "firmware";
-                               reg = <0x050000 0xf80000>;
-                       };
-
-                       info: partition@fd0000 {
+                       info: partition@50000 {
                                label = "factory";
-                               reg = <0xfd0000 0x010000>;
+                               reg = <0x050000 0x010000>;
                                read-only;
                        };
 
+                       partition@60000 {
+                               compatible = "denx,uimage";
+                               label = "firmware";
+                               reg = <0x060000 0xf80000>;
+                       };
+
                        art: partition@ff0000 {
                                label = "art";
                                reg = <0xff0000 0x010000>;
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
 };