Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions dts/arm/ti/mspm0/g/mspm0g5115.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: Apache-2.0 */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add copyright, applies to all placed


#include <mem.h>
#include <ti/mspm0/g/mspm0g51xx.dtsi>

/ {
soc {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(16)>;
};
};
};

&flash0 {
reg = <0x0 DT_SIZE_K(32)>;
};
16 changes: 16 additions & 0 deletions dts/arm/ti/mspm0/g/mspm0g5116.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: Apache-2.0 */

#include <mem.h>
#include <ti/mspm0/g/mspm0g51xx.dtsi>

/ {
soc {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(32)>;
};
};
};

&flash0 {
reg = <0x0 DT_SIZE_K(64)>;
};
16 changes: 16 additions & 0 deletions dts/arm/ti/mspm0/g/mspm0g5117.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: Apache-2.0 */

#include <mem.h>
#include <ti/mspm0/g/mspm0g51xx.dtsi>

/ {
soc {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(32)>;
};
};
};

&flash0 {
reg = <0x0 DT_SIZE_K(128)>;
};
16 changes: 16 additions & 0 deletions dts/arm/ti/mspm0/g/mspm0g5187.dtsi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks shared with mspm0g5117.dtsi

Could you please consider moving these definitions into a shared file of extend 5187 from 5117

Please disregard this comment if these SoCs will diverge vastly once more peripherals are added in

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: Apache-2.0 */

#include <mem.h>
#include <ti/mspm0/g/mspm0g51xx.dtsi>

/ {
soc {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(32)>;
};
};
};

&flash0 {
reg = <0x0 DT_SIZE_K(128)>;
};
60 changes: 60 additions & 0 deletions dts/arm/ti/mspm0/g/mspm0g51xx.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/* SPDX-License-Identifier: Apache-2.0 */

#include <ti/mspm0/g/mspm0g.dtsi>
#include <zephyr/dt-bindings/i2c/i2c.h>

/delete-node/ &uart0;
/delete-node/ &uart1;
/delete-node/ &uart2;
/delete-node/ &uart3;
/delete-node/ &tima1;
/delete-node/ &timg12;

/ {
soc {
unicomm0: unicomm0@40a80000 {
reg = <0x40a80000 0x00002000>;
interrupts = <9 0>;
#address-cells = <1>;
#size-cells = <1>;

unicomm0_uart: unicomm0_uart@40a80000 {
compatible = "ti,mspm0-uart";
interrupts = <9 0>;
reg = <0x40a80000 0x00002000>;
clocks = <&ckm MSPM0_CLOCK_ULPCLK>;
status = "disabled";
};
};

unicomm1: unicomm1@40a82000 {
reg = <0x40a82000 0x00002000>;
interrupts = <10 0>;
#address-cells = <1>;
#size-cells = <1>;

unicomm1_uart: unicomm1_uart@40a82000 {
compatible = "ti,mspm0-uart";
interrupts = <10 0>;
reg = <0x40a82000 0x00002000>;
clocks = <&ckm MSPM0_CLOCK_ULPCLK>;
status = "disabled";
};
};

unicomm3: unicomm3@40b82000 {
reg = <0x40b82000 0x00002000>;
interrupts = <14 0>;
#address-cells = <1>;
#size-cells = <1>;

unicomm3_uart: unicomm3_uart@40b82000 {
compatible = "ti,mspm0-uart";
interrupts = <14 0>;
reg = <0x40b82000 0x00002000>;
clocks = <&ckm MSPM0_CLOCK_MCLK>;
status = "disabled";
};
};
};
};