From: Stefano Babic Date: Mon, 17 Mar 2014 09:58:29 +0100 Subject: [U-Boot] [PATCH 2/2] mx6: add example DTB for mx6qsabreauto In-Reply-To: <1395046709-5453-1-git-send-email-sbabic@denx.de> References: <1395046709-5453-1-git-send-email-sbabic@denx.de> Message-ID: <1395046709-5453-2-git-send-email-sbabic@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Stefano Babic CC: Fabio Estevam --- arch/arm/dts/Makefile | 1 + arch/arm/dts/mx6qsabreauto.dts | 13 +++++++++++++ include/configs/mx6qsabreauto.h | 3 +++ 3 files changed, 17 insertions(+) create mode 100644 arch/arm/dts/mx6qsabreauto.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index e2fcca5..6316a7d 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -2,6 +2,7 @@ dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \ exynos5250-snow.dtb \ exynos5250-smdk5250.dtb \ exynos5420-smdk5420.dtb +dtb-$(CONFIG_MX6) += mx6qsabreauto.dtb dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \ tegra20-medcom-wide.dtb \ tegra20-paz00.dtb \ diff --git a/arch/arm/dts/mx6qsabreauto.dts b/arch/arm/dts/mx6qsabreauto.dts new file mode 100644 index 0000000..a3c9c91 --- /dev/null +++ b/arch/arm/dts/mx6qsabreauto.dts @@ -0,0 +1,13 @@ +/* + + * Copyright 2012 Freescale Semiconductor, Inc. + + * Copyright 2011 Linaro Ltd. + + * + + * SPDX-License-Identifier: GPL-2.0+ + + */ + +/dts-v1/; + +/ { + model = "Freescale i.MX6 Quad SABRE Automotive Board"; + compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; +}; diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h index dbbb6f0..8e82487 100644 --- a/include/configs/mx6qsabreauto.h +++ b/include/configs/mx6qsabreauto.h @@ -41,4 +41,7 @@ #define CONFIG_SYS_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 +#define CONFIG_OF_SEPARATE +#define CONFIG_DEFAULT_DEVICE_TREE mx6qsabreauto + #endif /* __MX6QSABREAUTO_CONFIG_H */ -- 1.7.9.5