From: Liu Ying Date: Mon, 30 Mar 2020 04:19:49 +0000 (+0800) Subject: LF-1189-10 arm64: imx8qxp-ss-adma.dtsi: Add pwm support X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~465 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=b886685801bf732005a694e2e84e866b72311c9c;p=linux.git LF-1189-10 arm64: imx8qxp-ss-adma.dtsi: Add pwm support This patch adds pwm device tree support for i.MX8qxp ADMA support. Reviewed-by: Robert Chiras Tested-by: Robert Chiras Signed-off-by: Liu Ying --- diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi index a61a53a62ffa..a766a1cb09af 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi @@ -83,6 +83,18 @@ reg = <0x5a170000 0x4>; }; + adma_pwm: pwm@5a190000 { + compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; + reg = <0x5a190000 0x1000>; + clocks = <&adma_pwm_lpcg 0>, <&adma_pwm_lpcg 1>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_LCD_0_PWM_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <2>; + power-domains = <&pd IMX_SC_R_LCD_0_PWM_0>; + status = "disabled"; + }; + adma_pwm_lpcg: clock-controller@5a590000 { compatible = "fsl,imx8qxp-lpcg"; reg = <0x5a590000 0x10000>;