Skip to content

Commit e1526c9

Browse files
d-philpotkartben
authored andcommitted
dts: add support MSPM0Gx51x SOC family
Includes device tree files for SOCs and updates to common MSPM0 device tree Signed-off-by: Dylan Philpot <[email protected]>
1 parent 4b40993 commit e1526c9

File tree

5 files changed

+113
-4
lines changed

5 files changed

+113
-4
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
#include <mem.h>
4+
#include <ti/mspm0/g/mspm0gx51x.dtsi>
5+
6+
/ {
7+
soc {
8+
/*
9+
* Sram Bank 0 (sram0) has ECC checking
10+
* Sram Bank 1 (sram1) is unchecked
11+
*/
12+
sram0: memory@20000000 {
13+
reg = <0x20000000 DT_SIZE_K(64)>;
14+
};
15+
16+
sram1: memory@20210000 {
17+
reg = <0x20210000 DT_SIZE_K(64)>;
18+
};
19+
20+
flash0: serial-flash@0 {
21+
reg = <0x0 DT_SIZE_K(128)>;
22+
};
23+
24+
flash1: serial-flash@40000 {
25+
reg = <0x40000 DT_SIZE_K(128)>;
26+
};
27+
28+
flash2: serial-flash@41e00000 {
29+
reg = <0x41E00000 DT_SIZE_K(16)>;
30+
};
31+
};
32+
};

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,28 @@
55

66
/ {
77
soc {
8+
/*
9+
* Sram Bank 0 (sram0) has ECC checking
10+
* Sram Bank 1 (sram1) is unchecked
11+
*/
812
sram0: memory@20000000 {
9-
reg = <0x20000000 DT_SIZE_K(128)>;
13+
reg = <0x20000000 DT_SIZE_K(64)>;
14+
};
15+
16+
sram1: memory@20210000 {
17+
reg = <0x20210000 DT_SIZE_K(64)>;
1018
};
1119

1220
flash0: serial-flash@0 {
13-
reg = <0x0 DT_SIZE_K(512)>;
21+
reg = <0x0 DT_SIZE_K(256)>;
22+
};
23+
24+
flash1: serial-flash@40000 {
25+
reg = <0x40000 DT_SIZE_K(256)>;
26+
};
27+
28+
flash2: serial-flash@41e00000 {
29+
reg = <0x41E00000 DT_SIZE_K(16)>;
1430
};
1531
};
1632
};

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
#include <mem.h>
4+
#include <ti/mspm0/g/mspm0gx51x.dtsi>
5+
6+
/ {
7+
soc {
8+
/*
9+
* Sram Bank 0 (sram0) has ECC checking
10+
* Sram Bank 1 (sram1) is unchecked
11+
*/
12+
sram0: memory@20000000 {
13+
reg = <0x20000000 DT_SIZE_K(64)>;
14+
};
15+
16+
sram1: memory@20210000 {
17+
reg = <0x20210000 DT_SIZE_K(64)>;
18+
};
19+
20+
flash0: serial-flash@0 {
21+
reg = <0x0 DT_SIZE_K(128)>;
22+
};
23+
24+
flash1: serial-flash@40000 {
25+
reg = <0x40000 DT_SIZE_K(128)>;
26+
};
27+
28+
flash2: serial-flash@41e00000 {
29+
reg = <0x41E00000 DT_SIZE_K(16)>;
30+
};
31+
};
32+
};

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,28 @@
55

66
/ {
77
soc {
8+
/*
9+
* Sram Bank 0 (sram0) has ECC checking
10+
* Sram Bank 1 (sram1) is unchecked
11+
*/
812
sram0: memory@20000000 {
9-
reg = <0x20000000 DT_SIZE_K(128)>;
13+
reg = <0x20000000 DT_SIZE_K(64)>;
14+
};
15+
16+
sram1: memory@20210000 {
17+
reg = <0x20210000 DT_SIZE_K(64)>;
1018
};
1119

1220
flash0: serial-flash@0 {
13-
reg = <0x0 DT_SIZE_K(512)>;
21+
reg = <0x0 DT_SIZE_K(256)>;
22+
};
23+
24+
flash1: serial-flash@40000 {
25+
reg = <0x40000 DT_SIZE_K(256)>;
26+
};
27+
28+
flash2: serial-flash@41e00000 {
29+
reg = <0x41E00000 DT_SIZE_K(16)>;
1430
};
1531
};
1632
};

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

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

33
#include <ti/mspm0/g/mspm0g.dtsi>
4+
5+
/{
6+
soc {
7+
gpioc: gpio@400a4000 {
8+
compatible = "ti,mspm0-gpio";
9+
reg = <0x400a4000 0x2000>;
10+
interrupts = <1 0>;
11+
status = "disabled";
12+
gpio-controller;
13+
#gpio-cells = <2>;
14+
};
15+
};
16+
};

0 commit comments

Comments
 (0)