Commit | Line | Data |
---|---|---|
bc3a59c1 DA |
1 | /* |
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 { | |
35d23047 | 24 | apbh@80000000 { |
7a8e5149 HS |
25 | gpmi-nand@8000c000 { |
26 | pinctrl-names = "default"; | |
27 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; | |
28 | status = "okay"; | |
29 | }; | |
30 | ||
35d23047 SG |
31 | 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>; | |
64edbcdd | 38 | vmmc-supply = <®_vddio_sd0>; |
35d23047 SG |
39 | status = "okay"; |
40 | }; | |
41 | ||
42 | ssp1: ssp@80012000 { | |
43 | compatible = "fsl,imx28-mmc"; | |
44 | bus-width = <8>; | |
45 | wp-gpios = <&gpio0 28 0>; | |
35d23047 | 46 | }; |
d54dbb50 SG |
47 | |
48 | pinctrl@80018000 { | |
49 | pinctrl-names = "default"; | |
50 | pinctrl-0 = <&hog_pins_a>; | |
51 | ||
52 | hog_pins_a: hog-gpios@0 { | |
53 | reg = <0>; | |
54 | fsl,pinmux-ids = < | |
55 | 0x20d3 /* MX28_PAD_SSP1_CMD__GPIO_2_13 */ | |
56 | 0x20f3 /* MX28_PAD_SSP1_DATA3__GPIO_2_15 */ | |
57 | 0x40d3 /* MX28_PAD_ENET0_RX_CLK__GPIO_4_13 */ | |
58 | 0x20c3 /* MX28_PAD_SSP1_SCK__GPIO_2_12 */ | |
59 | 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */ | |
60 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ | |
61 | 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ | |
62 | >; | |
63 | fsl,drive-strength = <0>; | |
64 | fsl,voltage = <1>; | |
65 | fsl,pull-up = <0>; | |
66 | }; | |
67 | }; | |
35d23047 SG |
68 | }; |
69 | ||
bc3a59c1 | 70 | apbx@80040000 { |
530f1d41 SG |
71 | saif0: saif@80042000 { |
72 | pinctrl-names = "default"; | |
73 | pinctrl-0 = <&saif0_pins_a>; | |
74 | status = "okay"; | |
75 | }; | |
76 | ||
77 | saif1: saif@80046000 { | |
78 | pinctrl-names = "default"; | |
79 | pinctrl-0 = <&saif1_pins_a>; | |
80 | fsl,saif-master = <&saif0>; | |
81 | status = "okay"; | |
82 | }; | |
83 | ||
2a96e391 SG |
84 | i2c0: i2c@80058000 { |
85 | pinctrl-names = "default"; | |
86 | pinctrl-0 = <&i2c0_pins_a>; | |
87 | status = "okay"; | |
530f1d41 SG |
88 | |
89 | sgtl5000: codec@0a { | |
90 | compatible = "fsl,sgtl5000"; | |
91 | reg = <0x0a>; | |
92 | VDDA-supply = <®_3p3v>; | |
93 | VDDIO-supply = <®_3p3v>; | |
94 | ||
95 | }; | |
2a96e391 SG |
96 | }; |
97 | ||
bc3a59c1 DA |
98 | duart: serial@80074000 { |
99 | pinctrl-names = "default"; | |
100 | pinctrl-0 = <&duart_pins_a>; | |
101 | status = "okay"; | |
102 | }; | |
80d969e4 FE |
103 | |
104 | auart0: serial@8006a000 { | |
105 | pinctrl-names = "default"; | |
106 | pinctrl-0 = <&auart0_pins_a>; | |
107 | status = "okay"; | |
108 | }; | |
109 | ||
110 | auart3: serial@80070000 { | |
111 | pinctrl-names = "default"; | |
112 | pinctrl-0 = <&auart3_pins_a>; | |
113 | status = "okay"; | |
114 | }; | |
bc3a59c1 DA |
115 | }; |
116 | }; | |
117 | ||
118 | ahb@80080000 { | |
119 | mac0: ethernet@800f0000 { | |
120 | phy-mode = "rmii"; | |
121 | pinctrl-names = "default"; | |
122 | pinctrl-0 = <&mac0_pins_a>; | |
123 | status = "okay"; | |
124 | }; | |
125 | ||
126 | mac1: ethernet@800f4000 { | |
127 | phy-mode = "rmii"; | |
128 | pinctrl-names = "default"; | |
129 | pinctrl-0 = <&mac1_pins_a>; | |
130 | status = "okay"; | |
131 | }; | |
132 | }; | |
530f1d41 SG |
133 | |
134 | regulators { | |
135 | compatible = "simple-bus"; | |
136 | ||
137 | reg_3p3v: 3p3v { | |
138 | compatible = "regulator-fixed"; | |
139 | regulator-name = "3P3V"; | |
140 | regulator-min-microvolt = <3300000>; | |
141 | regulator-max-microvolt = <3300000>; | |
142 | regulator-always-on; | |
143 | }; | |
64edbcdd SG |
144 | |
145 | reg_vddio_sd0: vddio-sd0 { | |
146 | compatible = "regulator-fixed"; | |
147 | regulator-name = "vddio-sd0"; | |
148 | regulator-min-microvolt = <3300000>; | |
149 | regulator-max-microvolt = <3300000>; | |
150 | gpio = <&gpio3 28 0>; | |
151 | }; | |
530f1d41 SG |
152 | }; |
153 | ||
154 | sound { | |
155 | compatible = "fsl,imx28-evk-sgtl5000", | |
156 | "fsl,mxs-audio-sgtl5000"; | |
157 | model = "imx28-evk-sgtl5000"; | |
158 | saif-controllers = <&saif0 &saif1>; | |
159 | audio-codec = <&sgtl5000>; | |
160 | }; | |
bc3a59c1 | 161 | }; |