[U-Boot] [PATCH 9/9] board:trats2:fdt: Enable device tree on Trats2

Piotr Wilczek p.wilczek at samsung.com
Tue Jan 28 13:41:47 CET 2014


Hi Jaehoon,

> On 01/27/2014 11:15 PM, Piotr Wilczek wrote:
> > This patch enables to run Trats2 board on device tree.
> >
> > Signed-off-by: Piotr Wilczek <p.wilczek at samsung.com>
> > Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> > CC: Minkyu Kang <mk7.kang at samsung.com>
> > ---
> >  board/samsung/dts/exynos4412-trats2.dts |  434
> +++++++++++++++++++++++++++++++
> >  board/samsung/trats2/trats2.c           |  216 +--------------
> >  include/configs/trats2.h                |  199 ++------------
> >  3 files changed, 459 insertions(+), 390 deletions(-)  create mode
> > 100644 board/samsung/dts/exynos4412-trats2.dts
> >
> > diff --git a/board/samsung/dts/exynos4412-trats2.dts
> > b/board/samsung/dts/exynos4412-trats2.dts
> > new file mode 100644
> > index 0000000..c8f847c
> > --- /dev/null
> > +++ b/board/samsung/dts/exynos4412-trats2.dts
> > @@ -0,0 +1,434 @@
> > +/*
> > + * Samsung's Exynos4412 based Trats2 board device tree source
> > + *
> > + * Copyright (c) 2014 Samsung Electronics Co., Ltd.
> > + *		http://www.samsung.com
> > + *
> > + * SPDX-License-Identifier:	GPL-2.0+
> > + */
> > +
> > +/dts-v1/;
> > +/include/ "exynos4.dtsi"
> > +
> > +/ {
> > +	model = "Samsung Trats2 based on Exynos4412";
> > +	compatible = "samsung,trats2", "samsung,exynos4412";
> > +
> > +	config {
> > +		samsung,dsim-device-name = "s6e8ax0";
> > +	};
> > +
> > +	aliases {
> > +		i2c0 = "/i2c at 13860000";
> > +		i2c1 = "/i2c at 13870000";
> > +		i2c2 = "/i2c at 13880000";
> > +		i2c3 = "/i2c at 13890000";
> > +		i2c4 = "/i2c at 138a0000";
> > +		i2c5 = "/i2c at 138b0000";
> > +		i2c6 = "/i2c at 138c0000";
> > +		i2c7 = "/i2c at 138d0000";
> > +		serial0 = "/serial at 13800000";
> > +		console = "/serial at 13820000";
> > +		mmc0 = "sdhci at 12510000";
> > +		mmc2 = "sdhci at 12510000";
> 
> mmc2 isn't 0x12510000.
It is 0x12530000, thanks.

Best regards,
Piotr Wilczek





More information about the U-Boot mailing list