ramips: fix dtc warnings
[openwrt/openwrt.git] / target / linux / ramips / dts / ki_rb.dts
index 8b27063a46becad24c6415e2bcba68cdd8a4fe00..3fd07e0105a91f2abda55b0c83b784a57cfd689f 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "zyxel,keenetic-extra-ii", "mediatek,mt7628an-soc";
        model = "ZyXEL Keenetic Extra II";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
@@ -20,8 +24,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
@@ -46,7 +48,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "keenetic-extra-ii:green:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
 
 &pcie {
        status = "okay";
+};
 
-       pcie-bridge {
-               mt76@0,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
-                       mediatek,mtd-eeprom = <&factory 0x8000>;
-                       ieee80211-freq-limit = <5000000 6000000>;
-                       mtd-mac-address = <&factory 0x8004>;
-               };
+&pcie0 {
+       mt76@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
+               ieee80211-freq-limit = <5000000 6000000>;
+               mtd-mac-address = <&factory 0x8004>;
        };
 };