Commit 327a79c0 authored by Shawn Guo's avatar Shawn Guo

ARM: dts: imx53-evk: add pinctrl settings

Add pinctrl settings for the exsiting devices in imx53-evk.dts.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 4bb6143c
...@@ -25,12 +25,16 @@ soc { ...@@ -25,12 +25,16 @@ 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 = <&gpio3 14 0>; wp-gpios = <&gpio3 14 0>;
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";
...@@ -56,6 +60,8 @@ partition@40000 { ...@@ -56,6 +60,8 @@ partition@40000 {
}; };
esdhc@50020000 { /* ESDHC3 */ esdhc@50020000 { /* ESDHC3 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc3_1>;
cd-gpios = <&gpio3 11 0>; cd-gpios = <&gpio3 11 0>;
wp-gpios = <&gpio3 12 0>; wp-gpios = <&gpio3 12 0>;
status = "okay"; status = "okay";
...@@ -63,17 +69,36 @@ esdhc@50020000 { /* ESDHC3 */ ...@@ -63,17 +69,36 @@ esdhc@50020000 { /* ESDHC3 */
}; };
iomuxc@53fa8000 { iomuxc@53fa8000 {
compatible = "fsl,imx53-iomuxc-evk"; pinctrl-names = "default";
reg = <0x53fa8000 0x4000>; pinctrl-0 = <&pinctrl_hog>;
hog {
pinctrl_hog: hoggrp {
fsl,pins = <
424 0x80000000 /* MX53_PAD_EIM_EB2__GPIO2_30 */
449 0x80000000 /* MX53_PAD_EIM_D19__GPIO3_19 */
693 0x80000000 /* MX53_PAD_EIM_DA11__GPIO3_11 */
697 0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */
701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
705 0x80000000 /* MX53_PAD_EIM_DA14__GPIO3_14 */
868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
>;
};
};
}; };
uart1: serial@53fbc000 { uart1: serial@53fbc000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1_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";
pmic: mc13892@08 { pmic: mc13892@08 {
...@@ -88,6 +113,8 @@ codec: sgtl5000@0a { ...@@ -88,6 +113,8 @@ codec: sgtl5000@0a {
}; };
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";
......
...@@ -248,6 +248,16 @@ pinctrl_fec_1: fecgrp-1 { ...@@ -248,6 +248,16 @@ pinctrl_fec_1: fecgrp-1 {
}; };
}; };
ecspi1 {
pinctrl_ecspi1_1: ecspi1grp-1 {
fsl,pins = <
433 0x80000000 /* MX53_PAD_EIM_D16__ECSPI1_SCLK */
439 0x80000000 /* MX53_PAD_EIM_D17__ECSPI1_MISO */
445 0x80000000 /* MX53_PAD_EIM_D18__ECSPI1_MOSI */
>;
};
};
esdhc1 { esdhc1 {
pinctrl_esdhc1_1: esdhc1grp-1 { pinctrl_esdhc1_1: esdhc1grp-1 {
fsl,pins = < fsl,pins = <
......
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