blob: 319c75a2331e789e15386632af68e646f4524f1b [file] [log] [blame]
Dong Aishengbc3a59c2012-03-31 21:26:57 +08001/*
2 * Copyright 2012 Freescale Semiconductor, Inc.
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/dts-v1/;
13/include/ "imx28.dtsi"
14
15/ {
16 model = "Freescale i.MX28 Evaluation Kit";
17 compatible = "fsl,imx28-evk", "fsl,imx28";
18
19 memory {
20 reg = <0x40000000 0x08000000>;
21 };
22
23 apb@80000000 {
Shawn Guo35d23042012-05-06 16:33:34 +080024 apbh@80000000 {
Huang Shijie7a8e5142012-05-25 17:25:35 +080025 gpmi-nand@8000c000 {
26 pinctrl-names = "default";
27 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
28 status = "okay";
29 };
30
Shawn Guo35d23042012-05-06 16:33:34 +080031 ssp0: ssp@80010000 {
32 compatible = "fsl,imx28-mmc";
33 pinctrl-names = "default";
34 pinctrl-0 = <&mmc0_8bit_pins_a
35 &mmc0_cd_cfg &mmc0_sck_cfg>;
36 bus-width = <8>;
37 wp-gpios = <&gpio2 12 0>;
38 status = "okay";
39 };
40
41 ssp1: ssp@80012000 {
42 compatible = "fsl,imx28-mmc";
43 bus-width = <8>;
44 wp-gpios = <&gpio0 28 0>;
45 status = "okay";
46 };
47 };
48
Dong Aishengbc3a59c2012-03-31 21:26:57 +080049 apbx@80040000 {
Shawn Guo530f1d42012-05-10 15:03:16 +080050 saif0: saif@80042000 {
51 pinctrl-names = "default";
52 pinctrl-0 = <&saif0_pins_a>;
53 status = "okay";
54 };
55
56 saif1: saif@80046000 {
57 pinctrl-names = "default";
58 pinctrl-0 = <&saif1_pins_a>;
59 fsl,saif-master = <&saif0>;
60 status = "okay";
61 };
62
Shawn Guo2a96e392012-05-10 15:02:10 +080063 i2c0: i2c@80058000 {
64 pinctrl-names = "default";
65 pinctrl-0 = <&i2c0_pins_a>;
66 status = "okay";
Shawn Guo530f1d42012-05-10 15:03:16 +080067
68 sgtl5000: codec@0a {
69 compatible = "fsl,sgtl5000";
70 reg = <0x0a>;
71 VDDA-supply = <&reg_3p3v>;
72 VDDIO-supply = <&reg_3p3v>;
73
74 };
Shawn Guo2a96e392012-05-10 15:02:10 +080075 };
76
Dong Aishengbc3a59c2012-03-31 21:26:57 +080077 duart: serial@80074000 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&duart_pins_a>;
80 status = "okay";
81 };
Fabio Estevam80d969e2012-06-15 12:35:56 -030082
83 auart0: serial@8006a000 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&auart0_pins_a>;
86 status = "okay";
87 };
88
89 auart3: serial@80070000 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&auart3_pins_a>;
92 status = "okay";
93 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +080094 };
95 };
96
97 ahb@80080000 {
98 mac0: ethernet@800f0000 {
99 phy-mode = "rmii";
100 pinctrl-names = "default";
101 pinctrl-0 = <&mac0_pins_a>;
102 status = "okay";
103 };
104
105 mac1: ethernet@800f4000 {
106 phy-mode = "rmii";
107 pinctrl-names = "default";
108 pinctrl-0 = <&mac1_pins_a>;
109 status = "okay";
110 };
111 };
Shawn Guo530f1d42012-05-10 15:03:16 +0800112
113 regulators {
114 compatible = "simple-bus";
115
116 reg_3p3v: 3p3v {
117 compatible = "regulator-fixed";
118 regulator-name = "3P3V";
119 regulator-min-microvolt = <3300000>;
120 regulator-max-microvolt = <3300000>;
121 regulator-always-on;
122 };
123 };
124
125 sound {
126 compatible = "fsl,imx28-evk-sgtl5000",
127 "fsl,mxs-audio-sgtl5000";
128 model = "imx28-evk-sgtl5000";
129 saif-controllers = <&saif0 &saif1>;
130 audio-codec = <&sgtl5000>;
131 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800132};