ramips: fix dtc warnings
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / PSG1208.dts
index f008ec7ab742c2d4a64b09cb389eb34ac1069807..16c60371fe10aa3bfc3483b2058b7044395ff7f7 100644 (file)
@@ -9,10 +9,14 @@
        compatible = "phicomm,psg1208", "ralink,mt7620a-soc";
        model = "Phicomm PSG1208";
 
+       aliases {
+               led-status = &led_wps;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
-               wan {
+               led_wps: wps {
                        label = "psg1208:white:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
@@ -25,8 +29,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
 
 &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>;
-               };
+&pcie0 {
+       mt76@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
+               ieee80211-freq-limit = <5000000 6000000>;
        };
 };