Commit eabb04df authored by Daniel Golle's avatar Daniel Golle Committed by Matthias Brugger

arm64: dts: mt7986: add PWM

This adds pwm node to mt7986.
Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
Signed-off-by: default avatarFrank Wunderlich <frank-w@public-files.de>
Link: https://lore.kernel.org/r/20230421132047.42166-5-linux@fw-web.deSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 380d18fb
...@@ -240,6 +240,20 @@ crypto: crypto@10320000 { ...@@ -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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment