public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Max Krummenacher <max.krummenacher@toradex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] arm: dts: imx8qm: add lpuart1, lpuart2, lpuart3, lpuart4
Date: Wed, 01 May 2019 16:18:16 +0200	[thread overview]
Message-ID: <1556720296.1765.36.camel@toradex.com> (raw)
In-Reply-To: <20190430100629.9212-2-marcel@ziswiler.com>

Reviewed-by: Max Krummenacher <max.krummenacher@toradex.com>

On Tue, 2019-04-30 at 12:06 +0200, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> Add support for lpuart1, lpuart2, lpuart3 and lpuart4.
> 
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> ---
> 
>  arch/arm/dts/fsl-imx8qm.dtsi | 80 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 80 insertions(+)
> 
> diff --git a/arch/arm/dts/fsl-imx8qm.dtsi b/arch/arm/dts/fsl-imx8qm.dtsi
> index b39c40bd98..db01959990 100644
> --- a/arch/arm/dts/fsl-imx8qm.dtsi
> +++ b/arch/arm/dts/fsl-imx8qm.dtsi
> @@ -22,6 +22,10 @@
>  		ethernet0 = &fec1;
>  		ethernet1 = &fec2;
>  		serial0 = &lpuart0;
> +		serial1 = &lpuart1;
> +		serial2 = &lpuart2;
> +		serial3 = &lpuart3;
> +		serial4 = &lpuart4;
>  		mmc0 = &usdhc1;
>  		mmc1 = &usdhc2;
>  		mmc2 = &usdhc3;
> @@ -193,6 +197,30 @@
>  				power-domains = <&pd_dma>;
>  				wakeup-irq = <345>;
>  			};
> +			pd_dma_lpuart1: PD_DMA_UART1 {
> +				reg = <SC_R_UART_1>;
> +				#power-domain-cells = <0>;
> +				power-domains = <&pd_dma>;
> +				wakeup-irq = <346>;
> +			};
> +			pd_dma_lpuart2: PD_DMA_UART2 {
> +				reg = <SC_R_UART_2>;
> +				#power-domain-cells = <0>;
> +				power-domains = <&pd_dma>;
> +				wakeup-irq = <347>;
> +			};
> +			pd_dma_lpuart3: PD_DMA_UART3 {
> +				reg = <SC_R_UART_3>;
> +				#power-domain-cells = <0>;
> +				power-domains = <&pd_dma>;
> +				wakeup-irq = <348>;
> +			};
> +			pd_dma_lpuart4: PD_DMA_UART4 {
> +				reg = <SC_R_UART_4>;
> +				#power-domain-cells = <0>;
> +				power-domains = <&pd_dma>;
> +				wakeup-irq = <349>;
> +			};
>  		};
>  	};
>  
> @@ -297,6 +325,58 @@
>  		status = "disabled";
>  	};
>  
> +	lpuart1: serial at 5a070000 {
> +		compatible = "fsl,imx8qm-lpuart";
> +		reg = <0x0 0x5a070000 0x0 0x1000>;
> +		interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>;
> +		clocks = <&clk IMX8QM_UART1_CLK>,
> +			 <&clk IMX8QM_UART1_IPG_CLK>;
> +		clock-names = "per", "ipg";
> +		assigned-clocks = <&clk IMX8QM_UART1_CLK>;
> +		assigned-clock-rates = <80000000>;
> +		power-domains = <&pd_dma_lpuart1>;
> +		status = "disabled";
> +	};
> +
> +	lpuart2: serial at 5a080000 {
> +		compatible = "fsl,imx8qm-lpuart";
> +		reg = <0x0 0x5a080000 0x0 0x1000>;
> +		interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>;
> +		clocks = <&clk IMX8QM_UART2_CLK>,
> +			 <&clk IMX8QM_UART2_IPG_CLK>;
> +		clock-names = "per", "ipg";
> +		assigned-clocks = <&clk IMX8QM_UART2_CLK>;
> +		assigned-clock-rates = <80000000>;
> +		power-domains = <&pd_dma_lpuart2>;
> +		status = "disabled";
> +	};
> +
> +	lpuart3: serial at 5a090000 {
> +		compatible = "fsl,imx8qm-lpuart";
> +		reg = <0x0 0x5a090000 0x0 0x1000>;
> +		interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>;
> +		clocks = <&clk IMX8QM_UART3_CLK>,
> +			 <&clk IMX8QM_UART3_IPG_CLK>;
> +		clock-names = "per", "ipg";
> +		assigned-clocks = <&clk IMX8QM_UART3_CLK>;
> +		assigned-clock-rates = <80000000>;
> +		power-domains = <&pd_dma_lpuart3>;
> +		status = "disabled";
> +	};
> +
> +	lpuart4: serial at 5a0a0000 {
> +		compatible = "fsl,imx8qm-lpuart";
> +		reg = <0x0 0x5a0a0000 0x0 0x1000>;
> +		interrupts = <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>;
> +		clocks = <&clk IMX8QM_UART4_CLK>,
> +			 <&clk IMX8QM_UART4_IPG_CLK>;
> +		clock-names = "per", "ipg";
> +		assigned-clocks = <&clk IMX8QM_UART4_CLK>;
> +		assigned-clock-rates = <80000000>;
> +		power-domains = <&pd_dma_lpuart4>;
> +		status = "disabled";
> +	};
> +
>  	usdhc1: usdhc at 5b010000 {
>  		compatible = "fsl,imx8qm-usdhc", "fsl,imx6sl-usdhc";
>  		interrupt-parent = <&gic>;

  reply	other threads:[~2019-05-01 14:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-30 10:06 [U-Boot] [PATCH 0/6] apalis imx8qm 4gb wb it v1.0b module support Marcel Ziswiler
2019-04-30 10:06 ` [U-Boot] [PATCH 1/6] arm: dts: imx8qm: add lpuart1, lpuart2, lpuart3, lpuart4 Marcel Ziswiler
2019-05-01 14:18   ` Max Krummenacher [this message]
2019-04-30 10:06 ` [U-Boot] [PATCH 2/6] arm: dts: imx8qm: add support for i2c0, i2c1, i2c2, i2c3 and i2c4 Marcel Ziswiler
2019-05-01 14:18   ` Max Krummenacher
2019-04-30 10:06 ` [U-Boot] [PATCH 3/6] clk: imx8qm: fix usdhc2 clocks Marcel Ziswiler
2019-05-01 14:18   ` Max Krummenacher
2019-04-30 10:06 ` [U-Boot] [PATCH 4/6] imx8qm: fix cpu frequency reporting Marcel Ziswiler
2019-05-01 14:18   ` Max Krummenacher
2019-04-30 10:06 ` [U-Boot] [PATCH 5/6] imx8: fuse: fix fuse driver Marcel Ziswiler
2019-05-01 14:18   ` Max Krummenacher
2019-04-30 10:06 ` [U-Boot] [PATCH 6/6] board: toradex: add apalis imx8qm 4gb wb it v1.0b module support Marcel Ziswiler
2019-05-01 14:19   ` Max Krummenacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1556720296.1765.36.camel@toradex.com \
    --to=max.krummenacher@toradex.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox