diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-11-02 14:23:03 -0700 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-11-06 22:57:49 -0800 |
commit | 689efa284bd29fadb2c2782d73576d2e196082bb (patch) | |
tree | 66e7559ec956a1784776e11402335ac73b2f57eb | |
parent | 910dbed0b1fa2d01e37aec378325e9045aa7acd4 (diff) |
arm64: dts: sdm845-mtp: Reserve reserved gpios
With the introduction of 3edfb7bd76bd ("gpiolib: Show correct direction
from the beginning") the gpiolib will attempt to read the direction of
all pins, which triggers a read from protected register regions.
The pins 0 through 3 and 81 through 84 are protected, so mark these as
reserved.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index eedfaf8922e2..d667eee4e6d0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -352,6 +352,10 @@ status = "okay"; }; +&tlmm { + gpio-reserved-ranges = <0 4>, <81 4>; +}; + &uart9 { status = "okay"; }; |