From d7a55489e04cc2390ef8033824b415471c8df0c7 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Thu, 15 Aug 2019 13:38:25 +0100 Subject: [PATCH] ANDROID: arm64: dts: db845c: add Low speed expansion i2c and spi nodes This patch adds support UART0, I2C0, I2C1 and SPI0 available on Low Speed expansion connector. Bug: 146449535 Signed-off-by: Srinivas Kandagatla Signed-off-by: John Stultz Change-Id: I03b457230641fdbf30adf1bf8730e0ff95354b7c --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index cf92b81053bc..608051480e04 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -482,6 +482,24 @@ }; }; +&i2c11 { + /* On Low speed expansion */ + label = "LS-I2C1"; + status = "okay"; +}; + +&i2c14 { + /* On Low speed expansion */ + label = "LS-I2C0"; + status = "okay"; +}; + +&spi2 { + /* On Low speed expansion */ + label = "LS-SPI0"; + status = "okay"; +}; + &mdss { status = "okay"; }; @@ -645,6 +663,11 @@ }; }; +&uart3 { + label = "LS-UART0"; + status = "disabled"; +}; + &uart6 { status = "okay"; @@ -660,6 +683,7 @@ }; &uart9 { + label = "LS-UART1"; status = "okay"; }; @@ -743,6 +767,16 @@ }; /* PINCTRL - additions to nodes defined in sdm845.dtsi */ +&qup_spi2_default { + drive-strength = <16>; +}; + +&qup_uart3_default{ + pinmux { + pins = "gpio41", "gpio42", "gpio43", "gpio44"; + function = "qup3"; + }; +}; &qup_i2c10_default { pinconf {