[PATCH 2/3] ARM: dts: Add SPI support for i.MX27 Phytec PCM038 module

Alexander Shiyan shc_work at mail.ru
Sun Apr 7 11:29:13 EDT 2013


Added SPI node to imx27-phytec-phycore DT file.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp
index 7228153..354dc77 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp
+++ b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp
@@ -77,3 +77,9 @@
 	nand-ecc-mode = "hw";
 	status = "okay";
 };
+
+&cspi1 {
+	fsl,spi-num-chipselects = <1>;
+	cs-gpios = <&gpio4 28 0>;
+	status = "okay";
+};
-- 
1.8.1.5




More information about the linux-arm-kernel mailing list