summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-05-07 22:09:05 +0400
committerShawn Guo <shawn.guo@freescale.com>2014-05-16 19:02:08 +0400
commit819826a1586395be4810960cf333a12674466b90 (patch)
tree4297b944a781cd2d9892f0dd4c799bc11ebcec05 /arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
parentd02f74aa75241cc8aee65214db16cf4fdd6cf301 (diff)
downloadlinux-819826a1586395be4810960cf333a12674466b90.tar.xz
ARM: dts: imx6: edmqmx6: add SPI bus and flash
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts')
-rw-r--r--arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index aac4690afed3..5b45270e1176 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -95,6 +95,20 @@
};
};
+&ecspi5 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ecspi5>;
+ fsl,spi-num-chipselects = <1>;
+ cs-gpios = <&gpio1 12 0>;
+ status = "okay";
+
+ flash: m25p80@0 {
+ compatible = "m25p80";
+ spi-max-frequency = <40000000>;
+ reg = <0>;
+ };
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
@@ -268,6 +282,15 @@
>;
};
+ pinctrl_ecspi5: ecspi5rp-1 {
+ fsl,pins = <
+ MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x80000000
+ MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0x80000000
+ MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0x80000000
+ MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x80000000
+ >;
+ };
+
pinctrl_enet: enetgrp {
fsl,pins = <
MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0