Commit 3cfa5569 authored by David Heidelberg's avatar David Heidelberg Committed by Bjorn Andersson

ARM: dts: qcom: apq8064: add support to gsbi4 uart

This patch adds support to gsbi4 uart which is used in LG Mako.
Signed-off-by: default avatarDavid Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20230814150040.64133-1-david@ixit.czSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent f636d6c3
......@@ -233,6 +233,22 @@ pinconf {
};
};
gsbi4_uart_pin_a: gsbi4-uart-pin-active-state {
rx-pins {
pins = "gpio11";
function = "gsbi4";
drive-strength = <2>;
bias-disable;
};
tx-pins {
pins = "gpio10";
function = "gsbi4";
drive-strength = <4>;
bias-disable;
};
};
gsbi6_uart_2pins: gsbi6_uart_2pins {
mux {
pins = "gpio14", "gpio15";
......
......@@ -515,6 +515,18 @@ gsbi4: gsbi@16300000 {
#size-cells = <1>;
ranges;
gsbi4_serial: serial@16340000 {
compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
reg = <0x16340000 0x100>,
<0x16300000 0x3>;
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-0 = <&gsbi4_uart_pin_a>;
pinctrl-names = "default";
clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
clock-names = "core", "iface";
status = "disabled";
};
gsbi4_i2c: i2c@16380000 {
compatible = "qcom,i2c-qup-v1.1.1";
pinctrl-0 = <&i2c4_pins>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment