Commit | Line | Data |
---|---|---|
3143bbb4 SG |
1 | /dts-v1/; |
2 | /include/ "imx28.dtsi" | |
3 | ||
4 | / { | |
5 | model = "Bluegiga APX4 Development Kit"; | |
6 | compatible = "bluegiga,apx4devkit", "fsl,imx28"; | |
7 | ||
8 | memory { | |
9 | reg = <0x40000000 0x04000000>; | |
10 | }; | |
11 | ||
12 | apb@80000000 { | |
13 | apbh@80000000 { | |
3317d99e LH |
14 | gpmi-nand@8000c000 { |
15 | pinctrl-names = "default"; | |
16 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; | |
17 | status = "okay"; | |
18 | }; | |
19 | ||
3143bbb4 SG |
20 | ssp0: ssp@80010000 { |
21 | compatible = "fsl,imx28-mmc"; | |
22 | pinctrl-names = "default"; | |
1eb73ca0 LH |
23 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_sck_cfg>; |
24 | bus-width = <4>; | |
3143bbb4 SG |
25 | status = "okay"; |
26 | }; | |
27 | ||
557763b3 LH |
28 | ssp2: ssp@80014000 { |
29 | compatible = "fsl,imx28-mmc"; | |
30 | pinctrl-names = "default"; | |
31 | pinctrl-0 = <&mmc2_4bit_pins_apx4 &mmc2_sck_cfg_apx4>; | |
32 | bus-width = <4>; | |
33 | status = "okay"; | |
34 | }; | |
35 | ||
3143bbb4 SG |
36 | pinctrl@80018000 { |
37 | pinctrl-names = "default"; | |
38 | pinctrl-0 = <&hog_pins_a>; | |
39 | ||
40 | hog_pins_a: hog-gpios@0 { | |
41 | reg = <0>; | |
42 | fsl,pinmux-ids = < | |
43 | 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */ | |
d8bb823d | 44 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ |
3143bbb4 SG |
45 | >; |
46 | fsl,drive-strength = <0>; | |
47 | fsl,voltage = <1>; | |
48 | fsl,pull-up = <0>; | |
49 | }; | |
d8bb823d LH |
50 | |
51 | lcdif_pins_apx4: lcdif-apx4@0 { | |
52 | reg = <0>; | |
53 | fsl,pinmux-ids = < | |
54 | 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ | |
55 | 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ | |
56 | 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ | |
57 | 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ | |
58 | >; | |
59 | fsl,drive-strength = <0>; | |
60 | fsl,voltage = <1>; | |
61 | fsl,pull-up = <0>; | |
62 | }; | |
557763b3 LH |
63 | |
64 | mmc2_4bit_pins_apx4: mmc2-4bit-apx4@0 { | |
65 | reg = <0>; | |
66 | fsl,pinmux-ids = < | |
67 | 0x2041 /* MX28_PAD_SSP0_DATA4__SSP2_D0 */ | |
68 | 0x2051 /* MX28_PAD_SSP0_DATA5__SSP2_D3 */ | |
69 | 0x2061 /* MX28_PAD_SSP0_DATA6__SSP2_CMD */ | |
70 | 0x2071 /* MX28_PAD_SSP0_DATA7__SSP2_SCK */ | |
71 | 0x2141 /* MX28_PAD_SSP2_SS1__SSP2_D1 */ | |
72 | 0x2151 /* MX28_PAD_SSP2_SS2__SSP2_D2 */ | |
73 | >; | |
74 | fsl,drive-strength = <1>; | |
75 | fsl,voltage = <1>; | |
76 | fsl,pull-up = <1>; | |
77 | }; | |
78 | ||
79 | mmc2_sck_cfg_apx4: mmc2-sck-cfg-apx4 { | |
80 | fsl,pinmux-ids = < | |
81 | 0x2071 /* MX28_PAD_SSP0_DATA7__SSP2_SCK */ | |
82 | >; | |
83 | fsl,drive-strength = <2>; | |
84 | fsl,pull-up = <0>; | |
85 | }; | |
d8bb823d LH |
86 | }; |
87 | ||
88 | lcdif@80030000 { | |
89 | pinctrl-names = "default"; | |
90 | pinctrl-0 = <&lcdif_24bit_pins_a | |
91 | &lcdif_pins_apx4>; | |
92 | status = "okay"; | |
3143bbb4 SG |
93 | }; |
94 | }; | |
95 | ||
96 | apbx@80040000 { | |
97 | saif0: saif@80042000 { | |
98 | pinctrl-names = "default"; | |
99 | pinctrl-0 = <&saif0_pins_a>; | |
100 | status = "okay"; | |
101 | }; | |
102 | ||
103 | saif1: saif@80046000 { | |
104 | pinctrl-names = "default"; | |
105 | pinctrl-0 = <&saif1_pins_a>; | |
106 | fsl,saif-master = <&saif0>; | |
107 | status = "okay"; | |
108 | }; | |
109 | ||
110 | i2c0: i2c@80058000 { | |
111 | pinctrl-names = "default"; | |
112 | pinctrl-0 = <&i2c0_pins_a>; | |
113 | status = "okay"; | |
114 | ||
115 | sgtl5000: codec@0a { | |
116 | compatible = "fsl,sgtl5000"; | |
117 | reg = <0x0a>; | |
118 | VDDA-supply = <®_3p3v>; | |
119 | VDDIO-supply = <®_3p3v>; | |
120 | ||
121 | }; | |
122 | ||
123 | pcf8563: rtc@51 { | |
124 | compatible = "phg,pcf8563"; | |
125 | reg = <0x51>; | |
126 | }; | |
127 | }; | |
128 | ||
129 | duart: serial@80074000 { | |
130 | pinctrl-names = "default"; | |
131 | pinctrl-0 = <&duart_pins_a>; | |
132 | status = "okay"; | |
133 | }; | |
134 | ||
135 | auart0: serial@8006a000 { | |
136 | pinctrl-names = "default"; | |
137 | pinctrl-0 = <&auart0_pins_a>; | |
138 | status = "okay"; | |
139 | }; | |
140 | ||
141 | auart1: serial@8006c000 { | |
142 | pinctrl-names = "default"; | |
143 | pinctrl-0 = <&auart1_2pins_a>; | |
144 | status = "okay"; | |
145 | }; | |
146 | ||
147 | auart2: serial@8006e000 { | |
148 | pinctrl-names = "default"; | |
149 | pinctrl-0 = <&auart2_2pins_a>; | |
150 | status = "okay"; | |
151 | }; | |
3143bbb4 SG |
152 | }; |
153 | }; | |
154 | ||
155 | ahb@80080000 { | |
156 | mac0: ethernet@800f0000 { | |
157 | phy-mode = "rmii"; | |
158 | pinctrl-names = "default"; | |
159 | pinctrl-0 = <&mac0_pins_a>; | |
160 | status = "okay"; | |
161 | }; | |
162 | }; | |
163 | ||
164 | regulators { | |
165 | compatible = "simple-bus"; | |
166 | ||
167 | reg_3p3v: 3p3v { | |
168 | compatible = "regulator-fixed"; | |
169 | regulator-name = "3P3V"; | |
170 | regulator-min-microvolt = <3300000>; | |
171 | regulator-max-microvolt = <3300000>; | |
172 | regulator-always-on; | |
173 | }; | |
174 | }; | |
175 | ||
176 | sound { | |
177 | compatible = "bluegiga,apx4devkit-sgtl5000", | |
178 | "fsl,mxs-audio-sgtl5000"; | |
179 | model = "apx4devkit-sgtl5000"; | |
180 | saif-controllers = <&saif0 &saif1>; | |
181 | audio-codec = <&sgtl5000>; | |
182 | }; | |
183 | ||
184 | leds { | |
185 | compatible = "gpio-leds"; | |
186 | ||
187 | user { | |
188 | label = "Heartbeat"; | |
189 | gpios = <&gpio3 28 0>; | |
190 | linux,default-trigger = "heartbeat"; | |
191 | }; | |
192 | }; | |
193 | }; |