[PATCH v4 22/22] arm64: dts: mt8192: Add pwm node
Nícolas F. R. A. Prado
nfraprado at collabora.com
Mon Mar 21 15:18:36 PDT 2022
On Fri, Mar 18, 2022 at 10:45:34PM +0800, Allen-KH Cheng wrote:
> Add pwm node for mt8192 SoC.
>
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng at mediatek.com>
Reviewed-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> ---
> arch/arm64/boot/dts/mediatek/mt8192.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> index f0f0f067c023..ea98b2230f18 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> @@ -625,6 +625,17 @@
> status = "disabled";
> };
>
> + pwm0: pwm at 1100e000 {
> + compatible = "mediatek,mt8183-disp-pwm";
> + reg = <0 0x1100e000 0 0x1000>;
> + interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH 0>;
> + #pwm-cells = <2>;
> + clocks = <&topckgen CLK_TOP_DISP_PWM_SEL>,
> + <&infracfg CLK_INFRA_DISP_PWM>;
> + clock-names = "main", "mm";
> + status = "disabled";
> + };
> +
> spi1: spi at 11010000 {
> compatible = "mediatek,mt8192-spi",
> "mediatek,mt6765-spi";
> --
> 2.18.0
>
>
More information about the Linux-mediatek
mailing list