diff mbox series

[v3,4/5] arm64: dts: exynosautov9: prepare usi0 changes

Message ID 20220701015226.32781-5-chanho61.park@samsung.com (mailing list archive)
State New, archived
Headers show
Series support USI for Exynos Auto v9 SoC | expand

Commit Message

Chanho Park July 1, 2022, 1:52 a.m. UTC
Before adding whole USI nodes, this applies the changes of usi0 in
advance. To be the usi0 and serian_0 nodes as SoC default, some
properties should be moved to exynosautov9-sadk.dts.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts |  2 ++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi     | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

Comments

Krzysztof Kozlowski July 5, 2022, 10:41 a.m. UTC | #1
On Fri, 1 Jul 2022 10:52:25 +0900, Chanho Park wrote:
> Before adding whole USI nodes, this applies the changes of usi0 in
> advance. To be the usi0 and serian_0 nodes as SoC default, some
> properties should be moved to exynosautov9-sadk.dts.
> 
> 

Applied, thanks!

[4/5] arm64: dts: exynosautov9: prepare usi0 changes
      https://git.kernel.org/krzk/linux/c/aae10d2bc56fd5c4e9741b98f220e56ca88bf7ca

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
index 2b30a7458297..eec3192c0631 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
+++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
@@ -50,6 +50,7 @@  ufs_1_fixed_vcc_reg: regulator-1 {
 };
 
 &serial_0 {
+	pinctrl-0 = <&uart0_bus_dual>;
 	status = "okay";
 };
 
@@ -74,6 +75,7 @@  &ufs_1 {
 };
 
 &usi_0 {
+	samsung,clkreq-on; /* needed for UART mode */
 	status = "okay";
 };
 
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
index c4cfa93e4c2e..dbe0819b44c2 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
@@ -352,11 +352,11 @@  syscon_peric0: syscon@10220000 {
 		};
 
 		usi_0: usi@103000c0 {
-			compatible = "samsung,exynos850-usi";
+			compatible = "samsung,exynosautov9-usi",
+				     "samsung,exynos850-usi";
 			reg = <0x103000c0 0x20>;
 			samsung,sysreg = <&syscon_peric0 0x1000>;
 			samsung,mode = <USI_V2_UART>;
-			samsung,clkreq-on; /* needed for UART mode */
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
@@ -365,13 +365,13 @@  usi_0: usi@103000c0 {
 			clock-names = "pclk", "ipclk";
 			status = "disabled";
 
-			/* USI: UART */
 			serial_0: serial@10300000 {
-				compatible = "samsung,exynos850-uart";
+				compatible = "samsung,exynosautov9-uart",
+					     "samsung,exynos850-uart";
 				reg = <0x10300000 0xc0>;
 				interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
 				pinctrl-names = "default";
-				pinctrl-0 = <&uart0_bus_dual>;
+				pinctrl-0 = <&uart0_bus>;
 				clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>,
 					 <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>;
 				clock-names = "uart", "clk_uart_baud0";