summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7ulp-evk-qspi.dts
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2016-12-14 11:38:49 -0600
committerAnson Huang <Anson.Huang@nxp.com>2017-06-08 19:27:50 +0800
commitced4d20e7d1db8b40ebc6fcdbffc9bb972754b0e (patch)
tree91ae21213040ceeffc9a99a9ec02d378c4d7ead8 /arch/arm/boot/dts/imx7ulp-evk-qspi.dts
parent05c5e6a267e54e54b023cb46272e76e0f71ad7f7 (diff)
MLK-13612-1: ARM: dts: enable QSPI for i.MX7ULP1
Add one more dts for QSPI on i.MX7ULP1 for mfgtool purpose. Signed-off-by: Han Xu <han.xu@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7ulp-evk-qspi.dts')
-rw-r--r--arch/arm/boot/dts/imx7ulp-evk-qspi.dts41
1 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7ulp-evk-qspi.dts b/arch/arm/boot/dts/imx7ulp-evk-qspi.dts
new file mode 100644
index 000000000000..6a7f1f2da257
--- /dev/null
+++ b/arch/arm/boot/dts/imx7ulp-evk-qspi.dts
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2016 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 "imx7ulp-evk.dts"
+
+&qspi1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_qspi1_1>;
+ status = "okay";
+
+ flash0: mx25r6435f@0 {
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "macronix,mx25r6435f";
+ spi-max-frequency = <29000000>;
+ };
+};
+
+&iomuxc1 {
+ imx7ulp-evk {
+ pinctrl_qspi1_1: qspi1grp_1 {
+ fsl,pins = <
+ ULP1_PAD_PTB7_LLWU0_P11__QSPIA_SS1_B 0x43 /* SS1 */
+ ULP1_PAD_PTB8__QSPIA_SS0_B 0x43 /* SS0 */
+ ULP1_PAD_PTB15__QSPIA_SCLK 0x43 /* SCLK */
+ ULP1_PAD_PTB9_LLWU0_P12__QSPIA_DQS 0x43 /* DQS */
+ ULP1_PAD_PTB16_LLWU0_P14__QSPIA_DATA3 0x43 /* D3 */
+ ULP1_PAD_PTB17__QSPIA_DATA2 0x43 /* D2 */
+ ULP1_PAD_PTB18__QSPIA_DATA1 0x43 /* D1 */
+ ULP1_PAD_PTB19_LLWU0_P15__QSPIA_DATA0 0x43 /* D0 */
+ >;
+ };
+ };
+};
+