From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: dts: imx7d: Add SPI support
Date: Tue, 21 Jun 2016 14:45:30 +0800 [thread overview]
Message-ID: <20160621064530.GE21364@tiger> (raw)
In-Reply-To: <1466194183-31076-1-git-send-email-diego.dorta@nxp.com>
On Fri, Jun 17, 2016 at 05:09:40PM -0300, Diego Dorta wrote:
> Add ecspi nodes and aliases.
>
> Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
> ---
> arch/arm/boot/dts/imx7d.dtsi | 52 ++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 52 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
> index d70d55d..f30885e 100644
> --- a/arch/arm/boot/dts/imx7d.dtsi
> +++ b/arch/arm/boot/dts/imx7d.dtsi
> @@ -69,6 +69,10 @@
> serial4 = &uart5;
> serial5 = &uart6;
> serial6 = &uart7;
> + spi0 = &ecspi1;
> + spi1 = &ecspi2;
> + spi2 = &ecspi3;
> + spi3 = &ecspi4;
> };
>
> cpus {
> @@ -608,6 +612,18 @@
> status = "disabled";
> };
>
> + ecspi4: ecspi at 30630000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "fsl,imx7d-ecspi", "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
There is no much point to have "fsl,imx6sx-ecspi". Please drop it.
Shawn
> + reg = <0x30630000 0x10000>;
> + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
> + <&clks IMX7D_ECSPI4_ROOT_CLK>;
> + clock-names = "ipg", "per";
> + status = "disabled";
> + };
> +
> pwm1: pwm at 30660000 {
> compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
> reg = <0x30660000 0x10000>;
> @@ -671,6 +687,42 @@
> reg = <0x30800000 0x400000>;
> ranges;
>
> + ecspi1: ecspi at 30820000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "fsl,imx7d-ecspi", "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
> + reg = <0x30820000 0x10000>;
> + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
> + <&clks IMX7D_ECSPI1_ROOT_CLK>;
> + clock-names = "ipg", "per";
> + status = "disabled";
> + };
> +
> + ecspi2: ecspi at 30830000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "fsl,imx7d-ecspi", "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
> + reg = <0x30830000 0x10000>;
> + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
> + <&clks IMX7D_ECSPI2_ROOT_CLK>;
> + clock-names = "ipg", "per";
> + status = "disabled";
> + };
> +
> + ecspi3: ecspi at 30840000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "fsl,imx7d-ecspi", "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
> + reg = <0x30840000 0x10000>;
> + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
> + <&clks IMX7D_ECSPI3_ROOT_CLK>;
> + clock-names = "ipg", "per";
> + status = "disabled";
> + };
> +
> uart1: serial at 30860000 {
> compatible = "fsl,imx7d-uart",
> "fsl,imx6q-uart";
> --
> 2.7.4
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2016-06-21 6:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 20:09 [PATCH 1/4] ARM: dts: imx7d: Add SPI support Diego Dorta
2016-06-17 20:09 ` [PATCH 2/4] ARM: dts: imx7d-sdb: Add display support Diego Dorta
2016-06-21 6:48 ` Shawn Guo
2016-06-17 20:09 ` [PATCH 3/4] ARM: dts: imx7d-sdb: Add support for touchscreen Diego Dorta
2016-06-21 7:23 ` Shawn Guo
2016-06-17 20:09 ` [PATCH 4/4] ARM: imx_v6_v7_defconfig: Select ADS7846 support Diego Dorta
2016-06-21 6:45 ` Shawn Guo [this message]
2016-06-22 19:53 ` [PATCH 1/4] ARM: dts: imx7d: Add SPI support Diego Dorta
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=20160621064530.GE21364@tiger \
--to=shawnguo@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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