diff options
author | Huang Shijie <b32955@freescale.com> | 2012-05-25 05:25:35 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-03 01:22:34 -0400 |
commit | 7a8e5149efd4e20e329beec47e3bb57ce2c5938a (patch) | |
tree | 71e2cf25a3995bbf48d71789191793f4f6e7f818 /arch/arm/boot/dts/imx28.dtsi | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) |
ARM: mx28: add gpmi-nand support
add gpmi-nand device tree support.
add gpmi-nand pinctrl support.
Also enable the gpmi support for mx28-evk board.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx28.dtsi | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index 4634cb861a59..a89da5ac71f7 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi | |||
@@ -68,15 +68,15 @@ | |||
68 | status = "disabled"; | 68 | status = "disabled"; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | bch@8000a000 { | 71 | gpmi-nand@8000c000 { |
72 | reg = <0x8000a000 2000>; | 72 | compatible = "fsl,imx28-gpmi-nand"; |
73 | interrupts = <41>; | 73 | #address-cells = <1>; |
74 | status = "disabled"; | 74 | #size-cells = <1>; |
75 | }; | 75 | reg = <0x8000c000 2000>, <0x8000a000 2000>; |
76 | 76 | reg-names = "gpmi-nand", "bch"; | |
77 | gpmi@8000c000 { | 77 | interrupts = <88>, <41>; |
78 | reg = <0x8000c000 2000>; | 78 | interrupt-names = "gpmi-dma", "bch"; |
79 | interrupts = <42 88>; | 79 | fsl,gpmi-dma-channel = <4>; |
80 | status = "disabled"; | 80 | status = "disabled"; |
81 | }; | 81 | }; |
82 | 82 | ||
@@ -167,6 +167,23 @@ | |||
167 | fsl,pull-up = <0>; | 167 | fsl,pull-up = <0>; |
168 | }; | 168 | }; |
169 | 169 | ||
170 | gpmi_pins_a: gpmi-nand@0 { | ||
171 | reg = <0>; | ||
172 | fsl,pinmux-ids = <0x0000 0x0010 0x0020 | ||
173 | 0x0030 0x0040 0x0050 0x0060 | ||
174 | 0x0070 0x0100 0x0110 0x0140 | ||
175 | 0x0150 0x0180 0x0190 0x01a0 | ||
176 | 0x01b0 0x01c0>; | ||
177 | fsl,drive-strength = <0>; | ||
178 | fsl,voltage = <1>; | ||
179 | fsl,pull-up = <0>; | ||
180 | }; | ||
181 | |||
182 | gpmi_status_cfg: gpmi-status-cfg { | ||
183 | fsl,pinmux-ids = <0x0180 0x0190 0x01c0>; | ||
184 | fsl,drive-strength = <2>; | ||
185 | }; | ||
186 | |||
170 | mac0_pins_a: mac0@0 { | 187 | mac0_pins_a: mac0@0 { |
171 | reg = <0>; | 188 | reg = <0>; |
172 | fsl,pinmux-ids = <0x4000 0x4010 0x4020 | 189 | fsl,pinmux-ids = <0x4000 0x4010 0x4020 |