commit f890f89d9a80fffbfa7ca791b78927e5b8aba869 upstream. Reserve GPIO pins 85-88 as these aren't meant to be accessible from the application CPUs (causes reboot). Yet another fix similar to9134586715,5f8d3ab136, which is needed to allow angler to boot after3edfb7bd76("gpiolib: Show correct direction from the beginning"). Fixes:feeaf56ac7("arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support") Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210415193913.1836153-1-petr.vorel@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
680 B
Plaintext
37 lines
680 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/* Copyright (c) 2015, Huawei Inc. All rights reserved.
|
|
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "msm8994.dtsi"
|
|
|
|
/ {
|
|
model = "Huawei Nexus 6P";
|
|
compatible = "huawei,angler", "qcom,msm8994";
|
|
/* required for bootloader to select correct board */
|
|
qcom,board-id = <8026 0>;
|
|
|
|
aliases {
|
|
serial0 = &blsp1_uart2;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
soc {
|
|
serial@f991e000 {
|
|
status = "okay";
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&blsp1_uart2_default>;
|
|
pinctrl-1 = <&blsp1_uart2_sleep>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&msmgpio {
|
|
gpio-reserved-ranges = <85 4>;
|
|
};
|