diff mbox

[PATCHv3,2/2] dts: mxs: spi: Add SSP3 to the 10049 board

Message ID 1346748243-28675-2-git-send-email-maxime.ripard@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Maxime Ripard Sept. 4, 2012, 8:44 a.m. UTC
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/imx28-cfa10049.dts |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Comments

Shawn Guo Sept. 5, 2012, 2:49 a.m. UTC | #1
On Tue, Sep 04, 2012 at 10:44:03AM +0200, Maxime Ripard wrote:
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Applied with subject prefix reworded as below.

  ARM: dts: cfa10049: Add SSP3 to the 10049 board

> ---
>  arch/arm/boot/dts/imx28-cfa10049.dts |   22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts
> index e0e4b8c..845663e 100644
> --- a/arch/arm/boot/dts/imx28-cfa10049.dts
> +++ b/arch/arm/boot/dts/imx28-cfa10049.dts
> @@ -20,6 +20,28 @@
>  	compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
>  
>  	apb@80000000 {
> +		apbh@80000000 {
> +			pinctrl@80018000 {
> +				spi3_pins_cfa10049: spi3-cfa10049@0 {
> +					reg = <0>;
> +					fsl,pinmux-ids = <
> +						0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
> +						0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
> +					>;
> +					fsl,drive-strength = <1>;
> +					fsl,voltage = <1>;
> +					fsl,pull-up = <1>;
> +				};
> +			};
> +
> +			ssp3: ssp@80016000 {
> +				compatible = "fsl,imx28-spi";
> +				pinctrl-names = "default";
> +				pinctrl-0 = <&spi3_pins_cfa10049>;
> +				status = "okay";
> +			};
> +		};
> +
>  		apbx@80040000 {
>  			i2c1: i2c@8005a000 {
>  				pinctrl-names = "default";
> -- 
> 1.7.9.5
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts
index e0e4b8c..845663e 100644
--- a/arch/arm/boot/dts/imx28-cfa10049.dts
+++ b/arch/arm/boot/dts/imx28-cfa10049.dts
@@ -20,6 +20,28 @@ 
 	compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
 
 	apb@80000000 {
+		apbh@80000000 {
+			pinctrl@80018000 {
+				spi3_pins_cfa10049: spi3-cfa10049@0 {
+					reg = <0>;
+					fsl,pinmux-ids = <
+						0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
+						0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
+					>;
+					fsl,drive-strength = <1>;
+					fsl,voltage = <1>;
+					fsl,pull-up = <1>;
+				};
+			};
+
+			ssp3: ssp@80016000 {
+				compatible = "fsl,imx28-spi";
+				pinctrl-names = "default";
+				pinctrl-0 = <&spi3_pins_cfa10049>;
+				status = "okay";
+			};
+		};
+
 		apbx@80040000 {
 			i2c1: i2c@8005a000 {
 				pinctrl-names = "default";