Message ID | 20210406202936.22500-1-petr.vorel@gmail.com |
---|---|
State | New |
Headers | show |
Series | [v2,1/1] arm64: dts: qcom: angler: Reserve GPIO ranges | expand |
diff --git a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts index baa55643b40f..fd8e8e1cb2be 100644 --- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts +++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015, Huawei Inc. All rights reserved. * Copyright (c) 2016, The Linux Foundation. All rights reserved. + * Copyright (c) 2021 Petr Vorel <petr.vorel@gmail.com> */ /dts-v1/; @@ -32,3 +33,7 @@ serial@f991e000 { }; }; }; + +&tlmm { + gpio-reserved-ranges = <85 4>; +};
Reserve GPIO pins 85-88 as these aren't meant to be accessible from the application CPUs (causes reboot). Yet another fix similar to 9134586715e3, 5f8d3ab136d0, which is needed to allow angler boot after 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning"). Signed-off-by: Petr Vorel <petr.vorel@gmail.com> --- Changes v1->v2: * Remove <0 4> (not needed) * Remove from commit message: Fixes: 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning") - although fix is needed after 3edfb7bd76bd, I'm not sure if this commit is to blame commits which added/modified DTS. Kind regards, Petr arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 5 +++++ 1 file changed, 5 insertions(+)