linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/4] ODROID-X: dts: Add board dts file for ODROID-X
Date: Fri, 21 Dec 2012 10:13:50 -0800	[thread overview]
Message-ID: <007b01cddfa6$f158b460$d40a1d20$@samsung.com> (raw)
In-Reply-To: <1356111423-3454-2-git-send-email-tobetter@gmail.com>

Dongjin Kim wrote:
> 
> Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412
> SoC.
> 
> Signed-off-by: Dongjin Kim <tobetter@gmail.com>
> ---
>  arch/arm/boot/dts/Makefile               |    1 +
>  arch/arm/boot/dts/exynos4412-odroidx.dts |   47
> ++++++++++++++++++++++++++++++
>  2 files changed, 48 insertions(+)
>  create mode 100644 arch/arm/boot/dts/exynos4412-odroidx.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index d077ef8..364d67b 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -44,6 +44,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-
> origen.dtb \
>  	exynos4210-trats.dtb \
>  	exynos5250-smdk5250.dtb \
>  	exynos5440-ssdk5440.dtb \
> +	exynos4412-odroidx.dtb \
>  	exynos4412-smdk4412.dtb \
>  	exynos5250-smdk5250.dtb \
>  	exynos5250-snow.dtb

Just now, I sorted out the ordering alphabetically and submitted.

> diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts
> b/arch/arm/boot/dts/exynos4412-odroidx.dts
> new file mode 100644
> index 0000000..323ed177
> --- /dev/null
> +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
> @@ -0,0 +1,47 @@
> +/*
> + * Hardkernel's Exynos4412 based ODROID-X board device tree source
> + *
> + * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
> + *
> + * Device tree source file for Hardkernel's ODROID-X board which is based
> on
> + * Samsung's Exynos4412 SoC.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> +*/
> +
> +/dts-v1/;
> +/include/ "exynos4412.dtsi"
> +
> +/ {
> +	model = "Hardkernel ODROID-X board based on Exynos4412";
> +	compatible = "hardkernel,exynos4412", "samsung,exynos4412";

Probably, 

+	compatible = "hardkernel,odroid-x", "samsung,exynos4412";

> +
> +	memory {
> +		reg = <0x40000000 0x40000000>;

If you can't see any error message in kernel boot, boot-loader should inform
the memory size and bank information to the kernel. So should be separated
with bank size, 256MiB. But I need to think again as Olof said in other
thread.

> +	};
> +
> +	serial at 13800000 {
> +		status = "okay";
> +	};
> +
> +	serial at 13810000 {
> +		status = "okay";
> +	};
> +
> +	serial at 13820000 {
> +		status = "okay";
> +	};
> +
> +	serial at 13830000 {
> +		status = "okay";
> +	};
> +
> +	sdhci at 12530000 {
> +		bus-width = <4>;
> +		pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
> +		pinctrl-names = "default";
> +		status = "okay";
> +	};
> +};
> --
> 1.7.9.5

BTW, you don't need any bootargs as default?

- Kukjin

  reply	other threads:[~2012-12-21 18:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1356111423-3454-1-git-send-email-tobetter@gmail.com>
2012-12-21 17:37 ` [PATCH v2 1/4] ODROID-X: dts: Add board dts file for ODROID-X Dongjin Kim
2012-12-21 18:13   ` Kukjin Kim [this message]
2012-12-22  3:02     ` Dongjin Kim
2012-12-21 17:37 ` [PATCH v2 2/4] ODROID-X: dts: Add fixed-regulator for peripherals Dongjin Kim
2012-12-21 17:37 ` [PATCH v2 3/4] ODROID-X: dts: Add nodes for leds based on GPIO Dongjin Kim
2012-12-21 17:37 ` [PATCH v2 4/4] ODROID-X: dts: Add mshc node for ODROID-X board Dongjin Kim

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='007b01cddfa6$f158b460$d40a1d20$@samsung.com' \
    --to=kgene.kim@samsung.com \
    --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).