ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / WSR-600.dts
index b61ea0b61391c2a4cc416c2e10c1444bba6812c6..21cb6ba267ef89bfc6f4bb5a85730d5a29f059b9 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "buffalo,wsr-600dhp", "mediatek,mt7621-soc";
        model = "Buffalo WSR-600DHP";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x4000000>;
@@ -21,7 +25,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "wsr-600:green:power";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
        pcie0 {
                rt5592@0,0 {
+                       reg = <0x0000 0 0 0 0>;
+                       device_type = "pci";
                        ralink,mtd-eeprom = <&factory 0x8000>;
                };
        };
 
        pcie1 {
                mt76@1,0 {
+                       reg = <0x0000 0 0 0 0>;
+                       device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
                };
        };