Merge tag 'u-boot-imx-20200825' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[platform/kernel/u-boot.git] / arch / arm / dts / mt7623n-bananapi-bpi-r2.dts
index 84a77fd..ef07369 100644 (file)
@@ -7,6 +7,7 @@
 
 /dts-v1/;
 #include "mt7623.dtsi"
+#include "mt7623-u-boot.dtsi"
 
 / {
        model = "Bananapi BPI-R2";
        };
 };
 
+&eth {
+       status = "okay";
+       mediatek,gmac-id = <0>;
+       phy-mode = "rgmii";
+       mediatek,switch = "mt7530";
+       reset-gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
+
+       fixed-link {
+               speed = <1000>;
+               full-duplex;
+       };
+};
+
 &mmc0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc0_pins_default>;
                };
        };
 
+       pcie_default: pcie-default {
+               mux {
+                       function = "pcie";
+                       groups =  "pcie0_0_perst", "pcie1_0_perst";
+               };
+       };
+
        uart0_pins_a: uart0-default {
                mux {
                        function = "uart";
        };
 };
 
+&pcie {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie_default>;
+       status = "okay";
+
+       pcie@0,0 {
+               status = "okay";
+       };
+
+       pcie@1,0 {
+               status = "okay";
+       };
+};
+
+&pcie0_phy {
+       status = "okay";
+};
+
+&pcie1_phy {
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins_a>;
        pinctrl-0 = <&uart2_pins_a>;
        status = "okay";
 };
+
+&usb1 {
+       status = "okay";
+};
+
+&u3phy1 {
+       status = "okay";
+};
+
+&usb2 {
+       status = "okay";
+};
+
+&u3phy2 {
+       status = "okay";
+};