Message ID | 20220418115802.5672-1-a-govindraju@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: ti: k3-am62: Add support for MCAN | expand |
On April 18, 2022 thus sayeth Aswath Govindraju: > AM62 SoC has one instance of MCAN in main domain. However, its > corresponding CAN signals are not brought out through a transceiver, on the > SK board. Therefore, add the device tree node in the main dt file and set > the status to disabled in the SK board dts file. > > Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com> It looks good to me Aswath! ~Bryan
Hi Aswath Govindraju, On Mon, 18 Apr 2022 17:28:01 +0530, Aswath Govindraju wrote: > AM62 SoC has one instance of MCAN in main domain. However, its > corresponding CAN signals are not brought out through a transceiver, on the > SK board. Therefore, add the device tree node in the main dt file and set > the status to disabled in the SK board dts file. > > I have applied the following to branch ti-k3-dts-next on [1]. Thank you! [1/1] arm64: dts: ti: k3-am62: Add support for MCAN commit: 2492a974022081935fbcb0f1bf8a80fc39812806 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git -- Vignesh
diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 4b6ba98dd0a2..8bb42fe24d7c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -530,4 +530,18 @@ ti,mbox-num-users = <4>; ti,mbox-num-fifos = <16>; }; + + main_mcan0: can@20701000 { + compatible = "bosch,m_can"; + reg = <0x00 0x20701000 0x00 0x200>, + <0x00 0x20708000 0x00 0x8000>; + reg-names = "m_can", "message_ram"; + power-domains = <&k3_pds 98 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 98 6>, <&k3_clks 98 1>; + clock-names = "hclk", "cclk"; + interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "int0", "int1"; + bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index a0ea2cc66b31..3d7166e17d05 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -475,3 +475,7 @@ }; }; }; + +&main_mcan0 { + status = "disabled"; +};
AM62 SoC has one instance of MCAN in main domain. However, its corresponding CAN signals are not brought out through a transceiver, on the SK board. Therefore, add the device tree node in the main dt file and set the status to disabled in the SK board dts file. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> --- Notes: - This patch applies on top of, https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=632573 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 14 ++++++++++++++ arch/arm64/boot/dts/ti/k3-am625-sk.dts | 4 ++++ 2 files changed, 18 insertions(+)