ARM: dts: imx6dl-wandboard: Add support for UART3
[linux-2.6.git] / arch / arm / boot / dts / imx6dl-wandboard.dts
blob15014bb50673164febed1e5a5c34db9da2352c4a
1 /*
2  * Copyright 2013 Freescale Semiconductor, Inc.
3  *
4  * Author: Fabio Estevam <fabio.estevam@freescale.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  */
11 /dts-v1/;
12 #include "imx6dl.dtsi"
14 / {
15         model = "Wandboard i.MX6 Dual Lite Board";
16         compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
18         memory {
19                 reg = <0x10000000 0x40000000>;
20         };
22         regulators {
23                 compatible = "simple-bus";
25                 reg_2p5v: 2p5v {
26                         compatible = "regulator-fixed";
27                         regulator-name = "2P5V";
28                         regulator-min-microvolt = <2500000>;
29                         regulator-max-microvolt = <2500000>;
30                         regulator-always-on;
31                 };
33                 reg_3p3v: 3p3v {
34                         compatible = "regulator-fixed";
35                         regulator-name = "3P3V";
36                         regulator-min-microvolt = <3300000>;
37                         regulator-max-microvolt = <3300000>;
38                         regulator-always-on;
39                 };
40         };
42         sound {
43                 compatible = "fsl,imx6dl-wandboard-sgtl5000",
44                              "fsl,imx-audio-sgtl5000";
45                 model = "imx6dl-wandboard-sgtl5000";
46                 ssi-controller = <&ssi1>;
47                 audio-codec = <&codec>;
48                 audio-routing =
49                         "MIC_IN", "Mic Jack",
50                         "Mic Jack", "Mic Bias",
51                         "Headphone Jack", "HP_OUT";
52                 mux-int-port = <1>;
53                 mux-ext-port = <3>;
54         };
57 &audmux {
58         pinctrl-names = "default";
59         pinctrl-0 = <&pinctrl_audmux_2>;
60         status = "okay";
63 &i2c2 {
64         clock-frequency = <100000>;
65         pinctrl-names = "default";
66         pinctrl-0 = <&pinctrl_i2c2_2>;
67         status = "okay";
69         codec: sgtl5000@0a {
70                 compatible = "fsl,sgtl5000";
71                 reg = <0x0a>;
72                 clocks = <&clks 169>;
73                 VDDA-supply = <&reg_2p5v>;
74                 VDDIO-supply = <&reg_3p3v>;
75         };
78 &iomuxc {
79         pinctrl-names = "default";
80         pinctrl-0 = <&pinctrl_hog>;
82         hog {
83                 pinctrl_hog: hoggrp {
84                         fsl,pins = <
85                                 MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x130b0
86                                 MX6QDL_PAD_GPIO_2__GPIO1_IO02   0x80000000
87                                 MX6QDL_PAD_EIM_DA9__GPIO3_IO09  0x80000000
88                         >;
89                 };
90         };
93 &fec {
94         pinctrl-names = "default";
95         pinctrl-0 = <&pinctrl_enet_1>;
96         phy-mode = "rgmii";
97         status = "okay";
100 &ssi1 {
101         fsl,mode = "i2s-slave";
102         status = "okay";
105 &uart1 {
106         pinctrl-names = "default";
107         pinctrl-0 = <&pinctrl_uart1_1>;
108         status = "okay";
111 &uart3 {
112         pinctrl-names = "default";
113         pinctrl-0 = <&pinctrl_uart3_2>;
114         fsl,uart-has-rtscts;
115         status = "okay";
118 &usbh1 {
119         status = "okay";
122 &usdhc1 {
123         pinctrl-names = "default";
124         pinctrl-0 = <&pinctrl_usdhc1_2>;
125         cd-gpios = <&gpio1 2 0>;
126         status = "okay";
129 &usdhc2 {
130         pinctrl-names = "default";
131         pinctrl-0 = <&pinctrl_usdhc2_2>;
132         non-removable;
133         status = "okay";
136 &usdhc3 {
137         pinctrl-names = "default";
138         pinctrl-0 = <&pinctrl_usdhc3_2>;
139         cd-gpios = <&gpio3 9 0>;
140         status = "okay";