Skip to content

Commit 0b7db98

Browse files
hansbinderupkartben
authored andcommitted
dts: mspm0: add uart1,2 and 3 to generic mspm0.dtsi
It's now possible to describe and enable the other HW uarts. Adding interrupts to uart0 as well. Signed-off-by: Hans Binderup <[email protected]>
1 parent bfdfa20 commit 0b7db98

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,35 @@
7474
status = "disabled";
7575
};
7676
};
77+
78+
uart1: uart@40100000 {
79+
compatible = "ti,mspm0-uart";
80+
reg = <0x40100000 0x2000>;
81+
interrupts = <13 0>;
82+
current-speed = <115200>;
83+
clocks = <&ckm MSPM0_CLOCK_ULPCLK>;
84+
clk-div = <1>;
85+
status = "disabled";
86+
};
87+
88+
uart2: uart@40102000 {
89+
compatible = "ti,mspm0-uart";
90+
reg = <0x40102000 0x2000>;
91+
interrupts = <14 0>;
92+
current-speed = <115200>;
93+
clocks = <&ckm MSPM0_CLOCK_ULPCLK>;
94+
clk-div = <1>;
95+
status = "disabled";
96+
};
97+
98+
uart3: uart@40500000 {
99+
compatible = "ti,mspm0-uart";
100+
reg = <0x40500000 0x2000>;
101+
interrupts = <3 0>;
102+
current-speed = <115200>;
103+
clocks = <&ckm MSPM0_CLOCK_ULPCLK>;
104+
clk-div = <1>;
105+
status = "disabled";
106+
};
77107
};
78108
};

dts/arm/ti/mspm0/mspm0.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
uart0: uart@40108000 {
144144
compatible = "ti,mspm0-uart";
145145
reg = <0x40108000 0x2000>;
146+
interrupts = <15 0>;
146147
current-speed = <115200>;
147148
clocks = <&ckm MSPM0_CLOCK_ULPCLK>;
148149
clk-div = <1>;

0 commit comments

Comments
 (0)