Skip to content

Commit 30be9da

Browse files
cyliangtwkartben
authored andcommitted
dts: arm: nuvoton: add spi nodes for numaker m55m1x
Update m55m1x.dtsi for spi support. Signed-off-by: cyliang tw <cyliang@nuvoton.com>
1 parent 0d7f6d1 commit 30be9da

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

dts/arm/nuvoton/m55m1x.dtsi

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,50 @@
291291
clocks = <&pcc NUMAKER_RTC0_MODULE 0 0>;
292292
alarms-count = <1>;
293293
};
294+
295+
spi0: spi@4024b000 {
296+
compatible = "nuvoton,numaker-spi";
297+
reg = <0x4024b000 0x1000>;
298+
interrupts = <66 0>;
299+
resets = <&rst NUMAKER_SYS_SPI0RST>;
300+
clocks = <&pcc NUMAKER_SPI0_MODULE NUMAKER_CLK_SPISEL_SPI0SEL_HIRC 0>;
301+
#address-cells = <1>;
302+
#size-cells = <0>;
303+
status = "disabled";
304+
};
305+
306+
spi1: spi@4028b000 {
307+
compatible = "nuvoton,numaker-spi";
308+
reg = <0x4028b000 0x1000>;
309+
interrupts = <67 0>;
310+
resets = <&rst NUMAKER_SYS_SPI1RST>;
311+
clocks = <&pcc NUMAKER_SPI1_MODULE NUMAKER_CLK_SPISEL_SPI1SEL_HIRC 0>;
312+
#address-cells = <1>;
313+
#size-cells = <0>;
314+
status = "disabled";
315+
};
316+
317+
spi2: spi@4024c000 {
318+
compatible = "nuvoton,numaker-spi";
319+
reg = <0x4024c000 0x1000>;
320+
interrupts = <68 0>;
321+
resets = <&rst NUMAKER_SYS_SPI2RST>;
322+
clocks = <&pcc NUMAKER_SPI2_MODULE NUMAKER_CLK_SPISEL_SPI2SEL_HIRC 0>;
323+
#address-cells = <1>;
324+
#size-cells = <0>;
325+
status = "disabled";
326+
};
327+
328+
spi3: spi@4028c000 {
329+
compatible = "nuvoton,numaker-spi";
330+
reg = <0x4028c000 0x1000>;
331+
interrupts = <69 0>;
332+
resets = <&rst NUMAKER_SYS_SPI3RST>;
333+
clocks = <&pcc NUMAKER_SPI3_MODULE NUMAKER_CLK_SPISEL_SPI3SEL_HIRC 0>;
334+
#address-cells = <1>;
335+
#size-cells = <0>;
336+
status = "disabled";
337+
};
294338
};
295339
};
296340

0 commit comments

Comments
 (0)