Эх сурвалжийг харах

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

commit c484fc957219e95e023efe74bfc6cc189303e6f4 upstream.

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>
Vignesh R 7 жил өмнө
parent
commit
3769cbc766

+ 3 - 2
arch/arm64/boot/dts/ti/k3-am65-main.dtsi

@@ -68,6 +68,7 @@
 		interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
 		clock-frequency = <48000000>;
 		current-speed = <115200>;
+		power-domains = <&k3_pds 146>;
 	};
 
 	main_uart1: serial@2810000 {
@@ -77,7 +78,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 {
@@ -87,7 +88,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_intr: interrupt-controller0 {

+ 1 - 0
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi

@@ -19,6 +19,7 @@
 			interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
 			clock-frequency = <96000000>;
 			current-speed = <115200>;
+			power-domains = <&k3_pds 149>;
 	};
 
 	mcu_ram: mcu-ram@41c00000 {

+ 1 - 0
arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi

@@ -50,6 +50,7 @@
 		interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
 		clock-frequency = <48000000>;
 		current-speed = <115200>;
+		power-domains = <&k3_pds 150>;
 	};
 
 	wkup_intr: interrupt-controller2 {