mt7620: gsw: make IntPHY and ExtPHY share mdio addr 4 possible
[openwrt/openwrt.git] / target / linux / ramips / dts / ArcherC50V3.dts
index ebb76abcd8ce7b6569d2acd17e2a75b55add2e21..397dc22bbbc4039f4f48ebc0feb8469a2b5ba545 100644 (file)
@@ -9,10 +9,12 @@
        compatible = "tplink,c50-v3", "mediatek,mt7628an-soc";
        model = "TP-Link Archer C50 v3";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
@@ -36,7 +38,7 @@
                        gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "c50-v3:green:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
 &pcie {
        status = "okay";
+};
 
-       pcie-bridge {
-               mt76@0,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
-                       mediatek,mtd-eeprom = <&factory 0x28000>;
-                       ieee80211-freq-limit = <5000000 6000000>;
-                       mtd-mac-address = <&factory 0xf100>;
-                       mtd-mac-address-increment = <(-1)>;
-               };
+&pcie0 {
+       mt76@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x28000>;
+               ieee80211-freq-limit = <5000000 6000000>;
+               mtd-mac-address = <&factory 0xf100>;
+               mtd-mac-address-increment = <(-1)>;
        };
 };