Skip to content

Commit 1838d92

Browse files
Praveenkumar Iandersson
authored andcommitted
arm64: dts: qcom: ipq5332-rdp441: Enable PCIe phys and controllers
Enable the PCIe controller and PHY nodes for RDP 441. Reviewed-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Praveenkumar I <[email protected]> Signed-off-by: Varadarajan Narayanan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 9ef4554 commit 1838d92

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,34 @@
3232
status = "okay";
3333
};
3434

35+
&pcie0 {
36+
pinctrl-0 = <&pcie0_default>;
37+
pinctrl-names = "default";
38+
39+
perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
40+
wake-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
41+
42+
status = "okay";
43+
};
44+
45+
&pcie0_phy {
46+
status = "okay";
47+
};
48+
49+
&pcie1 {
50+
pinctrl-0 = <&pcie1_default>;
51+
pinctrl-names = "default";
52+
53+
perst-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
54+
wake-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
55+
56+
status = "okay";
57+
};
58+
59+
&pcie1_phy {
60+
status = "okay";
61+
};
62+
3563
&tlmm {
3664
i2c_1_pins: i2c-1-state {
3765
pins = "gpio29", "gpio30";
@@ -40,6 +68,54 @@
4068
bias-pull-up;
4169
};
4270

71+
pcie0_default: pcie0-default-state {
72+
clkreq-n-pins {
73+
pins = "gpio37";
74+
function = "pcie0_clk";
75+
drive-strength = <8>;
76+
bias-pull-up;
77+
};
78+
79+
perst-n-pins {
80+
pins = "gpio38";
81+
function = "gpio";
82+
drive-strength = <8>;
83+
bias-pull-up;
84+
output-low;
85+
};
86+
87+
wake-n-pins {
88+
pins = "gpio39";
89+
function = "pcie0_wake";
90+
drive-strength = <8>;
91+
bias-pull-up;
92+
};
93+
};
94+
95+
pcie1_default: pcie1-default-state {
96+
clkreq-n-pins {
97+
pins = "gpio46";
98+
function = "pcie1_clk";
99+
drive-strength = <8>;
100+
bias-pull-up;
101+
};
102+
103+
perst-n-pins {
104+
pins = "gpio47";
105+
function = "gpio";
106+
drive-strength = <8>;
107+
bias-pull-up;
108+
output-low;
109+
};
110+
111+
wake-n-pins {
112+
pins = "gpio48";
113+
function = "pcie1_wake";
114+
drive-strength = <8>;
115+
bias-pull-up;
116+
};
117+
};
118+
43119
sdc_default_state: sdc-default-state {
44120
clk-pins {
45121
pins = "gpio13";

0 commit comments

Comments
 (0)