Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 1 | /* |
| 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 Estevam | f07439c | 2012-04-24 20:35:36 -0300 | [diff] [blame] | 25 | 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 Wang | 8ad7a30 | 2012-06-20 14:41:50 +0800 | [diff] [blame] | 30 | pinctrl-names = "default"; |
| 31 | pinctrl-0 = <&pinctrl_ecspi1_1>; |
Fabio Estevam | f07439c | 2012-04-24 20:35:36 -0300 | [diff] [blame] | 32 | status = "okay"; |
| 33 | |
| 34 | flash: m25p80@0 { |
| 35 | compatible = "sst,sst25vf016b"; |
| 36 | spi-max-frequency = <20000000>; |
| 37 | reg = <0>; |
| 38 | }; |
| 39 | }; |
Richard Zhao | b1a5da8 | 2012-05-02 10:29:10 +0800 | [diff] [blame] | 40 | |
| 41 | ssi1: ssi@02028000 { |
| 42 | fsl,mode = "i2s-slave"; |
| 43 | status = "okay"; |
| 44 | }; |
Fabio Estevam | f07439c | 2012-04-24 20:35:36 -0300 | [diff] [blame] | 45 | }; |
| 46 | |
Richard Zhao | 74bd88f | 2012-07-12 14:21:41 +0800 | [diff] [blame] | 47 | iomuxc@020e0000 { |
| 48 | pinctrl-names = "default"; |
Fabio Estevam | f8135a7 | 2012-08-24 12:24:50 -0300 | [diff] [blame] | 49 | pinctrl-0 = <&pinctrl_hog>; |
Richard Zhao | 74bd88f | 2012-07-12 14:21:41 +0800 | [diff] [blame] | 50 | |
Fabio Estevam | f8135a7 | 2012-08-24 12:24:50 -0300 | [diff] [blame] | 51 | hog { |
| 52 | pinctrl_hog: hoggrp { |
Richard Zhao | 74bd88f | 2012-07-12 14:21:41 +0800 | [diff] [blame] | 53 | fsl,pins = < |
Shawn Guo | 99d5f0c | 2012-08-11 10:47:14 +0800 | [diff] [blame] | 54 | 1450 0x80000000 /* MX6Q_PAD_NANDF_D6__GPIO_2_6 */ |
| 55 | 1458 0x80000000 /* MX6Q_PAD_NANDF_D7__GPIO_2_7 */ |
Shawn Guo | 44a509f | 2012-08-10 17:17:56 +0800 | [diff] [blame] | 56 | 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */ |
Shawn Guo | 99d5f0c | 2012-08-11 10:47:14 +0800 | [diff] [blame] | 57 | 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */ |
| 58 | 152 0x80000000 /* MX6Q_PAD_EIM_D23__GPIO_3_23 */ |
| 59 | 1262 0x80000000 /* MX6Q_PAD_SD3_DAT5__GPIO_7_0 */ |
| 60 | 1270 0x1f0b0 /* MX6Q_PAD_SD3_DAT4__GPIO_7_1 */ |
Shawn Guo | 44a509f | 2012-08-10 17:17:56 +0800 | [diff] [blame] | 61 | 953 0x80000000 /* MX6Q_PAD_GPIO_0__CCM_CLKO */ |
| 62 | >; |
Richard Zhao | 74bd88f | 2012-07-12 14:21:41 +0800 | [diff] [blame] | 63 | }; |
| 64 | }; |
| 65 | }; |
Fabio Estevam | f07439c | 2012-04-24 20:35:36 -0300 | [diff] [blame] | 66 | }; |
| 67 | |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 68 | aips-bus@02100000 { /* AIPS2 */ |
Richard Zhao | 74bd88f | 2012-07-12 14:21:41 +0800 | [diff] [blame] | 69 | usb@02184000 { /* USB OTG */ |
| 70 | vbus-supply = <®_usb_otg_vbus>; |
Richard Zhao | 28342c6 | 2012-09-14 14:42:45 +0800 | [diff] [blame^] | 71 | disable-over-current; |
Richard Zhao | 74bd88f | 2012-07-12 14:21:41 +0800 | [diff] [blame] | 72 | status = "okay"; |
| 73 | }; |
| 74 | |
| 75 | usb@02184200 { /* USB1 */ |
| 76 | status = "okay"; |
| 77 | }; |
| 78 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 79 | ethernet@02188000 { |
Shawn Guo | 99d5f0c | 2012-08-11 10:47:14 +0800 | [diff] [blame] | 80 | pinctrl-names = "default"; |
| 81 | pinctrl-0 = <&pinctrl_enet_1>; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 82 | phy-mode = "rgmii"; |
| 83 | phy-reset-gpios = <&gpio3 23 0>; |
| 84 | status = "okay"; |
| 85 | }; |
| 86 | |
| 87 | usdhc@02198000 { /* uSDHC3 */ |
Shawn Guo | 99d5f0c | 2012-08-11 10:47:14 +0800 | [diff] [blame] | 88 | pinctrl-names = "default"; |
| 89 | pinctrl-0 = <&pinctrl_usdhc3_2>; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 90 | cd-gpios = <&gpio7 0 0>; |
| 91 | wp-gpios = <&gpio7 1 0>; |
Shawn Guo | 6f6ea937 | 2012-02-27 17:15:12 +0800 | [diff] [blame] | 92 | vmmc-supply = <®_3p3v>; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 93 | status = "okay"; |
| 94 | }; |
| 95 | |
| 96 | usdhc@0219c000 { /* uSDHC4 */ |
Shawn Guo | 99d5f0c | 2012-08-11 10:47:14 +0800 | [diff] [blame] | 97 | pinctrl-names = "default"; |
| 98 | pinctrl-0 = <&pinctrl_usdhc4_2>; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 99 | cd-gpios = <&gpio2 6 0>; |
| 100 | wp-gpios = <&gpio2 7 0>; |
Shawn Guo | 6f6ea937 | 2012-02-27 17:15:12 +0800 | [diff] [blame] | 101 | vmmc-supply = <®_3p3v>; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 102 | status = "okay"; |
| 103 | }; |
| 104 | |
Richard Zhao | f965cd5 | 2012-05-02 10:32:26 +0800 | [diff] [blame] | 105 | audmux@021d8000 { |
| 106 | status = "okay"; |
Richard Zhao | 5ca65c1 | 2012-05-09 11:21:11 +0800 | [diff] [blame] | 107 | pinctrl-names = "default"; |
| 108 | pinctrl-0 = <&pinctrl_audmux_1>; |
Richard Zhao | f965cd5 | 2012-05-02 10:32:26 +0800 | [diff] [blame] | 109 | }; |
| 110 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 111 | uart2: serial@021e8000 { |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 112 | status = "okay"; |
Richard Zhao | c3001b2 | 2012-05-09 14:44:47 +0800 | [diff] [blame] | 113 | pinctrl-names = "default"; |
Shawn Guo | e30ba89 | 2012-08-11 12:33:51 +0800 | [diff] [blame] | 114 | pinctrl-0 = <&pinctrl_uart2_1>; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 115 | }; |
Richard Zhao | adcec4c | 2012-02-02 10:12:03 +0800 | [diff] [blame] | 116 | |
| 117 | i2c@021a0000 { /* I2C1 */ |
| 118 | status = "okay"; |
| 119 | clock-frequency = <100000>; |
Richard Zhao | d99a79f | 2012-05-09 10:47:20 +0800 | [diff] [blame] | 120 | pinctrl-names = "default"; |
| 121 | pinctrl-0 = <&pinctrl_i2c1_1>; |
Richard Zhao | adcec4c | 2012-02-02 10:12:03 +0800 | [diff] [blame] | 122 | |
| 123 | codec: sgtl5000@0a { |
| 124 | compatible = "fsl,sgtl5000"; |
| 125 | reg = <0x0a>; |
Shawn Guo | 0e87e04 | 2012-08-22 21:36:28 +0800 | [diff] [blame] | 126 | clocks = <&clks 169>; |
Richard Zhao | adcec4c | 2012-02-02 10:12:03 +0800 | [diff] [blame] | 127 | VDDA-supply = <®_2p5v>; |
| 128 | VDDIO-supply = <®_3p3v>; |
| 129 | }; |
| 130 | }; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 131 | }; |
| 132 | }; |
Richard Zhao | cf37a8e | 2012-02-02 10:12:02 +0800 | [diff] [blame] | 133 | |
| 134 | regulators { |
| 135 | compatible = "simple-bus"; |
| 136 | |
| 137 | reg_2p5v: 2p5v { |
| 138 | compatible = "regulator-fixed"; |
| 139 | regulator-name = "2P5V"; |
| 140 | regulator-min-microvolt = <2500000>; |
| 141 | regulator-max-microvolt = <2500000>; |
| 142 | regulator-always-on; |
| 143 | }; |
| 144 | |
| 145 | reg_3p3v: 3p3v { |
| 146 | compatible = "regulator-fixed"; |
| 147 | regulator-name = "3P3V"; |
| 148 | regulator-min-microvolt = <3300000>; |
| 149 | regulator-max-microvolt = <3300000>; |
| 150 | regulator-always-on; |
| 151 | }; |
Richard Zhao | 74bd88f | 2012-07-12 14:21:41 +0800 | [diff] [blame] | 152 | |
| 153 | reg_usb_otg_vbus: usb_otg_vbus { |
| 154 | compatible = "regulator-fixed"; |
| 155 | regulator-name = "usb_otg_vbus"; |
| 156 | regulator-min-microvolt = <5000000>; |
| 157 | regulator-max-microvolt = <5000000>; |
| 158 | gpio = <&gpio3 22 0>; |
| 159 | enable-active-high; |
| 160 | }; |
Richard Zhao | cf37a8e | 2012-02-02 10:12:02 +0800 | [diff] [blame] | 161 | }; |
Richard Zhao | b7879fe | 2012-05-09 14:15:45 +0800 | [diff] [blame] | 162 | |
| 163 | sound { |
| 164 | compatible = "fsl,imx6q-sabrelite-sgtl5000", |
| 165 | "fsl,imx-audio-sgtl5000"; |
| 166 | model = "imx6q-sabrelite-sgtl5000"; |
| 167 | ssi-controller = <&ssi1>; |
| 168 | audio-codec = <&codec>; |
| 169 | audio-routing = |
| 170 | "MIC_IN", "Mic Jack", |
| 171 | "Mic Jack", "Mic Bias", |
| 172 | "Headphone Jack", "HP_OUT"; |
| 173 | mux-int-port = <1>; |
| 174 | mux-ext-port = <4>; |
| 175 | }; |
Richard Zhao | 3c8276c | 2011-12-14 09:26:46 +0800 | [diff] [blame] | 176 | }; |