blob: 72f30f3e6171b4b737d122333c03a25a37189ddb [file] [log] [blame]
Richard Zhao3c8276c2011-12-14 09:26:46 +08001/*
2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
13/dts-v1/;
14/include/ "imx6q.dtsi"
15
16/ {
17 model = "Freescale i.MX6 Quad SABRE Lite Board";
18 compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
19
20 memory {
21 reg = <0x10000000 0x40000000>;
22 };
23
24 soc {
Fabio Estevamf07439c2012-04-24 20:35:36 -030025 aips-bus@02000000 { /* AIPS1 */
26 spba-bus@02000000 {
27 ecspi@02008000 { /* eCSPI1 */
28 fsl,spi-num-chipselects = <1>;
29 cs-gpios = <&gpio3 19 0>;
Hui Wang8ad7a302012-06-20 14:41:50 +080030 pinctrl-names = "default";
31 pinctrl-0 = <&pinctrl_ecspi1_1>;
Fabio Estevamf07439c2012-04-24 20:35:36 -030032 status = "okay";
33
34 flash: m25p80@0 {
35 compatible = "sst,sst25vf016b";
36 spi-max-frequency = <20000000>;
37 reg = <0>;
38 };
39 };
Richard Zhaob1a5da82012-05-02 10:29:10 +080040
41 ssi1: ssi@02028000 {
42 fsl,mode = "i2s-slave";
43 status = "okay";
44 };
Fabio Estevamf07439c2012-04-24 20:35:36 -030045 };
46
Richard Zhao74bd88f2012-07-12 14:21:41 +080047 iomuxc@020e0000 {
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_gpio_hog>;
50
51 gpios {
52 pinctrl_gpio_hog: gpiohog {
53 fsl,pins = <
54 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */
Hui Wang8ad7a302012-06-20 14:41:50 +080055 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */
Fabio Estevam97a7dab2012-08-01 22:11:08 -030056 953 0x80000000 /* MX6Q_PAD_GPIO_0__CCM_CLKO */
Richard Zhao74bd88f2012-07-12 14:21:41 +080057 >;
58 };
59 };
60 };
Fabio Estevamf07439c2012-04-24 20:35:36 -030061 };
62
Richard Zhao3c8276c2011-12-14 09:26:46 +080063 aips-bus@02100000 { /* AIPS2 */
Richard Zhao74bd88f2012-07-12 14:21:41 +080064 usb@02184000 { /* USB OTG */
65 vbus-supply = <&reg_usb_otg_vbus>;
66 status = "okay";
67 };
68
69 usb@02184200 { /* USB1 */
70 status = "okay";
71 };
72
Shawn Guo0c456cf2012-04-02 14:39:26 +080073 ethernet@02188000 {
Richard Zhao3c8276c2011-12-14 09:26:46 +080074 phy-mode = "rgmii";
75 phy-reset-gpios = <&gpio3 23 0>;
76 status = "okay";
77 };
78
79 usdhc@02198000 { /* uSDHC3 */
80 cd-gpios = <&gpio7 0 0>;
81 wp-gpios = <&gpio7 1 0>;
Shawn Guo6f6ea9372012-02-27 17:15:12 +080082 vmmc-supply = <&reg_3p3v>;
Richard Zhao3c8276c2011-12-14 09:26:46 +080083 status = "okay";
84 };
85
86 usdhc@0219c000 { /* uSDHC4 */
87 cd-gpios = <&gpio2 6 0>;
88 wp-gpios = <&gpio2 7 0>;
Shawn Guo6f6ea9372012-02-27 17:15:12 +080089 vmmc-supply = <&reg_3p3v>;
Richard Zhao3c8276c2011-12-14 09:26:46 +080090 status = "okay";
91 };
92
Richard Zhaof965cd52012-05-02 10:32:26 +080093 audmux@021d8000 {
94 status = "okay";
Richard Zhao5ca65c12012-05-09 11:21:11 +080095 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_audmux_1>;
Richard Zhaof965cd52012-05-02 10:32:26 +080097 };
98
Shawn Guo0c456cf2012-04-02 14:39:26 +080099 uart2: serial@021e8000 {
Richard Zhao3c8276c2011-12-14 09:26:46 +0800100 status = "okay";
Richard Zhaoc3001b22012-05-09 14:44:47 +0800101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_serial2_1>;
Richard Zhao3c8276c2011-12-14 09:26:46 +0800103 };
Richard Zhaoadcec4c2012-02-02 10:12:03 +0800104
105 i2c@021a0000 { /* I2C1 */
106 status = "okay";
107 clock-frequency = <100000>;
Richard Zhaod99a79f2012-05-09 10:47:20 +0800108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_i2c1_1>;
Richard Zhaoadcec4c2012-02-02 10:12:03 +0800110
111 codec: sgtl5000@0a {
112 compatible = "fsl,sgtl5000";
113 reg = <0x0a>;
114 VDDA-supply = <&reg_2p5v>;
115 VDDIO-supply = <&reg_3p3v>;
116 };
117 };
Richard Zhao3c8276c2011-12-14 09:26:46 +0800118 };
119 };
Richard Zhaocf37a8e2012-02-02 10:12:02 +0800120
121 regulators {
122 compatible = "simple-bus";
123
124 reg_2p5v: 2p5v {
125 compatible = "regulator-fixed";
126 regulator-name = "2P5V";
127 regulator-min-microvolt = <2500000>;
128 regulator-max-microvolt = <2500000>;
129 regulator-always-on;
130 };
131
132 reg_3p3v: 3p3v {
133 compatible = "regulator-fixed";
134 regulator-name = "3P3V";
135 regulator-min-microvolt = <3300000>;
136 regulator-max-microvolt = <3300000>;
137 regulator-always-on;
138 };
Richard Zhao74bd88f2012-07-12 14:21:41 +0800139
140 reg_usb_otg_vbus: usb_otg_vbus {
141 compatible = "regulator-fixed";
142 regulator-name = "usb_otg_vbus";
143 regulator-min-microvolt = <5000000>;
144 regulator-max-microvolt = <5000000>;
145 gpio = <&gpio3 22 0>;
146 enable-active-high;
147 };
Richard Zhaocf37a8e2012-02-02 10:12:02 +0800148 };
Richard Zhaob7879fe2012-05-09 14:15:45 +0800149
150 sound {
151 compatible = "fsl,imx6q-sabrelite-sgtl5000",
152 "fsl,imx-audio-sgtl5000";
153 model = "imx6q-sabrelite-sgtl5000";
154 ssi-controller = <&ssi1>;
155 audio-codec = <&codec>;
156 audio-routing =
157 "MIC_IN", "Mic Jack",
158 "Mic Jack", "Mic Bias",
159 "Headphone Jack", "HP_OUT";
160 mux-int-port = <1>;
161 mux-ext-port = <4>;
162 };
Richard Zhao3c8276c2011-12-14 09:26:46 +0800163};