From 896d2e82e6d408f6885ae000b707710e0f1a17fc Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Thu, 13 Apr 2017 14:09:50 +0800 Subject: [PATCH] arm: dts: imx7d-sdb add basic dts Add basic dts for i.MX7D-SDB board. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/imx7d-sdb.dts | 19 +++++++++++++++++++ configs/mx7dsabresd_defconfig | 3 ++- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/imx7d-sdb.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index a985c5d216..e1a2b07474 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -345,7 +345,8 @@ dtb-$(CONFIG_MX6) += imx6ull-14x14-evk.dtb \ imx6ul-isiot-nand.dtb \ imx6ul-opos6uldev.dtb -dtb-$(CONFIG_MX7) += imx7-colibri.dtb +dtb-$(CONFIG_MX7) += imx7-colibri.dtb \ + imx7d-sdb.dtb dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-evk.dtb diff --git a/arch/arm/dts/imx7d-sdb.dts b/arch/arm/dts/imx7d-sdb.dts new file mode 100644 index 0000000000..03788977ba --- /dev/null +++ b/arch/arm/dts/imx7d-sdb.dts @@ -0,0 +1,19 @@ +/* + * Copyright 2017 NXP + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +/dts-v1/; + +#include "imx7d.dtsi" + +/ { + model = "Freescale i.MX7 SabreSD Board"; + compatible = "fsl,imx7d-sdb", "fsl,imx7d"; + + memory { + reg = <0x80000000 0x80000000>; + }; + +}; diff --git a/configs/mx7dsabresd_defconfig b/configs/mx7dsabresd_defconfig index 0701e1d324..9fe7c97cac 100644 --- a/configs/mx7dsabresd_defconfig +++ b/configs/mx7dsabresd_defconfig @@ -6,6 +6,7 @@ CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y # CONFIG_CMD_BMODE is not set CONFIG_VIDEO=y +CONFIG_DEFAULT_DEVICE_TREE="imx7d-sdb" CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg" CONFIG_BOOTDELAY=3 # CONFIG_CONSOLE_MUX is not set @@ -34,6 +35,7 @@ CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y +CONFIG_OF_CONTROL=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_USB=y @@ -46,4 +48,3 @@ CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_G_DNL_MANUFACTURER="FSL" CONFIG_G_DNL_VENDOR_NUM=0x0525 CONFIG_G_DNL_PRODUCT_NUM=0xa4a5 -CONFIG_OF_LIBFDT=y -- 2.30.2