aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx28-evk.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-27 23:44:58 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-07-03 01:24:54 -0400
commitd54dbb5000fca9863e8a2cb0e6467a424a1eb6e0 (patch)
treefea66a3a350e9fdb05905ad20b0fb65cf73e3a25 /arch/arm/boot/dts/imx28-evk.dts
parentf14da767880722f6150b617f1ddcb3a3970d7848 (diff)
ARM: dts: mxs: add hog-gpios for imx23-evk and imx28-evk
Before gpio_request can directly ask pinctrl system to configure the requested pin into gpio mode, we use "hog" entry (pinctrl state of pin controller itself) to configure gpios. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx28-evk.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts
index 319c75a2331e..505ae5e541c3 100644
--- a/arch/arm/boot/dts/imx28-evk.dts
+++ b/arch/arm/boot/dts/imx28-evk.dts
@@ -44,6 +44,27 @@
44 wp-gpios = <&gpio0 28 0>; 44 wp-gpios = <&gpio0 28 0>;
45 status = "okay"; 45 status = "okay";
46 }; 46 };
47
48 pinctrl@80018000 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&hog_pins_a>;
51
52 hog_pins_a: hog-gpios@0 {
53 reg = <0>;
54 fsl,pinmux-ids = <
55 0x20d3 /* MX28_PAD_SSP1_CMD__GPIO_2_13 */
56 0x20f3 /* MX28_PAD_SSP1_DATA3__GPIO_2_15 */
57 0x40d3 /* MX28_PAD_ENET0_RX_CLK__GPIO_4_13 */
58 0x20c3 /* MX28_PAD_SSP1_SCK__GPIO_2_12 */
59 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */
60 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
61 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
62 >;
63 fsl,drive-strength = <0>;
64 fsl,voltage = <1>;
65 fsl,pull-up = <0>;
66 };
67 };
47 }; 68 };
48 69
49 apbx@80040000 { 70 apbx@80040000 {