summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sx-sdb-emmc.dts
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2019-08-14 15:56:08 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:06:06 +0800
commit53751f873291a91a762a70b351feaf5167fa138d (patch)
treefa8bfdc1fc3e75d3cd3b53465e5c3eb9a8b60450 /arch/arm/boot/dts/imx6sx-sdb-emmc.dts
parent562b71e3b6dce44e5db0ef0409f04062a5562b61 (diff)
ARM: dts: add emmc support for imx6sx-sdb board
Add emmc support for imx6sx-sdb board, due to this support need remove sd4 sd card slot and solder an eMMC chip, so this patch add imx6sx-sdb-emmc.dts file. Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb-emmc.dts')
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb-emmc.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb-emmc.dts b/arch/arm/boot/dts/imx6sx-sdb-emmc.dts
new file mode 100644
index 000000000000..0e4049b74ac8
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sx-sdb-emmc.dts
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2019 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ */
+
+#include "imx6sx-sdb.dts"
+
+/*
+ * The eMMC chip on imx6sx sdb board is DNP by default.
+ * Need do hw rework to burn the eMMC4.5 chip on the eMMC socket on uSDHC4
+ * and connect eMMC signals as well as disconnect BOOT SD CARD slot signals
+ */
+&usdhc4 {
+ pinctrl-names = "default", "state_100mhz", "state_200mhz";
+ pinctrl-0 = <&pinctrl_usdhc4_1>;
+ pinctrl-1 = <&pinctrl_usdhc4_1_100mhz>;
+ pinctrl-2 = <&pinctrl_usdhc4_1_200mhz>;
+ bus-width = <8>;
+ /*
+ * overwrite cd-gpios and wp-gpios since they are reused as eMMC DATA
+ * signals after rework
+ */
+ cd-gpios = <>;
+ wp-gpios = <>;
+ non-removable;
+ status = "okay";
+};
+