Skip to content

Commit 1ece389

Browse files
committed
dts: arm: ti: mspm0: g: Add CAN-FD support for TI MSPM0 G-Series
Add CAN-FD devicetree nodes for MSPM0 G-Series SoCs that include the peripheral: mspm0g310x, mspm0g350x and mspm0gx51x. Signed-off-by: Santhosh Charles <[email protected]> Signed-off-by: Tomasz Bursztyka <[email protected]>
1 parent cef393a commit 1ece389

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

dts/arm/ti/mspm0/g/mspm0g310x.dtsi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
/* SPDX-License-Identifier: Apache-2.0 */
22

33
#include <ti/mspm0/g/mspm0g.dtsi>
4+
5+
/ {
6+
soc {
7+
canfd0: can@40508000 {
8+
compatible = "ti,mspm0-canfd";
9+
reg = <0x40508000 0x8000>, <0x4050F000 0x1000>, <0x40508000 0x400>;
10+
reg-names = "ti_canfd", "m_can", "message_ram";
11+
interrupts = <6 0>;
12+
clocks = <&ckm MSPM0_CLOCK_CANCLK>;
13+
ti,divider = <0>;
14+
bosch,mram-cfg = <0x0 20 8 3 3 0 3 3>;
15+
status = "disabled";
16+
};
17+
};
18+
};

dts/arm/ti/mspm0/g/mspm0g350x.dtsi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
/* SPDX-License-Identifier: Apache-2.0 */
22

33
#include <ti/mspm0/g/mspm0g.dtsi>
4+
5+
/ {
6+
soc {
7+
canfd0: can@40508000 {
8+
compatible = "ti,mspm0-canfd";
9+
reg = <0x40508000 0x8000>, <0x4050F000 0x1000>, <0x40508000 0x400>;
10+
reg-names = "ti_canfd", "m_can", "message_ram";
11+
interrupts = <6 0>;
12+
clocks = <&ckm MSPM0_CLOCK_CANCLK>;
13+
ti,divider = <0>;
14+
bosch,mram-cfg = <0x0 20 8 3 3 0 3 3>;
15+
status = "disabled";
16+
};
17+
};
18+
};

dts/arm/ti/mspm0/g/mspm0gx51x.dtsi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,27 @@
6060
status = "disabled";
6161
};
6262
};
63+
64+
canfd0: can@40508000 {
65+
compatible = "ti,mspm0-canfd";
66+
reg = <0x40508000 0x8000>, <0x4050F000 0x1000>, <0x40508000 0x400>;
67+
reg-names = "ti_canfd", "m_can", "message_ram";
68+
interrupts = <6 0>;
69+
clocks = <&ckm MSPM0_CLOCK_CANCLK>;
70+
ti,divider = <0>;
71+
bosch,mram-cfg = <0x0 20 8 3 3 0 3 3>;
72+
status = "disabled";
73+
};
74+
75+
canfd1: can@40510000 {
76+
compatible = "ti,mspm0-canfd";
77+
reg = <0x40510000 0x8000>, <0x40517000 0x1000>, <0x40510000 0x400>;
78+
reg-names = "ti_canfd", "m_can", "message_ram";
79+
interrupts = <12 0>;
80+
clocks = <&ckm MSPM0_CLOCK_CANCLK>;
81+
ti,divider = <0>;
82+
bosch,mram-cfg = <0x0 20 8 3 3 0 3 3>;
83+
status = "disabled";
84+
};
6385
};
6486
};

0 commit comments

Comments
 (0)