]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: mt7622: add PCIe nodes for BananaPi-R64
authorFrank Wunderlich <frank-w@public-files.de>
Fri, 14 Aug 2020 07:10:17 +0000 (09:10 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 19 Aug 2020 21:38:14 +0000 (17:38 -0400)
this patch adds PCIe-Nodes for BananaPi R64

original nodes from Chuanjia Liu for mt7622-rfb

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
arch/arm/dts/mt7622-bpi-r64.dts

index 768f15bc2ce81b92afe4a75c7c98509049158f91..c89e816878b744d219e49042e9592f4b5bdf18c8 100644 (file)
        };
 };
 
+&pcie {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie0_pins>, <&pcie1_pins>;
+       status = "okay";
+
+       pcie@0,0 {
+               status = "okay";
+       };
+
+       pcie@1,0 {
+               status = "okay";
+       };
+};
 
 &pinctrl {
+       pcie0_pins: pcie0-pins {
+               mux {
+                       function = "pcie";
+                       groups = "pcie0_pad_perst",
+                                "pcie0_1_waken",
+                                "pcie0_1_clkreq";
+               };
+       };
+
+       pcie1_pins: pcie1-pins {
+               mux {
+                       function = "pcie";
+                       groups = "pcie1_pad_perst",
+                                "pcie1_0_waken",
+                                "pcie1_0_clkreq";
+               };
+       };
+
        snfi_pins: snfi-pins {
                mux {
                        function = "flash";