diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-11-03 15:59:08 (GMT) |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-11-05 02:53:34 (GMT) |
commit | 24196d5c597272b1e5c57903f2e3c7996e607117 (patch) | |
tree | cd6784f4158fb26b77dc02634f72fadbfa203d7e /arch/arm | |
parent | c241d0a3ba78d50da08bd0c8236433b7653a86c7 (diff) | |
download | linux-24196d5c597272b1e5c57903f2e3c7996e607117.tar.xz |
ARM: dts: mxs: Add hog pins to Crystalfontz boards
Use a hog_pins pinctrl group to force the muxing of GPIOs used on the
Crystalfonz CFA10036 and CFA10049 boards.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx28-cfa10036.dts | 13 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx28-cfa10049.dts | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts index 3a28077..794fc9f 100644 --- a/arch/arm/boot/dts/imx28-cfa10036.dts +++ b/arch/arm/boot/dts/imx28-cfa10036.dts @@ -23,6 +23,19 @@ apb@80000000 { apbh@80000000 { pinctrl@80018000 { + pinctrl-names = "default"; + pinctrl-0 = <&hog_pins_cfa10036>; + + hog_pins_cfa10036: hog-10036@0 { + reg = <0>; + fsl,pinmux-ids = < + 0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + led_pins_cfa10036: leds-10036@0 { reg = <0>; fsl,pinmux-ids = < diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index 5549c6c..b222614 100644 --- a/arch/arm/boot/dts/imx28-cfa10049.dts +++ b/arch/arm/boot/dts/imx28-cfa10049.dts @@ -22,6 +22,22 @@ apb@80000000 { apbh@80000000 { pinctrl@80018000 { + pinctrl-names = "default", "default"; + pinctrl-1 = <&hog_pins_cfa10049>; + + hog_pins_cfa10049: hog-10049@0 { + reg = <0>; + fsl,pinmux-ids = < + 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ + 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */ + 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */ + 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + spi3_pins_cfa10049: spi3-cfa10049@0 { reg = <0>; fsl,pinmux-ids = < |