blob: 5bae4c76979a8c8e6a3e2e48c7dfcdfe7639373e [file] [log] [blame]
Shawn Guo73d2b4c2011-10-17 08:42:16 +08001/*
2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
13/dts-v1/;
14/include/ "imx53.dtsi"
15
16/ {
17 model = "Freescale i.MX53 Quick Start Board";
18 compatible = "fsl,imx53-qsb", "fsl,imx53";
19
Shawn Guo73d2b4c2011-10-17 08:42:16 +080020 memory {
21 reg = <0x70000000 0x40000000>;
22 };
23
24 soc {
25 aips@50000000 { /* AIPS1 */
26 spba@50000000 {
27 esdhc@50004000 { /* ESDHC1 */
Shawn Guo5be03a72012-08-12 20:02:10 +080028 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_esdhc1_1>;
Richard Zhao4d191862011-12-14 09:26:44 +080030 cd-gpios = <&gpio3 13 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080031 status = "okay";
32 };
33
Shawn Guoffc505c2012-05-11 13:12:01 +080034 ssi2: ssi@50014000 {
35 fsl,mode = "i2s-slave";
36 status = "okay";
37 };
38
Shawn Guo73d2b4c2011-10-17 08:42:16 +080039 esdhc@50020000 { /* ESDHC3 */
Shawn Guo5be03a72012-08-12 20:02:10 +080040 pinctrl-names = "default";
41 pinctrl-0 = <&pinctrl_esdhc3_1>;
Richard Zhao4d191862011-12-14 09:26:44 +080042 cd-gpios = <&gpio3 11 0>;
43 wp-gpios = <&gpio3 12 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080044 status = "okay";
45 };
46 };
47
Shawn Guo73d2b4c2011-10-17 08:42:16 +080048 iomuxc@53fa8000 {
Shawn Guo5be03a72012-08-12 20:02:10 +080049 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_hog>;
51
52 hog {
53 pinctrl_hog: hoggrp {
54 fsl,pins = <
55 1071 0x80000000 /* MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK */
56 1141 0x80000000 /* MX53_PAD_GPIO_8__GPIO1_8 */
57 982 0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */
58 989 0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */
59 693 0x80000000 /* MX53_PAD_EIM_DA11__GPIO3_11 */
60 697 0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */
61 701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
62 868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
Fabio Estevame9dc6152012-09-26 20:27:35 -030063 >;
64 };
65
66 led_pin_gpio7_7: led_gpio7_7@0 {
67 fsl,pins = <
Shawn Guo5be03a72012-08-12 20:02:10 +080068 873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
69 >;
70 };
71 };
Fabio Estevame9dc6152012-09-26 20:27:35 -030072
Shawn Guo73d2b4c2011-10-17 08:42:16 +080073 };
74
Shawn Guo0c456cf2012-04-02 14:39:26 +080075 uart1: serial@53fbc000 {
Shawn Guo5be03a72012-08-12 20:02:10 +080076 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_uart1_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080078 status = "okay";
79 };
80 };
81
82 aips@60000000 { /* AIPS2 */
Shawn Guo73d2b4c2011-10-17 08:42:16 +080083 i2c@63fc4000 { /* I2C2 */
Shawn Guo5be03a72012-08-12 20:02:10 +080084 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_i2c2_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080086 status = "okay";
87
Shawn Guoffc505c2012-05-11 13:12:01 +080088 sgtl5000: codec@0a {
Shawn Guo73d2b4c2011-10-17 08:42:16 +080089 compatible = "fsl,sgtl5000";
90 reg = <0x0a>;
Shawn Guoffc505c2012-05-11 13:12:01 +080091 VDDA-supply = <&reg_3p2v>;
92 VDDIO-supply = <&reg_3p2v>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080093 };
94 };
95
96 i2c@63fc8000 { /* I2C1 */
Shawn Guo5be03a72012-08-12 20:02:10 +080097 pinctrl-names = "default";
98 pinctrl-0 = <&pinctrl_i2c1_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080099 status = "okay";
100
101 accelerometer: mma8450@1c {
102 compatible = "fsl,mma8450";
103 reg = <0x1c>;
104 };
105
106 pmic: dialog@48 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800107 compatible = "dlg,da9053-aa", "dlg,da9052";
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800108 reg = <0x48>;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800109
110 regulators {
111 buck0 {
112 regulator-min-microvolt = <500000>;
113 regulator-max-microvolt = <2075000>;
114 };
115
116 buck1 {
117 regulator-min-microvolt = <500000>;
118 regulator-max-microvolt = <2075000>;
119 };
120
121 buck2 {
122 regulator-min-microvolt = <925000>;
123 regulator-max-microvolt = <2500000>;
124 };
125
126 buck3 {
127 regulator-min-microvolt = <925000>;
128 regulator-max-microvolt = <2500000>;
129 };
130
131 ldo4 {
132 regulator-min-microvolt = <600000>;
133 regulator-max-microvolt = <1800000>;
134 };
135
136 ldo5 {
137 regulator-min-microvolt = <600000>;
138 regulator-max-microvolt = <1800000>;
139 };
140
141 ldo6 {
142 regulator-min-microvolt = <1725000>;
143 regulator-max-microvolt = <3300000>;
144 };
145
146 ldo7 {
147 regulator-min-microvolt = <1725000>;
148 regulator-max-microvolt = <3300000>;
149 };
150
151 ldo8 {
152 regulator-min-microvolt = <1200000>;
153 regulator-max-microvolt = <3600000>;
154 };
155
156 ldo9 {
157 regulator-min-microvolt = <1200000>;
158 regulator-max-microvolt = <3600000>;
159 };
160
161 ldo10 {
162 regulator-min-microvolt = <1200000>;
163 regulator-max-microvolt = <3600000>;
164 };
165
166 ldo11 {
167 regulator-min-microvolt = <1200000>;
168 regulator-max-microvolt = <3600000>;
169 };
170
171 ldo12 {
172 regulator-min-microvolt = <1250000>;
173 regulator-max-microvolt = <3650000>;
174 };
175
176 ldo13 {
177 regulator-min-microvolt = <1200000>;
178 regulator-max-microvolt = <3600000>;
179 };
180 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800181 };
182 };
183
Shawn Guoffc505c2012-05-11 13:12:01 +0800184 audmux@63fd0000 {
Shawn Guo5be03a72012-08-12 20:02:10 +0800185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_audmux_1>;
Shawn Guoffc505c2012-05-11 13:12:01 +0800187 status = "okay";
188 };
189
Shawn Guo0c456cf2012-04-02 14:39:26 +0800190 ethernet@63fec000 {
Shawn Guo5be03a72012-08-12 20:02:10 +0800191 pinctrl-names = "default";
192 pinctrl-0 = <&pinctrl_fec_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800193 phy-mode = "rmii";
Richard Zhao4d191862011-12-14 09:26:44 +0800194 phy-reset-gpios = <&gpio7 6 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800195 status = "okay";
196 };
197 };
198 };
199
200 gpio-keys {
201 compatible = "gpio-keys";
202
203 power {
204 label = "Power Button";
Richard Zhao4d191862011-12-14 09:26:44 +0800205 gpios = <&gpio1 8 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800206 linux,code = <116>; /* KEY_POWER */
207 gpio-key,wakeup;
208 };
209
210 volume-up {
211 label = "Volume Up";
Richard Zhao4d191862011-12-14 09:26:44 +0800212 gpios = <&gpio2 14 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800213 linux,code = <115>; /* KEY_VOLUMEUP */
214 };
215
216 volume-down {
217 label = "Volume Down";
Richard Zhao4d191862011-12-14 09:26:44 +0800218 gpios = <&gpio2 15 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800219 linux,code = <114>; /* KEY_VOLUMEDOWN */
220 };
221 };
222
223 leds {
224 compatible = "gpio-leds";
Fabio Estevame9dc6152012-09-26 20:27:35 -0300225 pinctrl-names = "default";
226 pinctrl-0 = <&led_pin_gpio7_7>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800227
228 user {
229 label = "Heartbeat";
Richard Zhao4d191862011-12-14 09:26:44 +0800230 gpios = <&gpio7 7 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800231 linux,default-trigger = "heartbeat";
232 };
233 };
Shawn Guoffc505c2012-05-11 13:12:01 +0800234
235 regulators {
236 compatible = "simple-bus";
237
238 reg_3p2v: 3p2v {
239 compatible = "regulator-fixed";
240 regulator-name = "3P2V";
241 regulator-min-microvolt = <3200000>;
242 regulator-max-microvolt = <3200000>;
243 regulator-always-on;
244 };
245 };
246
247 sound {
248 compatible = "fsl,imx53-qsb-sgtl5000",
249 "fsl,imx-audio-sgtl5000";
250 model = "imx53-qsb-sgtl5000";
251 ssi-controller = <&ssi2>;
252 audio-codec = <&sgtl5000>;
253 audio-routing =
254 "MIC_IN", "Mic Jack",
255 "Mic Jack", "Mic Bias",
256 "Headphone Jack", "HP_OUT";
257 mux-int-port = <2>;
258 mux-ext-port = <5>;
259 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800260};