ath79: Make upstream ag71xx driver work
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_librerouter_librerouter-v1.dts
index 9e2f67977aacea4974c735389228b110d14ecd9e..5c01126bc447663afb4138788327e9077b0d3a7d 100644 (file)
        };
 
        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;
        };
 
        leds {
                compatible = "gpio-leds";
 
-               system: system {
+               led_system: system {
                        label = "librerouter-v1:green:system";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                        label = "librerouter-v1:blue:status";
                        gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
                };
-
        };
 
-       button {
+       keys {
                compatible = "gpio-keys";
 
                reset {
@@ -52,7 +51,6 @@
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
-
        };
 
        watchdog {
@@ -62,7 +60,6 @@
                hw_margin_ms = <1000>;
                always-running;
        };
-
 };
 
 &pcie0 {
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
                                reg = <0xfd0000 0x20000>;
                        };
 
-                       ART: partition@ff0000 {
-                               label = "ART";
+                       art: partition@ff0000 {
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
        status = "okay";
 
        pll-data = <0xa6000000 0x00000101 0x00001616>;
-       mtd-mac-address = <&ART 0x0>;
+       mtd-mac-address = <&art 0x0>;
 
        phy-handle = <&phy0>;
-
 };
 
 &eth1 {
 
        phy-mode = "sgmii";
        pll-data = <0x03000101 0x00000101 0x00001616>;
-       mtd-mac-address = <&ART 0x6>;
+       mtd-mac-address = <&art 0x6>;
 
        fixed-link {
                speed = <1000>;
 &wmac {
        status = "okay";
 
-       mtd-cal-data = <&ART 0x1000>;
-       mtd-mac-address = <&ART 0xc>;
+       mtd-cal-data = <&art 0x1000>;
+       mtd-mac-address = <&art 0xc>;
 };