blob: b0075537195bda29f5a19ef232c4d5d9b2c3a2f6 [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 Estevam2a324672012-09-26 20:27:36 -030063 1149 0x80000000 /* MX53_PAD_GPIO_16__GPIO7_11 */
Fabio Estevame9dc6152012-09-26 20:27:35 -030064 >;
65 };
66
67 led_pin_gpio7_7: led_gpio7_7@0 {
68 fsl,pins = <
Shawn Guo5be03a72012-08-12 20:02:10 +080069 873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
70 >;
71 };
72 };
Fabio Estevame9dc6152012-09-26 20:27:35 -030073
Shawn Guo73d2b4c2011-10-17 08:42:16 +080074 };
75
Shawn Guo0c456cf2012-04-02 14:39:26 +080076 uart1: serial@53fbc000 {
Shawn Guo5be03a72012-08-12 20:02:10 +080077 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_uart1_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080079 status = "okay";
80 };
81 };
82
83 aips@60000000 { /* AIPS2 */
Shawn Guo73d2b4c2011-10-17 08:42:16 +080084 i2c@63fc4000 { /* I2C2 */
Shawn Guo5be03a72012-08-12 20:02:10 +080085 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_i2c2_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080087 status = "okay";
88
Shawn Guoffc505c2012-05-11 13:12:01 +080089 sgtl5000: codec@0a {
Shawn Guo73d2b4c2011-10-17 08:42:16 +080090 compatible = "fsl,sgtl5000";
91 reg = <0x0a>;
Shawn Guoffc505c2012-05-11 13:12:01 +080092 VDDA-supply = <&reg_3p2v>;
93 VDDIO-supply = <&reg_3p2v>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080094 };
95 };
96
97 i2c@63fc8000 { /* I2C1 */
Shawn Guo5be03a72012-08-12 20:02:10 +080098 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_i2c1_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800100 status = "okay";
101
102 accelerometer: mma8450@1c {
103 compatible = "fsl,mma8450";
104 reg = <0x1c>;
105 };
106
107 pmic: dialog@48 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800108 compatible = "dlg,da9053-aa", "dlg,da9052";
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800109 reg = <0x48>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300110 interrupt-parent = <&gpio7>;
111 interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800112
113 regulators {
Fabio Estevam2a324672012-09-26 20:27:36 -0300114 buck1_reg: buck1 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800115 regulator-min-microvolt = <500000>;
116 regulator-max-microvolt = <2075000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300117 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800118 };
119
Fabio Estevam2a324672012-09-26 20:27:36 -0300120 buck2_reg: buck2 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800121 regulator-min-microvolt = <500000>;
122 regulator-max-microvolt = <2075000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300123 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800124 };
125
Fabio Estevam2a324672012-09-26 20:27:36 -0300126 buck3_reg: buck3 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800127 regulator-min-microvolt = <925000>;
128 regulator-max-microvolt = <2500000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300129 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800130 };
131
Fabio Estevam2a324672012-09-26 20:27:36 -0300132 buck4_reg: buck4 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800133 regulator-min-microvolt = <925000>;
134 regulator-max-microvolt = <2500000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300135 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800136 };
137
Fabio Estevam2a324672012-09-26 20:27:36 -0300138 ldo1_reg: ldo1 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800139 regulator-min-microvolt = <600000>;
140 regulator-max-microvolt = <1800000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300141 regulator-boot-on;
142 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800143 };
144
Fabio Estevam2a324672012-09-26 20:27:36 -0300145 ldo2_reg: ldo2 {
146 regulator-min-microvolt = <600000>;
147 regulator-max-microvolt = <1800000>;
148 regulator-always-on;
149 };
150
151 ldo3_reg: ldo3 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800152 regulator-min-microvolt = <600000>;
153 regulator-max-microvolt = <1800000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300154 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800155 };
156
Fabio Estevam2a324672012-09-26 20:27:36 -0300157 ldo4_reg: ldo4 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800158 regulator-min-microvolt = <1725000>;
159 regulator-max-microvolt = <3300000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300160 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800161 };
162
Fabio Estevam2a324672012-09-26 20:27:36 -0300163 ldo5_reg: ldo5 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800164 regulator-min-microvolt = <1725000>;
165 regulator-max-microvolt = <3300000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300166 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800167 };
168
Fabio Estevam2a324672012-09-26 20:27:36 -0300169 ldo6_reg: ldo6 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800170 regulator-min-microvolt = <1200000>;
171 regulator-max-microvolt = <3600000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300172 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800173 };
174
Fabio Estevam2a324672012-09-26 20:27:36 -0300175 ldo7_reg: ldo7 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800176 regulator-min-microvolt = <1200000>;
177 regulator-max-microvolt = <3600000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300178 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800179 };
180
Fabio Estevam2a324672012-09-26 20:27:36 -0300181 ldo8_reg: ldo8 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800182 regulator-min-microvolt = <1200000>;
183 regulator-max-microvolt = <3600000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300184 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800185 };
186
Fabio Estevam2a324672012-09-26 20:27:36 -0300187 ldo9_reg: ldo9 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800188 regulator-min-microvolt = <1200000>;
189 regulator-max-microvolt = <3600000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300190 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800191 };
192
Fabio Estevam2a324672012-09-26 20:27:36 -0300193 ldo10_reg: ldo10 {
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800194 regulator-min-microvolt = <1250000>;
195 regulator-max-microvolt = <3650000>;
Fabio Estevam2a324672012-09-26 20:27:36 -0300196 regulator-always-on;
Ying-Chun Liu (PaulLiu)41a0d3a2012-05-09 02:06:27 +0800197 };
198 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800199 };
200 };
201
Shawn Guoffc505c2012-05-11 13:12:01 +0800202 audmux@63fd0000 {
Shawn Guo5be03a72012-08-12 20:02:10 +0800203 pinctrl-names = "default";
204 pinctrl-0 = <&pinctrl_audmux_1>;
Shawn Guoffc505c2012-05-11 13:12:01 +0800205 status = "okay";
206 };
207
Shawn Guo0c456cf2012-04-02 14:39:26 +0800208 ethernet@63fec000 {
Shawn Guo5be03a72012-08-12 20:02:10 +0800209 pinctrl-names = "default";
210 pinctrl-0 = <&pinctrl_fec_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800211 phy-mode = "rmii";
Richard Zhao4d191862011-12-14 09:26:44 +0800212 phy-reset-gpios = <&gpio7 6 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800213 status = "okay";
214 };
215 };
216 };
217
218 gpio-keys {
219 compatible = "gpio-keys";
220
221 power {
222 label = "Power Button";
Richard Zhao4d191862011-12-14 09:26:44 +0800223 gpios = <&gpio1 8 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800224 linux,code = <116>; /* KEY_POWER */
225 gpio-key,wakeup;
226 };
227
228 volume-up {
229 label = "Volume Up";
Richard Zhao4d191862011-12-14 09:26:44 +0800230 gpios = <&gpio2 14 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800231 linux,code = <115>; /* KEY_VOLUMEUP */
232 };
233
234 volume-down {
235 label = "Volume Down";
Richard Zhao4d191862011-12-14 09:26:44 +0800236 gpios = <&gpio2 15 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800237 linux,code = <114>; /* KEY_VOLUMEDOWN */
238 };
239 };
240
241 leds {
242 compatible = "gpio-leds";
Fabio Estevame9dc6152012-09-26 20:27:35 -0300243 pinctrl-names = "default";
244 pinctrl-0 = <&led_pin_gpio7_7>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800245
246 user {
247 label = "Heartbeat";
Richard Zhao4d191862011-12-14 09:26:44 +0800248 gpios = <&gpio7 7 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800249 linux,default-trigger = "heartbeat";
250 };
251 };
Shawn Guoffc505c2012-05-11 13:12:01 +0800252
253 regulators {
254 compatible = "simple-bus";
255
256 reg_3p2v: 3p2v {
257 compatible = "regulator-fixed";
258 regulator-name = "3P2V";
259 regulator-min-microvolt = <3200000>;
260 regulator-max-microvolt = <3200000>;
261 regulator-always-on;
262 };
263 };
264
265 sound {
266 compatible = "fsl,imx53-qsb-sgtl5000",
267 "fsl,imx-audio-sgtl5000";
268 model = "imx53-qsb-sgtl5000";
269 ssi-controller = <&ssi2>;
270 audio-codec = <&sgtl5000>;
271 audio-routing =
272 "MIC_IN", "Mic Jack",
273 "Mic Jack", "Mic Bias",
274 "Headphone Jack", "HP_OUT";
275 mux-int-port = <2>;
276 mux-ext-port = <5>;
277 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800278};