Skip to content

Commit 10d0bc8

Browse files
passgatShawn Guo
authored andcommitted
ARM: dts: mxs: use padconfig macros
Convert mx2{3,8} dts files to use the padconfig macros defined in mxs-pinfunc.h. Signed-off-by: Dario Binacchi <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent fa716c6 commit 10d0bc8

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
MX23_PAD_LCD_HSYNC__GPIO_1_24
9494
MX23_PAD_PWM3__GPIO_1_29
9595
>;
96-
fsl,drive-strength = <0>;
97-
fsl,voltage = <1>;
98-
fsl,pull-up = <0>;
96+
fsl,drive-strength = <MXS_DRIVE_4mA>;
97+
fsl,voltage = <MXS_VOLTAGE_HIGH>;
98+
fsl,pull-up = <MXS_PULL_DISABLE>;
9999
};
100100
};
101101
};

arch/arm/boot/dts/nxp/mxs/imx23-xfi3.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
fsl,pinmux-ids = <
8484
MX23_PAD_GPMI_D07__GPIO_0_7
8585
>;
86-
fsl,drive-strength = <0>;
87-
fsl,voltage = <1>;
88-
fsl,pull-up = <0>;
86+
fsl,drive-strength = <MXS_DRIVE_4mA>;
87+
fsl,voltage = <MXS_VOLTAGE_HIGH>;
88+
fsl,pull-up = <MXS_PULL_DISABLE>;
8989
};
9090

9191
key_pins_a: keys@0 {
@@ -94,9 +94,9 @@
9494
MX23_PAD_ROTARYA__GPIO_2_7
9595
MX23_PAD_ROTARYB__GPIO_2_8
9696
>;
97-
fsl,drive-strength = <0>;
98-
fsl,voltage = <1>;
99-
fsl,pull-up = <1>;
97+
fsl,drive-strength = <MXS_DRIVE_4mA>;
98+
fsl,voltage = <MXS_VOLTAGE_HIGH>;
99+
fsl,pull-up = <MXS_PULL_ENABLE>;
100100
};
101101
};
102102
};

arch/arm/boot/dts/nxp/mxs/imx28-cfa10036.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@
102102
0x31c3 /*
103103
MX28_PAD_PWM3__GPIO_3_28 */
104104
>;
105-
fsl,drive-strength = <0>;
106-
fsl,voltage = <1>;
107-
fsl,pull-up = <0>;
105+
fsl,drive-strength = <MXS_DRIVE_4mA>;
106+
fsl,voltage = <MXS_VOLTAGE_HIGH>;
107+
fsl,pull-up = <MXS_PULL_DISABLE>;
108108
};
109109
};
110110

0 commit comments

Comments
 (0)