ramips: fix dtc warnings
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / WLR-6000.dts
index 4f8ba6fff9cf8179a93081b881108e2fc7104bd5..98c49a4b21e4b56cbd1034ffafa272782bf66068 100644 (file)
@@ -9,10 +9,12 @@
        compatible = "sitecom,wlr-6000", "ralink,rt3883-soc";
        model = "Sitecom WLR-6000";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
@@ -25,7 +27,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "wlr-6000:red:power";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
 &pci {
        status = "okay";
-       pinctrl-names = "default";
-       pinctrl-0 = <&pci_pins>;
-
-       pci_pins: pci {
-               pci {
-                       ralink,group = "pci";
-                       ralink,function = "pci-fnc";
-               };
-       };
+};
 
-       host-bridge {
-               pci-bridge@1 {
-                       status = "okay";
+&pci1 {
+       status = "okay";
 
-                       wifi@1814,3091 {
-                               compatible = "pci1814,3091";
-                               reg = <0x10000 0 0 0 0>;
-                               ralink,mtd-eeprom = <&factory 0x8000>;
-                       };
-               };
+       wifi@0,0 {
+               compatible = "pci1814,3091";
+               reg = <0x10000 0 0 0 0>;
+               ralink,mtd-eeprom = <&factory 0x8000>;
        };
 };