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