summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx23-evk.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-28 11:44:58 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-07-03 13:24:54 +0800
commitd54dbb5000fca9863e8a2cb0e6467a424a1eb6e0 (patch)
treefea66a3a350e9fdb05905ad20b0fb65cf73e3a25 /arch/arm/boot/dts/imx23-evk.dts
parentf14da767880722f6150b617f1ddcb3a3970d7848 (diff)
downloadtalos-op-linux-d54dbb5000fca9863e8a2cb0e6467a424a1eb6e0.tar.gz
talos-op-linux-d54dbb5000fca9863e8a2cb0e6467a424a1eb6e0.zip
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/imx23-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx23-evk.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index 70bffa929b65..6a0912b286a0 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -30,6 +30,23 @@
wp-gpios = <&gpio1 30 0>;
status = "okay";
};
+
+ pinctrl@80018000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&hog_pins_a>;
+
+ hog_pins_a: hog-gpios@0 {
+ reg = <0>;
+ fsl,pinmux-ids = <
+ 0x1123 /* MX23_PAD_LCD_RESET__GPIO_1_18 */
+ 0x11d3 /* MX23_PAD_PWM3__GPIO_1_29 */
+ 0x11e3 /* MX23_PAD_PWM4__GPIO_1_30 */
+ >;
+ fsl,drive-strength = <0>;
+ fsl,voltage = <1>;
+ fsl,pull-up = <0>;
+ };
+ };
};
apbx@80040000 {
OpenPOWER on IntegriCloud