ARM: dts: mxs: Add SSP2 SD mux
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 9 Jun 2016 19:43:10 +0000 (21:43 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 10 Jun 2016 13:03:36 +0000 (21:03 +0800)
Add pinmux configuration for SSP2 port in SD mode, both for
the 4-bit and 8-bit case.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx23.dtsi

index 302d1168f42427053f271c2925b3a1fa23f250db..c70ebefbda4623e2be975bdc4f63dabeeb1ae8bf 100644 (file)
                                        fsl,pull-up = <MXS_PULL_DISABLE>;
                                };
 
+                               mmc1_4bit_pins_a: mmc1-4bit@0 {
+                                       reg = <0>;
+                                       fsl,pinmux-ids = <
+                                               MX23_PAD_GPMI_D00__SSP2_DATA0
+                                               MX23_PAD_GPMI_D01__SSP2_DATA1
+                                               MX23_PAD_GPMI_D02__SSP2_DATA2
+                                               MX23_PAD_GPMI_D03__SSP2_DATA3
+                                               MX23_PAD_GPMI_RDY1__SSP2_CMD
+                                               MX23_PAD_GPMI_WRN__SSP2_SCK
+                                       >;
+                                       fsl,drive-strength = <MXS_DRIVE_8mA>;
+                                       fsl,voltage = <MXS_VOLTAGE_HIGH>;
+                                       fsl,pull-up = <MXS_PULL_ENABLE>;
+                               };
+
+                               mmc1_8bit_pins_a: mmc1-8bit@0 {
+                                       reg = <0>;
+                                       fsl,pinmux-ids = <
+                                               MX23_PAD_GPMI_D00__SSP2_DATA0
+                                               MX23_PAD_GPMI_D01__SSP2_DATA1
+                                               MX23_PAD_GPMI_D02__SSP2_DATA2
+                                               MX23_PAD_GPMI_D03__SSP2_DATA3
+                                               MX23_PAD_GPMI_D04__SSP2_DATA4
+                                               MX23_PAD_GPMI_D05__SSP2_DATA5
+                                               MX23_PAD_GPMI_D06__SSP2_DATA6
+                                               MX23_PAD_GPMI_D07__SSP2_DATA7
+                                               MX23_PAD_GPMI_RDY1__SSP2_CMD
+                                               MX23_PAD_GPMI_WRN__SSP2_SCK
+                                       >;
+                                       fsl,drive-strength = <MXS_DRIVE_8mA>;
+                                       fsl,voltage = <MXS_VOLTAGE_HIGH>;
+                                       fsl,pull-up = <MXS_PULL_ENABLE>;
+                               };
+
                                pwm2_pins_a: pwm2@0 {
                                        reg = <0>;
                                        fsl,pinmux-ids = <