diff options
author | Denis Carikli <denis@eukrea.com> | 2014-02-07 02:50:23 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-09 08:32:17 -0500 |
commit | c19ba9f99977d6954dec5211928d23060d9c317d (patch) | |
tree | 4344b7c843a5f42d43de74f04a0f76d9b4391438 /arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts | |
parent | ec2ea8c1d87863d36d2e121a0b3588c0325b7363 (diff) |
ARM: dts: Add support for the cpuimx51 board from Eukrea and its baseboard.
The following devices/functionalities were added:
* Main and secondary UARTs.
* i2c and the pcf8563 device.
* Ethernet.
* NAND.
* The BP1 button.
* The LED.
* Watchdog
* SD.
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts')
-rw-r--r-- | arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts | 175 |
1 files changed, 175 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts b/arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts new file mode 100644 index 000000000000..5cec4f322096 --- /dev/null +++ b/arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts | |||
@@ -0,0 +1,175 @@ | |||
1 | /* | ||
2 | * Copyright 2013 Eukréa Electromatique <denis@eukrea.com> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License | ||
6 | * as published by the Free Software Foundation; either version 2 | ||
7 | * of the License, or (at your option) any later version. | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program; if not, write to the Free Software | ||
15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
16 | * MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | /dts-v1/; | ||
20 | #include "imx51-eukrea-cpuimx51.dtsi" | ||
21 | #include <dt-bindings/gpio/gpio.h> | ||
22 | |||
23 | / { | ||
24 | model = "Eukrea CPUIMX51"; | ||
25 | compatible = "eukrea,mbimxsd51","eukrea,cpuimx51", "fsl,imx51"; | ||
26 | |||
27 | gpio_keys { | ||
28 | compatible = "gpio-keys"; | ||
29 | pinctrl-names = "default"; | ||
30 | pinctrl-0 = <&pinctrl_gpiokeys_1>; | ||
31 | |||
32 | button-1 { | ||
33 | label = "BP1"; | ||
34 | gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; | ||
35 | linux,code = <256>; | ||
36 | gpio-key,wakeup; | ||
37 | linux,input-type = <1>; | ||
38 | }; | ||
39 | }; | ||
40 | |||
41 | leds { | ||
42 | compatible = "gpio-leds"; | ||
43 | pinctrl-names = "default"; | ||
44 | pinctrl-0 = <&pinctrl_gpioled>; | ||
45 | |||
46 | led1 { | ||
47 | label = "led1"; | ||
48 | gpios = <&gpio3 30 GPIO_ACTIVE_LOW>; | ||
49 | linux,default-trigger = "heartbeat"; | ||
50 | }; | ||
51 | }; | ||
52 | |||
53 | sound { | ||
54 | compatible = "eukrea,asoc-tlv320"; | ||
55 | eukrea,model = "imx51-eukrea-tlv320aic23"; | ||
56 | ssi-controller = <&ssi2>; | ||
57 | fsl,mux-int-port = <2>; | ||
58 | fsl,mux-ext-port = <3>; | ||
59 | }; | ||
60 | }; | ||
61 | |||
62 | &audmux { | ||
63 | pinctrl-names = "default"; | ||
64 | pinctrl-0 = <&pinctrl_audmux>; | ||
65 | status = "okay"; | ||
66 | }; | ||
67 | |||
68 | &esdhc1 { | ||
69 | pinctrl-names = "default"; | ||
70 | pinctrl-0 = <&pinctrl_esdhc1 &pinctrl_esdhc1_cd>; | ||
71 | fsl,cd-controller; | ||
72 | status = "okay"; | ||
73 | }; | ||
74 | |||
75 | &i2c1 { | ||
76 | tlv320aic23: codec@1a { | ||
77 | compatible = "ti,tlv320aic23"; | ||
78 | reg = <0x1a>; | ||
79 | }; | ||
80 | }; | ||
81 | |||
82 | &iomuxc { | ||
83 | imx51-eukrea { | ||
84 | pinctrl_audmux: audmuxgrp { | ||
85 | fsl,pins = < | ||
86 | MX51_PAD_AUD3_BB_TXD__AUD3_TXD 0x80000000 | ||
87 | MX51_PAD_AUD3_BB_RXD__AUD3_RXD 0x80000000 | ||
88 | MX51_PAD_AUD3_BB_CK__AUD3_TXC 0x80000000 | ||
89 | MX51_PAD_AUD3_BB_FS__AUD3_TXFS 0x80000000 | ||
90 | >; | ||
91 | }; | ||
92 | |||
93 | pinctrl_esdhc1: esdhc1grp { | ||
94 | fsl,pins = < | ||
95 | MX51_PAD_SD1_CMD__SD1_CMD 0x400020d5 | ||
96 | MX51_PAD_SD1_CLK__SD1_CLK 0x20d5 | ||
97 | MX51_PAD_SD1_DATA0__SD1_DATA0 0x20d5 | ||
98 | MX51_PAD_SD1_DATA1__SD1_DATA1 0x20d5 | ||
99 | MX51_PAD_SD1_DATA2__SD1_DATA2 0x20d5 | ||
100 | MX51_PAD_SD1_DATA3__SD1_DATA3 0x20d5 | ||
101 | >; | ||
102 | }; | ||
103 | |||
104 | pinctrl_uart1: uart1grp { | ||
105 | fsl,pins = < | ||
106 | MX51_PAD_UART1_RXD__UART1_RXD 0x1c5 | ||
107 | MX51_PAD_UART1_TXD__UART1_TXD 0x1c5 | ||
108 | >; | ||
109 | }; | ||
110 | |||
111 | pinctrl_uart3: uart3grp { | ||
112 | fsl,pins = < | ||
113 | MX51_PAD_UART3_RXD__UART3_RXD 0x1c5 | ||
114 | MX51_PAD_UART3_TXD__UART3_TXD 0x1c5 | ||
115 | >; | ||
116 | }; | ||
117 | |||
118 | pinctrl_uart3_rtscts: uart3rtsctsgrp { | ||
119 | fsl,pins = < | ||
120 | MX51_PAD_KEY_COL4__UART3_RTS 0x1c5 | ||
121 | MX51_PAD_KEY_COL5__UART3_CTS 0x1c5 | ||
122 | >; | ||
123 | }; | ||
124 | |||
125 | pinctrl_backlight_1: backlightgrp-1 { | ||
126 | fsl,pins = < | ||
127 | MX51_PAD_DI1_D1_CS__GPIO3_4 0x1f5 | ||
128 | >; | ||
129 | }; | ||
130 | |||
131 | pinctrl_esdhc1_cd: esdhc1_cd { | ||
132 | fsl,pins = < | ||
133 | MX51_PAD_GPIO1_0__SD1_CD 0x20d5 | ||
134 | >; | ||
135 | }; | ||
136 | |||
137 | pinctrl_gpiokeys_1: gpiokeysgrp-1 { | ||
138 | fsl,pins = < | ||
139 | MX51_PAD_NANDF_D9__GPIO3_31 0x1f5 | ||
140 | >; | ||
141 | }; | ||
142 | |||
143 | pinctrl_gpioled: gpioledgrp-1 { | ||
144 | fsl,pins = < | ||
145 | MX51_PAD_NANDF_D10__GPIO3_30 0x80000000 | ||
146 | >; | ||
147 | }; | ||
148 | |||
149 | pinctrl_reg_lcd_3v3: reg_lcd_3v3 { | ||
150 | fsl,pins = < | ||
151 | MX51_PAD_CSI1_D9__GPIO3_13 0x1f5 | ||
152 | >; | ||
153 | }; | ||
154 | }; | ||
155 | }; | ||
156 | |||
157 | &ssi2 { | ||
158 | codec-handle = <&tlv320aic23>; | ||
159 | fsl,mode = "i2s-slave"; | ||
160 | status = "okay"; | ||
161 | }; | ||
162 | |||
163 | &uart1 { | ||
164 | pinctrl-names = "default"; | ||
165 | pinctrl-0 = <&pinctrl_uart1>; | ||
166 | fsl,uart-has-rtscts; | ||
167 | status = "okay"; | ||
168 | }; | ||
169 | |||
170 | &uart3 { | ||
171 | pinctrl-names = "default"; | ||
172 | pinctrl-0 = <&pinctrl_uart3 &pinctrl_uart3_rtscts>; | ||
173 | fsl,uart-has-rtscts; | ||
174 | status = "okay"; | ||
175 | }; | ||