[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220627110552.26315-1-kavyasree.kotagiri@microchip.com>
Date: Mon, 27 Jun 2022 16:35:52 +0530
From: Kavyasree Kotagiri <kavyasree.kotagiri@...rochip.com>
To: <alexandre.belloni@...tlin.com>,
<krzysztof.kozlowski+dt@...aro.org>, <robh+dt@...nel.org>,
<nicolas.ferre@...rochip.com>
CC: <arnd@...db.de>, <soc@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<UNGLinuxDriver@...rochip.com>, <Kavyasree.Kotagiri@...rochip.com>
Subject: [PATCH] ARM: dts: lan966x: Add mcan1 node.
Add the mcan1 node. By default, keep it disabled.
Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri@...rochip.com>
---
arch/arm/boot/dts/lan966x.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi
index 3cb02fffe716..25cfa89dde7b 100644
--- a/arch/arm/boot/dts/lan966x.dtsi
+++ b/arch/arm/boot/dts/lan966x.dtsi
@@ -473,6 +473,21 @@
status = "disabled";
};
+ can1: can@...20000 {
+ compatible = "bosch,m_can";
+ reg = <0xe0820000 0xfc>, <0x00100000 0x8000>;
+ reg-names = "m_can", "message_ram";
+ interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "int0", "int1";
+ clocks = <&clks GCK_ID_MCAN1>, <&clks GCK_ID_MCAN1>;
+ clock-names = "hclk", "cclk";
+ assigned-clocks = <&clks GCK_ID_MCAN1>;
+ assigned-clock-rates = <40000000>;
+ bosch,mram-cfg = <0x4000 0 0 64 0 0 32 32>;
+ status = "disabled";
+ };
+
reset: reset-controller@...0400c {
compatible = "microchip,lan966x-switch-reset";
reg = <0xe200400c 0x4>;
--
2.17.1
Powered by blists - more mailing lists