summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVibhore Vardhan <vibhore@ti.com>2024-02-29 20:25:47 +0100
committerPraneeth Bajjuri <praneeth@ti.com>2024-03-04 11:27:20 -0600
commitd3a36efd20e169857216d348cf80eb7651fe8df6 (patch)
tree62a1ce77b81669904ec916c4463bc4832f859504
parent7cc7d17af6bdbbc2c8a48b0befd9ad7b993c15bc (diff)
arm64: dts: ti: k3-am62a-wakeup: Configure ti-sysc for wkup_uart0
Similar to am62-wakeup, am62a-wakeup is capable of wakeup from wkup_uart0. ti-sysc manages the sysconfig registers while wkup_uart0 is only a portion of the register space. See the link below for the upstream version of this patch for am62. Link: https://lore.kernel.org/r/20231219072503.12427-1-tony@atomide.com Signed-off-by: Vibhore Vardhan <vibhore@ti.com> Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi34
1 files changed, 28 insertions, 6 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
index a3a2ab24a9f1..e96910af341b 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
@@ -5,6 +5,8 @@
* Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
*/
+#include <dt-bindings/bus/ti-sysc.h>
+
&cbass_wakeup {
wkup_conf: syscon@43000000 {
compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
@@ -29,14 +31,34 @@
};
};
- wkup_uart0: serial@2b300000 {
- compatible = "ti,am64-uart", "ti,am654-uart";
- reg = <0x00 0x2b300000 0x00 0x100>;
- interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+ target-module@2b300050 {
+ compatible = "ti,sysc-omap2", "ti,sysc";
+ reg = <0 0x2b300050 0 0x4>,
+ <0 0x2b300054 0 0x4>,
+ <0 0x2b300058 0 0x4>;
+ reg-names = "rev", "sysc", "syss";
+ ti,sysc-mask = <(SYSC_OMAP2_ENAWAKEUP |
+ SYSC_OMAP2_SOFTRESET |
+ SYSC_OMAP2_AUTOIDLE)>;
+ ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+ <SYSC_IDLE_NO>,
+ <SYSC_IDLE_SMART>,
+ <SYSC_IDLE_SMART_WKUP>;
+ ti,syss-mask = <1>;
+ ti,no-reset-on-init;
power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 114 0>;
- clock-names = "fclk";
- status = "disabled";
+ clock-names = "fck";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0 0x2b300000 0x100000>;
+
+ wkup_uart0: serial@0 {
+ compatible = "ti,am64-uart", "ti,am654-uart";
+ reg = <0 0x100>;
+ interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
};
wkup_i2c0: i2c@2b200000 {