[PATCH] arm64: dts: qcom: sdm845: Add gpio-ranges to TLMM node

From: Evan Green
Date: Fri Nov 09 2018 - 18:52:33 EST


Add the gpio-ranges property to the TLMM node so that GPIO hogs work.

Signed-off-by: Evan Green <evgreen@xxxxxxxxxxxx>
---

arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index b72bdb0a31a57..f02530ecbe0b9 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -821,6 +821,7 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-ranges = <&tlmm 0 0 150>;

qup_i2c0_default: qup-i2c0-default {
pinmux {
--
2.16.4