summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7d-sdb-qspi.dts
diff options
context:
space:
mode:
authorHan Xu <b45815@freescale.com>2015-04-02 14:58:29 -0500
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:23:56 +0800
commit0acd31a0ecec1713ee03f8022e7a5bfd855476e3 (patch)
tree5068332e73042c22e25b25657af77b5738b96232 /arch/arm/boot/dts/imx7d-sdb-qspi.dts
parenteeba82a09d9ded656cd12507e2eb797ff24b8543 (diff)
MLK-10565-1: ARM:dts: new dts for QSPI on i.MX7D SDB
Add a new dts file for QSPI on i.MX7D SDB, also changed dtb file order to alphabetical order. Signed-off-by: Han Xu <b45815@freescale.com> (cherry picked and merge from commit b24b9f69616f3d603f70740543e83ea71585c0ea)
Diffstat (limited to 'arch/arm/boot/dts/imx7d-sdb-qspi.dts')
-rw-r--r--arch/arm/boot/dts/imx7d-sdb-qspi.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb-qspi.dts b/arch/arm/boot/dts/imx7d-sdb-qspi.dts
new file mode 100644
index 000000000000..83b040170f2f
--- /dev/null
+++ b/arch/arm/boot/dts/imx7d-sdb-qspi.dts
@@ -0,0 +1,44 @@
+/*
+ * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ *
+ * 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.
+ */
+
+#include "imx7d-sdb.dts"
+
+/* disable epdc, conflict with qspi */
+&epdc {
+ status = "disabled";
+};
+
+&iomuxc {
+ qspi1 {
+ pinctrl_qspi1_1: qspi1grp_1 {
+ fsl,pins = <
+ MX7D_PAD_EPDC_DATA00__QSPI_A_DATA0 0x51
+ MX7D_PAD_EPDC_DATA01__QSPI_A_DATA1 0x51
+ MX7D_PAD_EPDC_DATA02__QSPI_A_DATA2 0x51
+ MX7D_PAD_EPDC_DATA03__QSPI_A_DATA3 0x51
+ MX7D_PAD_EPDC_DATA05__QSPI_A_SCLK 0x51
+ MX7D_PAD_EPDC_DATA06__QSPI_A_SS0_B 0x51
+ >;
+ };
+ };
+};
+
+&qspi1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_qspi1_1>;
+ status = "okay";
+ ddrsmp=<0>;
+
+ flash0: mx25l51245g@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "macronix,mx25l51245g";
+ spi-max-frequency = <29000000>;
+ reg = <0>;
+ };
+};