arm: dts: add watchdog device to NPCM750 device tree

Add watchdog device node to a common device tree for all Nuvoton
NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg)
evaluation board.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Tomer Maimon 2018-04-04 14:10:57 +03:00 committed by Arnd Bergmann
parent 5717cb89ed
commit 1c4937eec9
2 changed files with 28 additions and 0 deletions

View file

@ -18,6 +18,10 @@ memory {
};
};
&watchdog1 {
status = "okay";
};
&serial0 {
status = "okay";
};

View file

@ -125,6 +125,30 @@ timer0: timer@8000 {
clocks = <&clk 15>;
};
watchdog0: watchdog@801C {
compatible = "nuvoton,npcm750-wdt";
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x801C 0x4>;
status = "disabled";
clocks = <&clk 5>;
};
watchdog1: watchdog@901C {
compatible = "nuvoton,npcm750-wdt";
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x901C 0x4>;
status = "disabled";
clocks = <&clk 5>;
};
watchdog2: watchdog@a01C {
compatible = "nuvoton,npcm750-wdt";
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
reg = <0xa01C 0x4>;
status = "disabled";
clocks = <&clk 5>;
};
serial0: serial@1000 {
compatible = "ns16550a";
reg = <0x1000 0x1000>;