Commit | Line | Data |
---|---|---|
89b82915 FE |
1 | /* |
2 | * Copyright 2013 Freescale Semiconductor, Inc. | |
3 | * | |
4 | * Author: Fabio Estevam <fabio.estevam@freescale.com> | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | * | |
10 | */ | |
11 | /dts-v1/; | |
12 | #include "imx6dl.dtsi" | |
13 | ||
14 | / { | |
15 | model = "Wandboard i.MX6 Dual Lite Board"; | |
16 | compatible = "wand,imx6dl-wandboard", "fsl,imx6dl"; | |
17 | ||
18 | memory { | |
19 | reg = <0x10000000 0x40000000>; | |
20 | }; | |
eda5fe8b FE |
21 | |
22 | regulators { | |
23 | compatible = "simple-bus"; | |
24 | ||
25 | reg_2p5v: 2p5v { | |
26 | compatible = "regulator-fixed"; | |
27 | regulator-name = "2P5V"; | |
28 | regulator-min-microvolt = <2500000>; | |
29 | regulator-max-microvolt = <2500000>; | |
30 | regulator-always-on; | |
31 | }; | |
32 | ||
33 | reg_3p3v: 3p3v { | |
34 | compatible = "regulator-fixed"; | |
35 | regulator-name = "3P3V"; | |
36 | regulator-min-microvolt = <3300000>; | |
37 | regulator-max-microvolt = <3300000>; | |
38 | regulator-always-on; | |
39 | }; | |
40 | }; | |
41 | ||
42 | sound { | |
43 | compatible = "fsl,imx6dl-wandboard-sgtl5000", | |
44 | "fsl,imx-audio-sgtl5000"; | |
45 | model = "imx6dl-wandboard-sgtl5000"; | |
46 | ssi-controller = <&ssi1>; | |
47 | audio-codec = <&codec>; | |
48 | audio-routing = | |
49 | "MIC_IN", "Mic Jack", | |
50 | "Mic Jack", "Mic Bias", | |
51 | "Headphone Jack", "HP_OUT"; | |
52 | mux-int-port = <1>; | |
53 | mux-ext-port = <3>; | |
54 | }; | |
55 | }; | |
56 | ||
57 | &audmux { | |
58 | pinctrl-names = "default"; | |
59 | pinctrl-0 = <&pinctrl_audmux_2>; | |
60 | status = "okay"; | |
61 | }; | |
62 | ||
63 | &i2c2 { | |
64 | clock-frequency = <100000>; | |
65 | pinctrl-names = "default"; | |
66 | pinctrl-0 = <&pinctrl_i2c2_2>; | |
67 | status = "okay"; | |
68 | ||
69 | codec: sgtl5000@0a { | |
70 | compatible = "fsl,sgtl5000"; | |
71 | reg = <0x0a>; | |
72 | clocks = <&clks 169>; | |
73 | VDDA-supply = <®_2p5v>; | |
74 | VDDIO-supply = <®_3p3v>; | |
75 | }; | |
76 | }; | |
77 | ||
78 | &iomuxc { | |
79 | pinctrl-names = "default"; | |
80 | pinctrl-0 = <&pinctrl_hog>; | |
81 | ||
82 | hog { | |
83 | pinctrl_hog: hoggrp { | |
84 | fsl,pins = < | |
85 | MX6DL_PAD_GPIO_0__CCM_CLKO1 0x130b0 | |
86 | >; | |
87 | }; | |
88 | }; | |
89b82915 FE |
89 | }; |
90 | ||
91 | &fec { | |
92 | pinctrl-names = "default"; | |
93 | pinctrl-0 = <&pinctrl_enet_1>; | |
94 | phy-mode = "rgmii"; | |
95 | status = "okay"; | |
96 | }; | |
97 | ||
eda5fe8b FE |
98 | &ssi1 { |
99 | fsl,mode = "i2s-slave"; | |
100 | status = "okay"; | |
101 | }; | |
102 | ||
89b82915 FE |
103 | &uart1 { |
104 | pinctrl-names = "default"; | |
105 | pinctrl-0 = <&pinctrl_uart1_1>; | |
106 | status = "okay"; | |
107 | }; | |
108 | ||
4b23185f FE |
109 | &usbh1 { |
110 | status = "okay"; | |
111 | }; | |
112 | ||
89b82915 FE |
113 | &usdhc3 { |
114 | pinctrl-names = "default"; | |
115 | pinctrl-0 = <&pinctrl_usdhc3_2>; | |
116 | status = "okay"; | |
117 | }; |