* [PATCH] arm64: dts: qcom: aim300: Enable PCIe0 for WLAN
@ 2024-01-26 8:22 Qiang Yu
2024-02-09 21:17 ` Konrad Dybcio
0 siblings, 1 reply; 2+ messages in thread
From: Qiang Yu @ 2024-01-26 8:22 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt
Cc: linux-arm-msm, devicetree, linux-kernel, quic_cang, quic_mrana,
quic_qianyu
WLAN is connected to PCIe0 on aim300 board. Hence, enable PCIe0 to let
WLAN work.
Signed-off-by: Qiang Yu <quic_qianyu@quicinc.com>
---
This change is tested and rebased on https://lore.kernel.org/linux-arm-msm/20240119100621.11788-7-quic_tengfan@quicinc.com/
arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts b/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts
index 20a3c97..d42cfac 100644
--- a/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts
+++ b/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts
@@ -251,7 +251,7 @@
&gcc {
clocks = <&bi_tcxo_div2>, <&sleep_clk>,
- <0>,
+ <&pcie0_phy>,
<&pcie1_phy>,
<0>,
<&ufs_mem_phy 0>,
@@ -349,6 +349,23 @@
status = "okay";
};
+&pcie0 {
+ wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
+ perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pcie0_default_state>;
+
+ status = "okay";
+};
+
+&pcie0_phy {
+ vdda-phy-supply = <&vreg_l1e_0p88>;
+ vdda-pll-supply = <&vreg_l3e_1p2>;
+
+ status = "okay";
+};
+
&pm8550_flash {
status = "okay";
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: qcom: aim300: Enable PCIe0 for WLAN
2024-01-26 8:22 [PATCH] arm64: dts: qcom: aim300: Enable PCIe0 for WLAN Qiang Yu
@ 2024-02-09 21:17 ` Konrad Dybcio
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2024-02-09 21:17 UTC (permalink / raw)
To: Qiang Yu, andersson, robh+dt, krzysztof.kozlowski+dt, conor+dt
Cc: linux-arm-msm, devicetree, linux-kernel, quic_cang, quic_mrana
On 26.01.2024 09:22, Qiang Yu wrote:
> WLAN is connected to PCIe0 on aim300 board. Hence, enable PCIe0 to let
> WLAN work.
>
> Signed-off-by: Qiang Yu <quic_qianyu@quicinc.com>
> ---
> This change is tested and rebased on https://lore.kernel.org/linux-arm-msm/20240119100621.11788-7-quic_tengfan@quicinc.com/
>
> arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts | 19 ++++++++++++++++++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts b/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts
> index 20a3c97..d42cfac 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts
> +++ b/arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts
> @@ -251,7 +251,7 @@
>
> &gcc {
> clocks = <&bi_tcxo_div2>, <&sleep_clk>,
> - <0>,
> + <&pcie0_phy>,
> <&pcie1_phy>,
> <0>,
> <&ufs_mem_phy 0>,
> @@ -349,6 +349,23 @@
> status = "okay";
> };
>
> +&pcie0 {
> + wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
> + perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&pcie0_default_state>;
property-n
property-names
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-09 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-26 8:22 [PATCH] arm64: dts: qcom: aim300: Enable PCIe0 for WLAN Qiang Yu
2024-02-09 21:17 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).