OSDN Git Service

arm64: dts: qcom: msm8998: Reserve gpio ranges on MTP
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 30 Oct 2018 05:45:54 +0000 (22:45 -0700)
committerAndy Gross <andy.gross@linaro.org>
Fri, 9 Nov 2018 23:17:53 +0000 (17:17 -0600)
GPIOs 0 through 3 and 81 through 84 are configured to not be accessible
from the application CPUs. Mark them as reserved to allow the MSM8998
MTP to boot after the introduction of 3edfb7bd76bd ("gpiolib: Show
correct direction from the beginning").

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi

index b4276da..11fd1fe 100644 (file)
                };
        };
 };
+
+&tlmm {
+       gpio-reserved-ranges = <0 4>, <81 4>;
+};