arm64: dts: ti: k3-am654: Populate power-domain property for UART nodes
authorVignesh R <vigneshr@ti.com>
Wed, 12 Dec 2018 05:18:06 +0000 (10:48 +0530)
committerTero Kristo <t-kristo@ti.com>
Fri, 14 Dec 2018 07:57:10 +0000 (09:57 +0200)
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>
arch/arm64/boot/dts/ti/k3-am65-main.dtsi
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi

index 0a0a8fc..6446652 100644 (file)
@@ -48,6 +48,7 @@
                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 @@
                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 @@
                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 {
index 1fd0277..3b7a519 100644 (file)
@@ -14,6 +14,7 @@
                        interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
                        clock-frequency = <96000000>;
                        current-speed = <115200>;
+                       power-domains = <&k3_pds 149>;
        };
 
        mcu_i2c0: i2c@40b00000 {
index 9e8467c..7cbdc09 100644 (file)
@@ -50,6 +50,7 @@
                interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
                clock-frequency = <48000000>;
                current-speed = <115200>;
+               power-domains = <&k3_pds 150>;
        };
 
        wkup_i2c0: i2c@42120000 {