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