summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorFrank Wunderlich <frank-w@public-files.de>2020-08-14 09:10:17 +0200
committerTom Rini <trini@konsulko.com>2020-08-19 17:38:14 -0400
commitf08c2c2d87cac19d4ca8cc56a8ebc1139bc7294f (patch)
tree4cde2b4f0a911f6d064896fe7de63a947ec4123e /arch/arm/dts
parent8ad2fc413f98be00460c54633e05ace2cb13c6c9 (diff)
arm: dts: mt7622: add PCIe nodes for BananaPi-R64
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>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/mt7622-bpi-r64.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/dts/mt7622-bpi-r64.dts b/arch/arm/dts/mt7622-bpi-r64.dts
index 768f15bc2c..c89e816878 100644
--- a/arch/arm/dts/mt7622-bpi-r64.dts
+++ b/arch/arm/dts/mt7622-bpi-r64.dts
@@ -46,8 +46,39 @@
};
};
+&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";