2 * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
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.
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,
20 #include "imx51-eukrea-cpuimx51.dtsi"
21 #include <dt-bindings/gpio/gpio.h>
24 model = "Eukrea CPUIMX51";
25 compatible = "eukrea,mbimxsd51","eukrea,cpuimx51", "fsl,imx51";
28 compatible = "gpio-keys";
29 pinctrl-names = "default";
30 pinctrl-0 = <&pinctrl_gpiokeys_1>;
34 gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
37 linux,input-type = <1>;
42 compatible = "gpio-leds";
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_gpioled>;
48 gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "heartbeat";
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>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_audmux>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&pinctrl_esdhc1 &pinctrl_esdhc1_cd>;
76 tlv320aic23: codec@1a {
77 compatible = "ti,tlv320aic23";
84 pinctrl_audmux: audmuxgrp {
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
93 pinctrl_esdhc1: esdhc1grp {
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
104 pinctrl_uart1: uart1grp {
106 MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
107 MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
111 pinctrl_uart3: uart3grp {
113 MX51_PAD_UART3_RXD__UART3_RXD 0x1c5
114 MX51_PAD_UART3_TXD__UART3_TXD 0x1c5
118 pinctrl_uart3_rtscts: uart3rtsctsgrp {
120 MX51_PAD_KEY_COL4__UART3_RTS 0x1c5
121 MX51_PAD_KEY_COL5__UART3_CTS 0x1c5
125 pinctrl_backlight_1: backlightgrp-1 {
127 MX51_PAD_DI1_D1_CS__GPIO3_4 0x1f5
131 pinctrl_esdhc1_cd: esdhc1_cd {
133 MX51_PAD_GPIO1_0__SD1_CD 0x20d5
137 pinctrl_gpiokeys_1: gpiokeysgrp-1 {
139 MX51_PAD_NANDF_D9__GPIO3_31 0x1f5
143 pinctrl_gpioled: gpioledgrp-1 {
145 MX51_PAD_NANDF_D10__GPIO3_30 0x80000000
149 pinctrl_reg_lcd_3v3: reg_lcd_3v3 {
151 MX51_PAD_CSI1_D9__GPIO3_13 0x1f5
158 codec-handle = <&tlv320aic23>;
159 fsl,mode = "i2s-slave";
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_uart1>;
171 pinctrl-names = "default";
172 pinctrl-0 = <&pinctrl_uart3 &pinctrl_uart3_rtscts>;