[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.2-186-g13ec472
Brought to you by:
sszy
|
From: Gwenhael Goavec-M. <gwe...@us...> - 2013-03-09 08:49:37
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 13ec4726b61184b049e41324d774bc610834c9a0 (commit)
via 39f63583d8f5f443eec85c02ee68ff368bcaab6f (commit)
from ab464d67b683705c8e2505f2e35f112fa38120ca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 13ec4726b61184b049e41324d774bc610834c9a0
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Sat Mar 9 09:48:08 2013 +0100
[LINUX][3.8] apf51dev: DT: add basic support for ecspi
commit 39f63583d8f5f443eec85c02ee68ff368bcaab6f
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Sat Mar 9 09:47:18 2013 +0100
[LINUX][3.8] imx51: DT: add ecspi2 pinmux
-----------------------------------------------------------------------
Summary of changes:
.../3.8/0401-armadeus-add_apf51dev_baseboard.patch | 32 +++++++++++++++++++-
...0406-armadeus-imx51-dtb-add_ecspi2_pinmux.patch | 25 +++++++++++++++
2 files changed, 56 insertions(+), 1 deletions(-)
create mode 100644 patches/linux/3.8/0406-armadeus-imx51-dtb-add_ecspi2_pinmux.patch
diff --git a/patches/linux/3.8/0401-armadeus-add_apf51dev_baseboard.patch b/patches/linux/3.8/0401-armadeus-add_apf51dev_baseboard.patch
index cb46567..504b3c9 100644
--- a/patches/linux/3.8/0401-armadeus-add_apf51dev_baseboard.patch
+++ b/patches/linux/3.8/0401-armadeus-add_apf51dev_baseboard.patch
@@ -7,7 +7,7 @@ Index: linux-3.8/arch/arm/boot/dts/imx51-apf51dev.dts
===================================================================
--- /dev/null
+++ linux-3.8/arch/arm/boot/dts/imx51-apf51dev.dts
-@@ -0,0 +1,72 @@
+@@ -0,0 +1,102 @@
+/*
+ * Copyright 2013 Armadeus Systems - <su...@ar...>
+ *
@@ -47,6 +47,32 @@ Index: linux-3.8/arch/arm/boot/dts/imx51-apf51dev.dts
+ };
+};
+
++&ecspi1 {
++ pinctrl-names = "default";
++ pinctrl-0 = <&pinctrl_ecspi1_1>;
++ fsl,spi-num-chipselects = <2>;
++ cs-gpios = <&gpio4 24 0>, /* GPIO4_24 */
++ <&gpio4 25 0>; /* GPIO4_25 */
++ status = "okay";
++};
++
++&ecspi2 {
++ pinctrl-names = "default";
++ pinctrl-0 = <&pinctrl_ecspi2_1>;
++ fsl,spi-num-chipselects = <2>;
++ cs-gpios = <&gpio3 28 1>, /* GPIO3_28 */
++ <&gpio3 27 1>; /* GPIO3_27 */
++ status = "okay";
++
++ spidev: spidev@1 {
++ #address-cells = <1>;
++ #size-cells = <1>;
++ compatible = "spidev";
++ spi-max-frequency = <25000000>;
++ reg = <1>;
++ };
++};
++
+&esdhc1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_esdhc1_1>;
@@ -74,6 +100,10 @@ Index: linux-3.8/arch/arm/boot/dts/imx51-apf51dev.dts
+ 129 0x0C5 /* MX51_PAD_EIM_EB2__GPIO2_22 */
+ 135 0x0C5 /* MX51_PAD_EIM_EB3__GPIO2_23 */
+ 159 0x100 /* MX51_PAD_EIM_CS4__GPIO2_29 */
++ 275 0x0C5 /* MX51_PAD_NANDF_D13__GPIO3_27 */
++ 280 0x0C5 /* MX51_PAD_NANDF_D12__GPIO3_28 */
++ 402 0x0C5 /* MX51_PAD_CSPI1_SS0__GPIO4_24 */
++ 405 0x0C5 /* MX51_PAD_CSPI1_SS1__GPIO4_25 */
+ 721 0x0C5 /* MX51_PAD_GPIO1_2__GPIO1_2 */
+ 725 0x0C5 /* MX51_PAD_GPIO1_3__GPIO1_3 */
+ >;
diff --git a/patches/linux/3.8/0406-armadeus-imx51-dtb-add_ecspi2_pinmux.patch b/patches/linux/3.8/0406-armadeus-imx51-dtb-add_ecspi2_pinmux.patch
new file mode 100644
index 0000000..d9a21c6
--- /dev/null
+++ b/patches/linux/3.8/0406-armadeus-imx51-dtb-add_ecspi2_pinmux.patch
@@ -0,0 +1,25 @@
+
+Signed-off-by: Gwenhael Goavec-Merou <gwe...@ar...>
+---
+
+Index: linux-3.8/arch/arm/boot/dts/imx51.dtsi
+===================================================================
+--- linux-3.8.orig/arch/arm/boot/dts/imx51.dtsi
++++ linux-3.8/arch/arm/boot/dts/imx51.dtsi
+@@ -308,6 +308,16 @@
+ };
+ };
+
++ ecspi2 {
++ pinctrl_ecspi2_1: ecspi2grp-1 {
++ fsl,pins = <
++ 212 0x185 /* MX51_PAD_NANDF_RB3__ECSPI2_MISO */
++ 264 0x185 /* MX51_PAD_NANDF_D15__ECSPI2_MOSI */
++ 205 0x185 /* MX51_PAD_NANDF_RB2__ECSPI2_SCLK */
++ >;
++ };
++ };
++
+ esdhc1 {
+ pinctrl_esdhc1_1: esdhc1grp-1 {
+ fsl,pins = <
hooks/post-receive
--
armadeus
|