35f4676a150dd97163276e6cce9e0f0983ed9a28
[openwrt/staging/robimarko.git] / target / linux / ipq807x / patches-5.15 / 0054-v6.1-arm64-dts-qcom-replace-deprecated-perst-gpio-with-pe.patch
1 From 0afa47c1b57ba645225b38654869a6e5d2939da5 Mon Sep 17 00:00:00 2001
2 From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
3 Date: Fri, 6 May 2022 18:21:07 +0300
4 Subject: [PATCH] arm64: dts: qcom: replace deprecated perst-gpio with
5 perst-gpios
6
7 Replace deprecated perst-gpio and wake-gpio properties with up-to-date
8 perst-gpios and wake-gpios in the Qualcomm device trees.
9
10 Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
12 Signed-off-by: Bjorn Andersson <andersson@kernel.org>
13 Link: https://lore.kernel.org/r/20220506152107.1527552-9-dmitry.baryshkov@linaro.org
14 ---
15 arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 4 ++--
16 arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi | 4 ++--
17 2 files changed, 4 insertions(+), 4 deletions(-)
18
19 --- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
20 +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
21 @@ -49,12 +49,12 @@
22
23 &pcie0 {
24 status = "okay";
25 - perst-gpio = <&tlmm 61 0x1>;
26 + perst-gpios = <&tlmm 61 0x1>;
27 };
28
29 &pcie1 {
30 status = "okay";
31 - perst-gpio = <&tlmm 58 0x1>;
32 + perst-gpios = <&tlmm 58 0x1>;
33 };
34
35 &pcie_qmp0 {
36 --- a/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi
37 +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi
38 @@ -39,12 +39,12 @@
39
40 &pcie0 {
41 status = "ok";
42 - perst-gpio = <&tlmm 58 0x1>;
43 + perst-gpios = <&tlmm 58 0x1>;
44 };
45
46 &pcie1 {
47 status = "ok";
48 - perst-gpio = <&tlmm 61 0x1>;
49 + perst-gpios = <&tlmm 61 0x1>;
50 };
51
52 &pcie_phy0 {