arm64: dts: ti: k3-am654: Populate power-domain property for UART nodes

Populate power-domain property for UART nodes, this is required for
Linux to enable UART clocks via PM calls. Without this UART instances
not initialized by bootloader (like main_uart1) fails to work in Linux.
Also, drop current-speed property from main_uart1 and main_uart2 nodes
as these UARTs are not initialized before Linux boots up and current
speed is unknown.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
Vignesh R 2018-12-12 10:48:06 +05:30 committed by Tero Kristo
parent e577d79424
commit c484fc9572
3 changed files with 5 additions and 2 deletions

View File

@ -48,6 +48,7 @@ main_uart0: serial@2800000 {
interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <48000000>;
current-speed = <115200>;
power-domains = <&k3_pds 146>;
};
main_uart1: serial@2810000 {
@ -57,7 +58,7 @@ main_uart1: serial@2810000 {
reg-io-width = <4>;
interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <48000000>;
current-speed = <115200>;
power-domains = <&k3_pds 147>;
};
main_uart2: serial@2820000 {
@ -67,7 +68,7 @@ main_uart2: serial@2820000 {
reg-io-width = <4>;
interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <48000000>;
current-speed = <115200>;
power-domains = <&k3_pds 148>;
};
main_pmx0: pinmux@11c000 {

View File

@ -14,6 +14,7 @@ mcu_uart0: serial@40a00000 {
interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <96000000>;
current-speed = <115200>;
power-domains = <&k3_pds 149>;
};
mcu_i2c0: i2c@40b00000 {

View File

@ -50,6 +50,7 @@ wkup_uart0: serial@42300000 {
interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <48000000>;
current-speed = <115200>;
power-domains = <&k3_pds 150>;
};
wkup_i2c0: i2c@42120000 {