mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-06 13:09:58 +00:00
arm64: dts: mt7986: add PWM
This adds pwm node to mt7986. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Link: https://lore.kernel.org/r/20230421132047.42166-5-linux@fw-web.de Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
380d18fb27
commit
eabb04df46
@ -240,6 +240,20 @@ crypto: crypto@10320000 {
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pwm: pwm@10048000 {
|
||||||
|
compatible = "mediatek,mt7986-pwm";
|
||||||
|
reg = <0 0x10048000 0 0x1000>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
#pwm-cells = <2>;
|
||||||
|
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&topckgen CLK_TOP_PWM_SEL>,
|
||||||
|
<&infracfg CLK_INFRA_PWM_STA>,
|
||||||
|
<&infracfg CLK_INFRA_PWM1_CK>,
|
||||||
|
<&infracfg CLK_INFRA_PWM2_CK>;
|
||||||
|
clock-names = "top", "main", "pwm1", "pwm2";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
uart0: serial@11002000 {
|
uart0: serial@11002000 {
|
||||||
compatible = "mediatek,mt7986-uart",
|
compatible = "mediatek,mt7986-uart",
|
||||||
"mediatek,mt6577-uart";
|
"mediatek,mt6577-uart";
|
||||||
|
Loading…
Reference in New Issue
Block a user