xref: /linux/scripts/dtc/include-prefixes/arm/samsung/s5pv210-galaxys.dts (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring
3724ba675SRob Herring/dts-v1/;
4724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
5724ba675SRob Herring#include <dt-bindings/input/input.h>
6724ba675SRob Herring#include "s5pv210-aries.dtsi"
7724ba675SRob Herring
8724ba675SRob Herring/ {
9724ba675SRob Herring	model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210";
10724ba675SRob Herring	compatible = "samsung,galaxys", "samsung,aries", "samsung,s5pv210";
11724ba675SRob Herring	chassis-type = "handset";
12724ba675SRob Herring
13724ba675SRob Herring	chosen {
14724ba675SRob Herring		stdout-path = &uart2;
15724ba675SRob Herring	};
16724ba675SRob Herring
17724ba675SRob Herring	nand_pwrseq: nand-pwrseq {
18724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
19724ba675SRob Herring		reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>;
20724ba675SRob Herring		pinctrl-names = "default";
21724ba675SRob Herring		pinctrl-0 = <&massmemory_en>;
22724ba675SRob Herring	};
23724ba675SRob Herring
24724ba675SRob Herring	gpio-keys {
25724ba675SRob Herring		compatible = "gpio-keys";
26724ba675SRob Herring
27724ba675SRob Herring		key-power {
28724ba675SRob Herring			label = "power";
29724ba675SRob Herring			gpios = <&gph2 6 GPIO_ACTIVE_LOW>;
30724ba675SRob Herring			linux,code = <KEY_POWER>;
31724ba675SRob Herring			wakeup-source;
32724ba675SRob Herring		};
33724ba675SRob Herring
34724ba675SRob Herring		key-vol-down {
35724ba675SRob Herring			label = "volume_down";
36724ba675SRob Herring			gpios = <&gph3 1 GPIO_ACTIVE_LOW>;
37724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
38724ba675SRob Herring		};
39724ba675SRob Herring
40724ba675SRob Herring		key-vol-up {
41724ba675SRob Herring			label = "volume_up";
42724ba675SRob Herring			gpios = <&gph3 2 GPIO_ACTIVE_LOW>;
43724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
44724ba675SRob Herring		};
45724ba675SRob Herring
46724ba675SRob Herring		key-home {
47724ba675SRob Herring			label = "home";
48724ba675SRob Herring			gpios = <&gph3 5 GPIO_ACTIVE_LOW>;
49724ba675SRob Herring			linux,code = <KEY_HOME>;
50724ba675SRob Herring			wakeup-source;
51724ba675SRob Herring		};
52724ba675SRob Herring	};
53724ba675SRob Herring
54724ba675SRob Herring	i2c_fmradio: i2c-gpio-8 {
55724ba675SRob Herring		compatible = "i2c-gpio";
56724ba675SRob Herring		sda-gpios = <&gpd1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
57724ba675SRob Herring		scl-gpios = <&gpd1 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
58724ba675SRob Herring		i2c-gpio,delay-us = <2>;
59724ba675SRob Herring		#address-cells = <1>;
60724ba675SRob Herring		#size-cells = <0>;
61724ba675SRob Herring
62724ba675SRob Herring		pinctrl-names = "default";
63724ba675SRob Herring		pinctrl-0 = <&fm_i2c_pins>;
64724ba675SRob Herring
65724ba675SRob Herring		fmradio@10 {
66724ba675SRob Herring			compatible = "silabs,si470x";
67724ba675SRob Herring			reg = <0x10>;
68724ba675SRob Herring			interrupt-parent = <&gpj2>;
69724ba675SRob Herring			interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
70724ba675SRob Herring			reset-gpios = <&gpj2 5 GPIO_ACTIVE_HIGH>;
71724ba675SRob Herring
72724ba675SRob Herring			pinctrl-names = "default";
73724ba675SRob Herring			pinctrl-0 = <&fm_irq &fm_rst>;
74724ba675SRob Herring		};
75724ba675SRob Herring	};
76724ba675SRob Herring
77724ba675SRob Herring	micbias_reg: regulator-fixed-3 {
78724ba675SRob Herring		compatible = "regulator-fixed";
79724ba675SRob Herring		regulator-name = "MICBIAS";
80724ba675SRob Herring		gpio = <&gpj4 2 GPIO_ACTIVE_HIGH>;
81724ba675SRob Herring		enable-active-high;
82724ba675SRob Herring
83724ba675SRob Herring		pinctrl-names = "default";
84724ba675SRob Herring		pinctrl-0 = <&micbias_reg_ena>;
85724ba675SRob Herring	};
86724ba675SRob Herring
87724ba675SRob Herring	sound {
88724ba675SRob Herring		compatible = "samsung,aries-wm8994";
89724ba675SRob Herring
90724ba675SRob Herring		model = "Aries";
91724ba675SRob Herring
92724ba675SRob Herring		extcon = <&fsa9480>;
93724ba675SRob Herring
94724ba675SRob Herring		main-micbias-supply = <&micbias_reg>;
95724ba675SRob Herring		headset-micbias-supply = <&micbias_reg>;
96724ba675SRob Herring
97724ba675SRob Herring		earpath-sel-gpios = <&gpj2 6 GPIO_ACTIVE_HIGH>;
98724ba675SRob Herring
99724ba675SRob Herring		io-channels = <&adc 3>;
100724ba675SRob Herring		io-channel-names = "headset-detect";
101724ba675SRob Herring		headset-detect-gpios = <&gph0 6 GPIO_ACTIVE_LOW>;
102724ba675SRob Herring		headset-key-gpios = <&gph3 6 GPIO_ACTIVE_HIGH>;
103724ba675SRob Herring
104*8edc16a1SKrzysztof Kozlowski		audio-routing = "HP", "HPOUT1L",
105724ba675SRob Herring				"HP", "HPOUT1R",
106724ba675SRob Herring
107724ba675SRob Herring				"SPK", "SPKOUTLN",
108724ba675SRob Herring				"SPK", "SPKOUTLP",
109724ba675SRob Herring
110724ba675SRob Herring				"RCV", "HPOUT2N",
111724ba675SRob Herring				"RCV", "HPOUT2P",
112724ba675SRob Herring
113724ba675SRob Herring				"LINE", "LINEOUT2N",
114724ba675SRob Herring				"LINE", "LINEOUT2P",
115724ba675SRob Herring
116724ba675SRob Herring				"IN1LP", "Main Mic",
117724ba675SRob Herring				"IN1LN", "Main Mic",
118724ba675SRob Herring
119724ba675SRob Herring				"IN1RP", "Headset Mic",
120724ba675SRob Herring				"IN1RN", "Headset Mic",
121724ba675SRob Herring
122724ba675SRob Herring				"IN2LN", "FM In",
123724ba675SRob Herring				"IN2RN", "FM In",
124724ba675SRob Herring
125724ba675SRob Herring				"Modem Out", "Modem TX",
126724ba675SRob Herring				"Modem RX", "Modem In",
127724ba675SRob Herring
128724ba675SRob Herring				"Bluetooth SPK", "TX",
129724ba675SRob Herring				"RX", "Bluetooth Mic";
130724ba675SRob Herring
131724ba675SRob Herring		pinctrl-names = "default";
132724ba675SRob Herring		pinctrl-0 = <&headset_det &earpath_sel>;
133724ba675SRob Herring
134724ba675SRob Herring		cpu {
135724ba675SRob Herring			sound-dai = <&i2s0>, <&bt_codec>;
136724ba675SRob Herring		};
137724ba675SRob Herring
138724ba675SRob Herring		codec {
139724ba675SRob Herring			sound-dai = <&wm8994>;
140724ba675SRob Herring		};
141724ba675SRob Herring	};
142724ba675SRob Herring};
143724ba675SRob Herring
144724ba675SRob Herring&aliases {
145724ba675SRob Herring	i2c8 = &i2c_fmradio;
146724ba675SRob Herring};
147724ba675SRob Herring
148724ba675SRob Herring&pinctrl0 {
149724ba675SRob Herring	pinctrl-names = "default";
150724ba675SRob Herring	pinctrl-0 = <&sleep_cfg>;
151724ba675SRob Herring
152724ba675SRob Herring	fm_i2c_pins: fm-i2c-pins {
153724ba675SRob Herring		samsung,pins = "gpd1-2", "gpd1-3";
154724ba675SRob Herring		samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
155724ba675SRob Herring		samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
156724ba675SRob Herring	};
157724ba675SRob Herring
158724ba675SRob Herring	headset_det: headset-det-pins {
159724ba675SRob Herring		samsung,pins = "gph0-6", "gph3-6";
160724ba675SRob Herring		samsung,pin-function = <S5PV210_PIN_FUNC_F>;
161724ba675SRob Herring		samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
162724ba675SRob Herring	};
163724ba675SRob Herring
164724ba675SRob Herring	fm_irq: fm-irq-pins {
165724ba675SRob Herring		samsung,pins = "gpj2-4";
166724ba675SRob Herring		samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
167724ba675SRob Herring		samsung,pin-pud = <S5PV210_PIN_PULL_UP>;
168724ba675SRob Herring		samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
169724ba675SRob Herring	};
170724ba675SRob Herring
171724ba675SRob Herring	fm_rst: fm-rst-pins {
172724ba675SRob Herring		samsung,pins = "gpj2-5";
173724ba675SRob Herring		samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
174724ba675SRob Herring		samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
175724ba675SRob Herring		samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
176724ba675SRob Herring	};
177724ba675SRob Herring
178724ba675SRob Herring	earpath_sel: earpath-sel-pins {
179724ba675SRob Herring		samsung,pins = "gpj2-6";
180724ba675SRob Herring		samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
181724ba675SRob Herring		samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
182724ba675SRob Herring	};
183724ba675SRob Herring
184724ba675SRob Herring	massmemory_en: massmemory-en-pins {
185724ba675SRob Herring		samsung,pins = "gpj2-7";
186724ba675SRob Herring		samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
187724ba675SRob Herring		samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
188724ba675SRob Herring		samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
189724ba675SRob Herring	};
190724ba675SRob Herring
191724ba675SRob Herring	micbias_reg_ena: micbias-reg-ena-pins {
192724ba675SRob Herring		samsung,pins = "gpj4-2";
193724ba675SRob Herring		samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
194724ba675SRob Herring		samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
195724ba675SRob Herring	};
196724ba675SRob Herring
197724ba675SRob Herring	/* Based on CyanogenMod 3.0.101 kernel */
198724ba675SRob Herring	sleep_cfg: sleep-state {
199724ba675SRob Herring		PIN_SLP(gpa0-0, PREV, NONE);
200724ba675SRob Herring		PIN_SLP(gpa0-1, PREV, NONE);
201724ba675SRob Herring		PIN_SLP(gpa0-2, PREV, NONE);
202724ba675SRob Herring		PIN_SLP(gpa0-3, OUT1, NONE);
203724ba675SRob Herring		PIN_SLP(gpa0-4, INPUT, DOWN);
204724ba675SRob Herring		PIN_SLP(gpa0-5, OUT0, NONE);
205724ba675SRob Herring		PIN_SLP(gpa0-6, INPUT, DOWN);
206724ba675SRob Herring		PIN_SLP(gpa0-7, OUT1, NONE);
207724ba675SRob Herring
208724ba675SRob Herring		PIN_SLP(gpa1-0, INPUT, DOWN);
209724ba675SRob Herring		PIN_SLP(gpa1-1, OUT0, NONE);
210724ba675SRob Herring		PIN_SLP(gpa1-2, INPUT, NONE);
211724ba675SRob Herring		PIN_SLP(gpa1-3, OUT0, NONE);
212724ba675SRob Herring
213724ba675SRob Herring		PIN_SLP(gpb-0, OUT0, NONE);
214724ba675SRob Herring		PIN_SLP(gpb-1, OUT1, NONE);
215724ba675SRob Herring		PIN_SLP(gpb-2, OUT0, NONE);
216724ba675SRob Herring		PIN_SLP(gpb-3, PREV, NONE);
217724ba675SRob Herring		PIN_SLP(gpb-4, INPUT, NONE);
218724ba675SRob Herring		PIN_SLP(gpb-5, PREV, NONE);
219724ba675SRob Herring		PIN_SLP(gpb-6, INPUT, DOWN);
220724ba675SRob Herring		PIN_SLP(gpb-7, OUT0, NONE);
221724ba675SRob Herring
222724ba675SRob Herring		PIN_SLP(gpc0-0, OUT0, NONE);
223724ba675SRob Herring		PIN_SLP(gpc0-1, INPUT, DOWN);
224724ba675SRob Herring		PIN_SLP(gpc0-2, OUT0, NONE);
225724ba675SRob Herring		PIN_SLP(gpc0-3, INPUT, NONE);
226724ba675SRob Herring		PIN_SLP(gpc0-4, OUT0, NONE);
227724ba675SRob Herring
228724ba675SRob Herring		PIN_SLP(gpc1-0, INPUT, DOWN);
229724ba675SRob Herring		PIN_SLP(gpc1-1, INPUT, DOWN);
230724ba675SRob Herring		PIN_SLP(gpc1-2, INPUT, DOWN);
231724ba675SRob Herring		PIN_SLP(gpc1-3, INPUT, DOWN);
232724ba675SRob Herring		PIN_SLP(gpc1-4, INPUT, DOWN);
233724ba675SRob Herring
234724ba675SRob Herring		PIN_SLP(gpd0-0, INPUT, DOWN);
235724ba675SRob Herring		PIN_SLP(gpd0-1, OUT0, NONE);
236724ba675SRob Herring		PIN_SLP(gpd0-2, INPUT, DOWN);
237724ba675SRob Herring		PIN_SLP(gpd0-3, INPUT, DOWN);
238724ba675SRob Herring
239724ba675SRob Herring		PIN_SLP(gpd1-0, INPUT, NONE);
240724ba675SRob Herring		PIN_SLP(gpd1-1, INPUT, NONE);
241724ba675SRob Herring		PIN_SLP(gpd1-2, INPUT, NONE);
242724ba675SRob Herring		PIN_SLP(gpd1-3, INPUT, NONE);
243724ba675SRob Herring		PIN_SLP(gpd1-4, INPUT, DOWN);
244724ba675SRob Herring		PIN_SLP(gpd1-5, INPUT, DOWN);
245724ba675SRob Herring
246724ba675SRob Herring		PIN_SLP(gpe0-0, INPUT, DOWN);
247724ba675SRob Herring		PIN_SLP(gpe0-1, INPUT, DOWN);
248724ba675SRob Herring		PIN_SLP(gpe0-2, INPUT, DOWN);
249724ba675SRob Herring		PIN_SLP(gpe0-3, INPUT, DOWN);
250724ba675SRob Herring		PIN_SLP(gpe0-4, INPUT, DOWN);
251724ba675SRob Herring		PIN_SLP(gpe0-5, INPUT, DOWN);
252724ba675SRob Herring		PIN_SLP(gpe0-6, INPUT, DOWN);
253724ba675SRob Herring		PIN_SLP(gpe0-7, INPUT, DOWN);
254724ba675SRob Herring
255724ba675SRob Herring		PIN_SLP(gpe1-0, INPUT, DOWN);
256724ba675SRob Herring		PIN_SLP(gpe1-1, INPUT, DOWN);
257724ba675SRob Herring		PIN_SLP(gpe1-2, INPUT, DOWN);
258724ba675SRob Herring		PIN_SLP(gpe1-3, OUT0, NONE);
259724ba675SRob Herring		PIN_SLP(gpe1-4, INPUT, DOWN);
260724ba675SRob Herring
261724ba675SRob Herring		PIN_SLP(gpf0-0, OUT0, NONE);
262724ba675SRob Herring		PIN_SLP(gpf0-1, OUT0, NONE);
263724ba675SRob Herring		PIN_SLP(gpf0-2, OUT0, NONE);
264724ba675SRob Herring		PIN_SLP(gpf0-3, OUT0, NONE);
265724ba675SRob Herring		PIN_SLP(gpf0-4, OUT0, NONE);
266724ba675SRob Herring		PIN_SLP(gpf0-5, OUT0, NONE);
267724ba675SRob Herring		PIN_SLP(gpf0-6, OUT0, NONE);
268724ba675SRob Herring		PIN_SLP(gpf0-7, OUT0, NONE);
269724ba675SRob Herring
270724ba675SRob Herring		PIN_SLP(gpf1-0, OUT0, NONE);
271724ba675SRob Herring		PIN_SLP(gpf1-1, OUT0, NONE);
272724ba675SRob Herring		PIN_SLP(gpf1-2, OUT0, NONE);
273724ba675SRob Herring		PIN_SLP(gpf1-3, OUT0, NONE);
274724ba675SRob Herring		PIN_SLP(gpf1-4, OUT0, NONE);
275724ba675SRob Herring		PIN_SLP(gpf1-5, OUT0, NONE);
276724ba675SRob Herring		PIN_SLP(gpf1-6, OUT0, NONE);
277724ba675SRob Herring		PIN_SLP(gpf1-7, OUT0, NONE);
278724ba675SRob Herring
279724ba675SRob Herring		PIN_SLP(gpf2-0, OUT0, NONE);
280724ba675SRob Herring		PIN_SLP(gpf2-1, OUT0, NONE);
281724ba675SRob Herring		PIN_SLP(gpf2-2, OUT0, NONE);
282724ba675SRob Herring		PIN_SLP(gpf2-3, OUT0, NONE);
283724ba675SRob Herring		PIN_SLP(gpf2-4, OUT0, NONE);
284724ba675SRob Herring		PIN_SLP(gpf2-5, OUT0, NONE);
285724ba675SRob Herring		PIN_SLP(gpf2-6, OUT0, NONE);
286724ba675SRob Herring		PIN_SLP(gpf2-7, OUT0, NONE);
287724ba675SRob Herring
288724ba675SRob Herring		PIN_SLP(gpf3-0, OUT0, NONE);
289724ba675SRob Herring		PIN_SLP(gpf3-1, OUT0, NONE);
290724ba675SRob Herring		PIN_SLP(gpf3-2, OUT0, NONE);
291724ba675SRob Herring		PIN_SLP(gpf3-3, OUT0, NONE);
292724ba675SRob Herring		PIN_SLP(gpf3-4, PREV, NONE);
293724ba675SRob Herring		PIN_SLP(gpf3-5, INPUT, DOWN);
294724ba675SRob Herring
295724ba675SRob Herring		PIN_SLP(gpg0-0, OUT0, NONE);
296724ba675SRob Herring		PIN_SLP(gpg0-1, INPUT, NONE);
297724ba675SRob Herring		PIN_SLP(gpg0-2, INPUT, NONE);
298724ba675SRob Herring		PIN_SLP(gpg0-3, INPUT, NONE);
299724ba675SRob Herring		PIN_SLP(gpg0-4, INPUT, NONE);
300724ba675SRob Herring		PIN_SLP(gpg0-5, INPUT, NONE);
301724ba675SRob Herring		PIN_SLP(gpg0-6, INPUT, NONE);
302724ba675SRob Herring
303724ba675SRob Herring		PIN_SLP(gpg1-0, OUT0, NONE);
304724ba675SRob Herring		PIN_SLP(gpg1-1, OUT1, NONE);
305724ba675SRob Herring		PIN_SLP(gpg1-2, PREV, NONE);
306724ba675SRob Herring		PIN_SLP(gpg1-3, OUT1, NONE);
307724ba675SRob Herring		PIN_SLP(gpg1-4, OUT1, NONE);
308724ba675SRob Herring		PIN_SLP(gpg1-5, OUT1, NONE);
309724ba675SRob Herring		PIN_SLP(gpg1-6, OUT1, NONE);
310724ba675SRob Herring
311724ba675SRob Herring		PIN_SLP(gpg2-0, OUT0, NONE);
312724ba675SRob Herring		PIN_SLP(gpg2-1, OUT0, NONE);
313724ba675SRob Herring		PIN_SLP(gpg2-2, INPUT, NONE);
314724ba675SRob Herring		PIN_SLP(gpg2-3, OUT0, NONE);
315724ba675SRob Herring		PIN_SLP(gpg2-4, OUT0, NONE);
316724ba675SRob Herring		PIN_SLP(gpg2-5, OUT0, NONE);
317724ba675SRob Herring		PIN_SLP(gpg2-6, OUT0, NONE);
318724ba675SRob Herring
319724ba675SRob Herring		PIN_SLP(gpg3-0, OUT1, NONE);
320724ba675SRob Herring		PIN_SLP(gpg3-1, OUT0, NONE);
321724ba675SRob Herring		PIN_SLP(gpg3-2, INPUT, NONE);
322724ba675SRob Herring		PIN_SLP(gpg3-3, INPUT, DOWN);
323724ba675SRob Herring		PIN_SLP(gpg3-4, OUT0, NONE);
324724ba675SRob Herring		PIN_SLP(gpg3-5, OUT0, NONE);
325724ba675SRob Herring		PIN_SLP(gpg3-6, INPUT, DOWN);
326724ba675SRob Herring
327724ba675SRob Herring		PIN_SLP(gpi-0, PREV, NONE);
328724ba675SRob Herring		PIN_SLP(gpi-1, INPUT, DOWN);
329724ba675SRob Herring		PIN_SLP(gpi-2, PREV, NONE);
330724ba675SRob Herring		PIN_SLP(gpi-3, PREV, NONE);
331724ba675SRob Herring		PIN_SLP(gpi-4, PREV, NONE);
332724ba675SRob Herring		PIN_SLP(gpi-5, INPUT, DOWN);
333724ba675SRob Herring		PIN_SLP(gpi-6, INPUT, DOWN);
334724ba675SRob Herring
335724ba675SRob Herring		PIN_SLP(gpj0-0, INPUT, NONE);
336724ba675SRob Herring		PIN_SLP(gpj0-1, INPUT, NONE);
337724ba675SRob Herring		PIN_SLP(gpj0-2, INPUT, NONE);
338724ba675SRob Herring		PIN_SLP(gpj0-3, INPUT, NONE);
339724ba675SRob Herring		PIN_SLP(gpj0-4, INPUT, NONE);
340724ba675SRob Herring		PIN_SLP(gpj0-5, INPUT, DOWN);
341724ba675SRob Herring		PIN_SLP(gpj0-6, OUT0, NONE);
342724ba675SRob Herring		PIN_SLP(gpj0-7, INPUT, NONE);
343724ba675SRob Herring
344724ba675SRob Herring		PIN_SLP(gpj1-0, INPUT, DOWN);
345724ba675SRob Herring		PIN_SLP(gpj1-1, OUT0, NONE);
346724ba675SRob Herring		PIN_SLP(gpj1-2, INPUT, DOWN);
347724ba675SRob Herring		PIN_SLP(gpj1-3, PREV, NONE);
348724ba675SRob Herring		PIN_SLP(gpj1-4, PREV, NONE);
349724ba675SRob Herring		PIN_SLP(gpj1-5, OUT0, NONE);
350724ba675SRob Herring
351724ba675SRob Herring		PIN_SLP(gpj2-0, INPUT, DOWN);
352724ba675SRob Herring		PIN_SLP(gpj2-1, INPUT, DOWN);
353724ba675SRob Herring		PIN_SLP(gpj2-2, OUT0, NONE);
354724ba675SRob Herring		PIN_SLP(gpj2-3, INPUT, DOWN);
355724ba675SRob Herring		PIN_SLP(gpj2-4, INPUT, UP);
356724ba675SRob Herring		PIN_SLP(gpj2-5, PREV, NONE);
357724ba675SRob Herring		PIN_SLP(gpj2-6, PREV, NONE);
358724ba675SRob Herring		PIN_SLP(gpj2-7, OUT1, NONE);
359724ba675SRob Herring
360724ba675SRob Herring		PIN_SLP(gpj3-0, INPUT, NONE);
361724ba675SRob Herring		PIN_SLP(gpj3-1, INPUT, NONE);
362724ba675SRob Herring		PIN_SLP(gpj3-2, OUT0, NONE);
363724ba675SRob Herring		PIN_SLP(gpj3-3, INPUT, DOWN);
364724ba675SRob Herring		PIN_SLP(gpj3-4, INPUT, NONE);
365724ba675SRob Herring		PIN_SLP(gpj3-5, INPUT, NONE);
366724ba675SRob Herring		PIN_SLP(gpj3-6, INPUT, NONE);
367724ba675SRob Herring		PIN_SLP(gpj3-7, INPUT, NONE);
368724ba675SRob Herring
369724ba675SRob Herring		PIN_SLP(gpj4-0, INPUT, NONE);
370724ba675SRob Herring		PIN_SLP(gpj4-1, INPUT, DOWN);
371724ba675SRob Herring		PIN_SLP(gpj4-2, PREV, NONE);
372724ba675SRob Herring		PIN_SLP(gpj4-3, INPUT, NONE);
373724ba675SRob Herring		PIN_SLP(gpj4-4, INPUT, DOWN);
374724ba675SRob Herring
375724ba675SRob Herring		PIN_SLP(mp01-0, INPUT, DOWN);
376724ba675SRob Herring		PIN_SLP(mp01-1, OUT0, NONE);
377724ba675SRob Herring		PIN_SLP(mp01-2, INPUT, DOWN);
378724ba675SRob Herring		PIN_SLP(mp01-3, INPUT, DOWN);
379724ba675SRob Herring		PIN_SLP(mp01-4, OUT1, NONE);
380724ba675SRob Herring		PIN_SLP(mp01-5, INPUT, DOWN);
381724ba675SRob Herring		PIN_SLP(mp01-6, INPUT, DOWN);
382724ba675SRob Herring		PIN_SLP(mp01-7, INPUT, DOWN);
383724ba675SRob Herring
384724ba675SRob Herring		PIN_SLP(mp02-0, INPUT, DOWN);
385724ba675SRob Herring		PIN_SLP(mp02-1, INPUT, DOWN);
386724ba675SRob Herring		PIN_SLP(mp02-2, INPUT, NONE);
387724ba675SRob Herring		PIN_SLP(mp02-3, INPUT, DOWN);
388724ba675SRob Herring
389724ba675SRob Herring		PIN_SLP(mp03-0, INPUT, DOWN);
390724ba675SRob Herring		PIN_SLP(mp03-1, INPUT, DOWN);
391724ba675SRob Herring		PIN_SLP(mp03-2, OUT1, NONE);
392724ba675SRob Herring		PIN_SLP(mp03-3, OUT0, NONE);
393724ba675SRob Herring		PIN_SLP(mp03-4, INPUT, NONE);
394724ba675SRob Herring		PIN_SLP(mp03-5, OUT1, NONE);
395724ba675SRob Herring		PIN_SLP(mp03-6, INPUT, DOWN);
396724ba675SRob Herring		PIN_SLP(mp03-7, INPUT, DOWN);
397724ba675SRob Herring
398724ba675SRob Herring		PIN_SLP(mp04-0, INPUT, DOWN);
399724ba675SRob Herring		PIN_SLP(mp04-1, OUT0, NONE);
400724ba675SRob Herring		PIN_SLP(mp04-2, INPUT, DOWN);
401724ba675SRob Herring		PIN_SLP(mp04-3, OUT0, NONE);
402724ba675SRob Herring		PIN_SLP(mp04-4, INPUT, DOWN);
403724ba675SRob Herring		PIN_SLP(mp04-5, INPUT, DOWN);
404724ba675SRob Herring		PIN_SLP(mp04-6, OUT0, NONE);
405724ba675SRob Herring		PIN_SLP(mp04-7, INPUT, DOWN);
406724ba675SRob Herring
407724ba675SRob Herring		PIN_SLP(mp05-0, INPUT, NONE);
408724ba675SRob Herring		PIN_SLP(mp05-1, INPUT, NONE);
409724ba675SRob Herring		PIN_SLP(mp05-2, INPUT, NONE);
410724ba675SRob Herring		PIN_SLP(mp05-3, INPUT, NONE);
411724ba675SRob Herring		PIN_SLP(mp05-4, INPUT, DOWN);
412724ba675SRob Herring		PIN_SLP(mp05-5, OUT0, NONE);
413724ba675SRob Herring		PIN_SLP(mp05-6, INPUT, DOWN);
414724ba675SRob Herring		PIN_SLP(mp05-7, PREV, NONE);
415724ba675SRob Herring
416724ba675SRob Herring		PIN_SLP(mp06-0, INPUT, DOWN);
417724ba675SRob Herring		PIN_SLP(mp06-1, INPUT, DOWN);
418724ba675SRob Herring		PIN_SLP(mp06-2, INPUT, DOWN);
419724ba675SRob Herring		PIN_SLP(mp06-3, INPUT, DOWN);
420724ba675SRob Herring		PIN_SLP(mp06-4, INPUT, DOWN);
421724ba675SRob Herring		PIN_SLP(mp06-5, INPUT, DOWN);
422724ba675SRob Herring		PIN_SLP(mp06-6, INPUT, DOWN);
423724ba675SRob Herring		PIN_SLP(mp06-7, INPUT, DOWN);
424724ba675SRob Herring
425724ba675SRob Herring		PIN_SLP(mp07-0, INPUT, DOWN);
426724ba675SRob Herring		PIN_SLP(mp07-1, INPUT, DOWN);
427724ba675SRob Herring		PIN_SLP(mp07-2, INPUT, DOWN);
428724ba675SRob Herring		PIN_SLP(mp07-3, INPUT, DOWN);
429724ba675SRob Herring		PIN_SLP(mp07-4, INPUT, DOWN);
430724ba675SRob Herring		PIN_SLP(mp07-5, INPUT, DOWN);
431724ba675SRob Herring		PIN_SLP(mp07-6, INPUT, DOWN);
432724ba675SRob Herring		PIN_SLP(mp07-7, INPUT, DOWN);
433724ba675SRob Herring	};
434724ba675SRob Herring};
435724ba675SRob Herring
436724ba675SRob Herring&sdhci0 {
437724ba675SRob Herring	bus-width = <4>;
438724ba675SRob Herring	non-removable;
439724ba675SRob Herring	mmc-pwrseq = <&nand_pwrseq>;
440724ba675SRob Herring	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
441724ba675SRob Herring	pinctrl-names = "default";
442724ba675SRob Herring	status = "okay";
443724ba675SRob Herring
444724ba675SRob Herring	assigned-clocks = <&clocks MOUT_MMC0>, <&clocks SCLK_MMC0>;
445724ba675SRob Herring	assigned-clock-rates = <0>, <52000000>;
446724ba675SRob Herring	assigned-clock-parents = <&clocks MOUT_MPLL>;
447724ba675SRob Herring};
448