linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: dts: Add very basic dt support for mx31pdk
Date: Mon, 26 Nov 2012 11:03:40 +0100	[thread overview]
Message-ID: <20121126100340.GE10369@pengutronix.de> (raw)
In-Reply-To: <1353611447-7732-1-git-send-email-fabio.estevam@freescale.com>

On Thu, Nov 22, 2012 at 05:10:43PM -0200, Fabio Estevam wrote:
> Add very basic dt support for mx31pdk.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Could you provide a bit more complete patch? I think at least the low
hanging fruits like nor flash and nand, some i2c devices is not much
work but would save a lot of churn in patching the file.

Sascha

> ---
>  Documentation/devicetree/bindings/arm/fsl.txt |    4 ++++
>  arch/arm/boot/dts/Makefile                    |    3 ++-
>  arch/arm/boot/dts/imx31-pdk.dts               |   30 +++++++++++++++++++++++++
>  3 files changed, 36 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/boot/dts/imx31-pdk.dts
> 
> diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt
> index ac9e751..50b931a 100644
> --- a/Documentation/devicetree/bindings/arm/fsl.txt
> +++ b/Documentation/devicetree/bindings/arm/fsl.txt
> @@ -9,6 +9,10 @@ i.MX28 Evaluation Kit
>  Required root node properties:
>      - compatible = "fsl,imx28-evk", "fsl,imx28";
>  
> +i.MX31 Product Development Kit
> +Required root node properties:
> +    - compatible = "fsl,imx31-pdk", "fsl,imx31";
> +
>  i.MX51 Babbage Board
>  Required root node properties:
>      - compatible = "fsl,imx51-babbage", "fsl,imx51";
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 701388b..5b5590f 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -59,7 +59,8 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \
>  	msm8960-cdp.dtb
>  dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
>  	armada-xp-db.dtb
> -dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
> +dtb-$(CONFIG_ARCH_MXC) += imx31-pdk.dtb \
> +	imx51-babbage.dtb \
>  	imx53-ard.dtb \
>  	imx53-evk.dtb \
>  	imx53-qsb.dtb \
> diff --git a/arch/arm/boot/dts/imx31-pdk.dts b/arch/arm/boot/dts/imx31-pdk.dts
> new file mode 100644
> index 0000000..1e46d80
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx31-pdk.dts
> @@ -0,0 +1,30 @@
> +/*
> + * Copyright 2012 Freescale Semiconductor, Inc.
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 or later at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +/dts-v1/;
> +/include/ "imx31.dtsi"
> +
> +/ {
> +	model = "mx31-pdk";
> +	compatible = "freescale,imx31-pdk", "fsl,imx31";
> +
> +	memory {
> +		reg = <0x80000000 0x8000000>;
> +	};
> +
> +	soc {
> +		aips at 43f00000 { /* AIPS1 */
> +			uart1: serial at 43f90000 {
> +				status = "okay";
> +			};
> +		};
> +	};
> +};
> -- 
> 1.7.9.5
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  parent reply	other threads:[~2012-11-26 10:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22 19:10 [PATCH 1/4] ARM: dts: Add very basic dt support for mx31pdk Fabio Estevam
2012-11-22 19:10 ` [PATCH 2/4] ARM: Let CONFIG_MACH_IMX31_DT be built by default Fabio Estevam
2012-11-22 19:10 ` [PATCH 3/4] ARM: clk-imx31: Add dummy clock Fabio Estevam
2012-11-22 19:10 ` [PATCH 4/4] ARM: mx31: Replace clk_register_clkdev with clock DT lookup Fabio Estevam
2012-11-26 10:03 ` Sascha Hauer [this message]
2012-11-27  3:08   ` [PATCH 1/4] ARM: dts: Add very basic dt support for mx31pdk Fabio Estevam
2012-11-27  7:39     ` Sascha Hauer

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=20121126100340.GE10369@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --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;
as well as URLs for NNTP newsgroup(s).