[PATCH] ARM: dts: i.MX8: add pwm aliases
Sascha Hauer
sha at pengutronix.de
Wed Sep 6 07:10:14 PDT 2023
On Wed, Sep 06, 2023 at 03:11:13PM +0200, Bastian Krause wrote:
> Signed-off-by: Bastian Krause <bst at pengutronix.de>
> ---
> arch/arm/dts/imx8mm.dtsi | 4 ++++
> arch/arm/dts/imx8mn.dtsi | 9 +++++++++
> arch/arm/dts/imx8mp.dtsi | 7 +++++++
> 3 files changed, 20 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/arch/arm/dts/imx8mm.dtsi b/arch/arm/dts/imx8mm.dtsi
> index 22ae01a20a2..982174375ec 100644
> --- a/arch/arm/dts/imx8mm.dtsi
> +++ b/arch/arm/dts/imx8mm.dtsi
> @@ -5,6 +5,10 @@
> / {
> aliases {
> gpr.reboot_mode = &reboot_mode_gpr;
> + pwm0 = &pwm1;
> + pwm1 = &pwm2;
> + pwm2 = &pwm3;
> + pwm3 = &pwm4;
> };
> };
>
> diff --git a/arch/arm/dts/imx8mn.dtsi b/arch/arm/dts/imx8mn.dtsi
> index 17e8f78bf2d..098bf0a3671 100644
> --- a/arch/arm/dts/imx8mn.dtsi
> +++ b/arch/arm/dts/imx8mn.dtsi
> @@ -2,6 +2,15 @@
>
> #include <dt-bindings/features/imx8m.h>
>
> +/ {
> + aliases {
> + pwm0 = &pwm1;
> + pwm1 = &pwm2;
> + pwm2 = &pwm3;
> + pwm3 = &pwm4;
> + };
> +};
> +
> feat: &ocotp {
> #feature-cells = <1>;
> barebox,feature-controller;
> diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi
> index 0059c7b87b6..04767ad382c 100644
> --- a/arch/arm/dts/imx8mp.dtsi
> +++ b/arch/arm/dts/imx8mp.dtsi
> @@ -8,6 +8,13 @@ remoteproc_cm7: remoteproc-cm7 {
> clocks = <&clk IMX8MP_CLK_M7_CORE>;
> syscon = <&src>;
> };
> +
> + aliases {
> + pwm0 = &pwm1;
> + pwm1 = &pwm2;
> + pwm2 = &pwm3;
> + pwm3 = &pwm4;
> + };
> };
>
> /* Temporary workaround until snps,gfladj-refclk-lpm-sel-quirk is supported */
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list