diff options
| author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-11-02 17:45:32 -0400 |
|---|---|---|
| committer | Andy Gross <andy.gross@linaro.org> | 2018-11-09 18:16:55 -0500 |
| commit | 5f8d3ab136d0ccb59c4d628d8f85e0d8f2761d07 (patch) | |
| tree | b7b52f327ef15c47908dfe7b5cd70efa0bc04ca0 | |
| parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
arm64: dts: sdm845-mtp: Reserve reserved gpios
With the introduction of commit 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>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Gross <andy.gross@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 @@ | |||
| 352 | status = "okay"; | 352 | status = "okay"; |
| 353 | }; | 353 | }; |
| 354 | 354 | ||
| 355 | &tlmm { | ||
| 356 | gpio-reserved-ranges = <0 4>, <81 4>; | ||
| 357 | }; | ||
| 358 | |||
| 355 | &uart9 { | 359 | &uart9 { |
| 356 | status = "okay"; | 360 | status = "okay"; |
| 357 | }; | 361 | }; |
