summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2023-06-16 14:22:16 +0200
committerHiago De Franco <hiago.franco@toradex.com>2023-06-16 18:24:42 +0200
commitff6f7419f573e109454c9e62ec75cf68ee1b4278 (patch)
tree2a91c0ff6b72cca895cff24f4510c15e188d067e
parenteebf5918e7c7e39eeec8779b9572edf736f19451 (diff)
arm64: dts: ti: Enable MCU MCANs for AM62x
On AM62x there are no hardware interrupts routed to A53 GIC interrupt controller for MCU MCAN IPs, so MCU MCANs were not added to the MCU dtsi. In the last patches an hrtimer was introduced to MCAN driver to generate software interrupts. Now add MCU MCAN nodes to the MCU dtsi but disable the MCAN devices by default. Upstream-Status: Pending Required MCU MCAN support is not available upstream for TI AM62, patches to enable it are pending [1]. [1] [https://lore.kernel.org/all/20230501224624.13866-5-jm@ti.com/] Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi
index 3d45a4fcd430..70994b2b5820 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi
@@ -147,4 +147,28 @@
resets = <&k3_reset 9 1>;
firmware-name = "am62-mcu-m4f0_0-fw";
};
+
+ mcu_mcan0: can@4e00000 {
+ compatible = "bosch,m_can";
+ reg = <0x00 0x4e00000 0x00 0x8000>,
+ <0x00 0x4e08000 0x00 0x200>;
+ reg-names = "message_ram", "m_can";
+ power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
+ clocks = <&k3_clks 188 6>, <&k3_clks 188 1>;
+ clock-names = "hclk", "cclk";
+ bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
+ status = "disabled";
+ };
+
+ mcu_mcan1: can@4e10000 {
+ compatible = "bosch,m_can";
+ reg = <0x00 0x4e10000 0x00 0x8000>,
+ <0x00 0x4e18000 0x00 0x200>;
+ reg-names = "message_ram", "m_can";
+ power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
+ clocks = <&k3_clks 189 6>, <&k3_clks 189 1>;
+ clock-names = "hclk", "cclk";
+ bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
+ status = "disabled";
+ };
};