ramips: fix dtc warnings
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / Newifi-D2.dts
index e919338e4eacd4269a7c5b9da044f5010291b76f..253c4e918959246342eae54bcb38a3b6d60d1d24 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "d-team,newifi-d2", "mediatek,mt7621-soc";
        model = "Newifi-D2";
 
+       aliases {
+               led-status = &led_power_blue;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -26,7 +30,7 @@
                        gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
                };
 
-               power-blue {
+               led_power_blue: power-blue {
                        label = "newifi-d2:blue:power";
                        gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
                };
@@ -59,8 +63,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
 
 &pcie {
        status = "okay";
+};
 
-       pcie0 {
-               mt76@0,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
-                       mediatek,mtd-eeprom = <&factory 0x8000>;
-                       ieee80211-freq-limit = <5000000 6000000>;
-               };
+&pcie0 {
+       mt76@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
+               ieee80211-freq-limit = <5000000 6000000>;
        };
+};
 
-       pcie1 {
-               mt76@1,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
-                       mediatek,mtd-eeprom = <&factory 0x0000>;
-               };
+&pcie1 {
+       mt76@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x0000>;
        };
 };