Commit 07248042 authored by Shawn Guo's avatar Shawn Guo

ARM: dts: imx53-smd: add pinctrl settings

Add pinctrl settings for the exsiting devices in imx53-smd.dts.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 327a79c0
...@@ -25,22 +25,30 @@ soc { ...@@ -25,22 +25,30 @@ soc {
aips@50000000 { /* AIPS1 */ aips@50000000 { /* AIPS1 */
spba@50000000 { spba@50000000 {
esdhc@50004000 { /* ESDHC1 */ esdhc@50004000 { /* ESDHC1 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc1_1>;
cd-gpios = <&gpio3 13 0>; cd-gpios = <&gpio3 13 0>;
wp-gpios = <&gpio4 11 0>; wp-gpios = <&gpio4 11 0>;
status = "okay"; status = "okay";
}; };
esdhc@50008000 { /* ESDHC2 */ esdhc@50008000 { /* ESDHC2 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc2_1>;
non-removable; non-removable;
status = "okay"; status = "okay";
}; };
uart3: serial@5000c000 { uart3: serial@5000c000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart3_1>;
fsl,uart-has-rtscts; fsl,uart-has-rtscts;
status = "okay"; status = "okay";
}; };
ecspi@50010000 { /* ECSPI1 */ ecspi@50010000 { /* ECSPI1 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1_1>;
fsl,spi-num-chipselects = <2>; fsl,spi-num-chipselects = <2>;
cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
status = "okay"; status = "okay";
...@@ -72,27 +80,49 @@ partition@40000 { ...@@ -72,27 +80,49 @@ partition@40000 {
}; };
esdhc@50020000 { /* ESDHC3 */ esdhc@50020000 { /* ESDHC3 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc3_1>;
non-removable; non-removable;
status = "okay"; status = "okay";
}; };
}; };
iomuxc@53fa8000 { iomuxc@53fa8000 {
compatible = "fsl,imx53-iomuxc-smd"; pinctrl-names = "default";
reg = <0x53fa8000 0x4000>; pinctrl-0 = <&pinctrl_hog>;
hog {
pinctrl_hog: hoggrp {
fsl,pins = <
982 0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */
989 0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */
424 0x80000000 /* MX53_PAD_EIM_EB2__GPIO2_30 */
701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
449 0x80000000 /* MX53_PAD_EIM_D19__GPIO3_19 */
43 0x80000000 /* MX53_PAD_KEY_ROW2__GPIO4_11 */
868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
>;
};
};
}; };
uart1: serial@53fbc000 { uart1: serial@53fbc000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1_1>;
status = "okay"; status = "okay";
}; };
uart2: serial@53fc0000 { uart2: serial@53fc0000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart2_1>;
status = "okay"; status = "okay";
}; };
}; };
aips@60000000 { /* AIPS2 */ aips@60000000 { /* AIPS2 */
i2c@63fc4000 { /* I2C2 */ i2c@63fc4000 { /* I2C2 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2_1>;
status = "okay"; status = "okay";
codec: sgtl5000@0a { codec: sgtl5000@0a {
...@@ -112,6 +142,8 @@ touchkey: mpr121@5a { ...@@ -112,6 +142,8 @@ touchkey: mpr121@5a {
}; };
i2c@63fc8000 { /* I2C1 */ i2c@63fc8000 { /* I2C1 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1_1>;
status = "okay"; status = "okay";
accelerometer: mma8450@1c { accelerometer: mma8450@1c {
...@@ -131,6 +163,8 @@ pmic: dialog@48 { ...@@ -131,6 +163,8 @@ pmic: dialog@48 {
}; };
ethernet@63fec000 { ethernet@63fec000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fec_1>;
phy-mode = "rmii"; phy-mode = "rmii";
phy-reset-gpios = <&gpio7 6 0>; phy-reset-gpios = <&gpio7 6 0>;
status = "okay"; status = "okay";
......
...@@ -286,6 +286,19 @@ pinctrl_esdhc1_2: esdhc1grp-2 { ...@@ -286,6 +286,19 @@ pinctrl_esdhc1_2: esdhc1grp-2 {
}; };
}; };
esdhc2 {
pinctrl_esdhc2_1: esdhc2grp-1 {
fsl,pins = <
1038 0x1d5 /* MX53_PAD_SD2_CMD__ESDHC2_CMD */
1032 0x1d5 /* MX53_PAD_SD2_CLK__ESDHC2_CLK */
1062 0x1d5 /* MX53_PAD_SD2_DATA0__ESDHC2_DAT0 */
1056 0x1d5 /* MX53_PAD_SD2_DATA1__ESDHC2_DAT1 */
1050 0x1d5 /* MX53_PAD_SD2_DATA2__ESDHC2_DAT2 */
1044 0x1d5 /* MX53_PAD_SD2_DATA3__ESDHC2_DAT3 */
>;
};
};
esdhc3 { esdhc3 {
pinctrl_esdhc3_1: esdhc3grp-1 { pinctrl_esdhc3_1: esdhc3grp-1 {
fsl,pins = < fsl,pins = <
...@@ -336,6 +349,26 @@ pinctrl_uart1_2: uart1grp-2 { ...@@ -336,6 +349,26 @@ pinctrl_uart1_2: uart1grp-2 {
>; >;
}; };
}; };
uart2 {
pinctrl_uart2_1: uart2grp-1 {
fsl,pins = <
841 0x1c5 /* MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX */
836 0x1c5 /* MX53_PAD_PATA_DMARQ__UART2_TXD_MUX */
>;
};
};
uart3 {
pinctrl_uart3_1: uart3grp-1 {
fsl,pins = <
884 0x1c5 /* MX53_PAD_PATA_CS_0__UART3_TXD_MUX */
888 0x1c5 /* MX53_PAD_PATA_CS_1__UART3_RXD_MUX */
875 0x1c5 /* MX53_PAD_PATA_DA_1__UART3_CTS */
880 0x1c5 /* MX53_PAD_PATA_DA_2__UART3_RTS */
>;
};
};
}; };
uart1: serial@53fbc000 { uart1: serial@53fbc000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment