ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / BDCOM-WAP2100-SK.dts
index 62a87c844465e0d09476ba3f962a6b9fa1925b9a..e71d14c6abff4e44965cf0bd4d351b461107cf79 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 /dts-v1/;
 
 #include "mt7620a.dtsi"
@@ -18,7 +19,7 @@
                bootargs = "console=ttyS0,115200";
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                usb {
@@ -39,7 +40,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
@@ -66,6 +67,7 @@
                spi-max-frequency = <10000000>;
 
                partitions {
+                       compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
 
@@ -88,6 +90,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x50000 0xf70000>;
                        };
        ralink,mtd-eeprom = <&factory 0>;
 };
 
+&pcie {
+       status = "okay";
+};
+
+&pcie0 {
+       wifi@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
+               ieee80211-freq-limit = <5000000 6000000>;
+       };
+};
+
 &pinctrl {
        state_default: pinctrl0 {
                default {