mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
ARM: dts: msm: Add support for UART console on sdxlemur target
Add devicetree node to support UART console on sdxlemur target for console logs and executing shell commands. Change-Id: I7cf3ea43ef04392d5651f0b66eb1ef5eedfdb2c0
This commit is contained in:
parent
05f34477ea
commit
fd2cdba968
2 changed files with 39 additions and 0 deletions
|
|
@ -12,5 +12,31 @@
|
|||
interrupt-controller;
|
||||
interrupt-parent = <&intc>;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
uart3_console_active: uart3_console_active {
|
||||
mux {
|
||||
pins = "gpio8", "gpio9";
|
||||
function = "blsp_uart3";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio8", "gpio9";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
uart3_console_sleep: uart3_console_sleep {
|
||||
mux {
|
||||
pins = "gpio8", "gpio9";
|
||||
function = "blsp_uart3";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio8", "gpio9";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -248,6 +248,19 @@
|
|||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
serial_uart: serial@831000 {
|
||||
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
||||
reg = <0x831000 0x200>;
|
||||
interrupts = <0 26 0>;
|
||||
clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
|
||||
<&gcc GCC_BLSP1_AHB_CLK>;
|
||||
clock-names = "core", "iface";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&uart3_console_active>;
|
||||
pinctrl-1 = <&uart3_console_sleep>;
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
apsscc: clock-controller@17808000 {
|
||||
compatible = "qcom,dummycc";
|
||||
clock-output-names = "apsscc_clocks";
|
||||
|
|
|
|||
Loading…
Reference in a new issue