Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix |
| 3 | * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix |
| 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/; |
Shawn Guo | 36dffd8 | 2013-04-07 10:49:34 +0800 | [diff] [blame] | 14 | #include "imx53-tqma53.dtsi" |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "TQ MBa53 starter kit"; |
| 18 | compatible = "tq,mba53", "tq,tqma53", "fsl,imx53"; |
Sascha Hauer | 4fa8cf7 | 2013-06-04 13:07:09 +0200 | [diff] [blame] | 19 | |
| 20 | reg_backlight: fixed@0 { |
| 21 | compatible = "regulator-fixed"; |
| 22 | regulator-name = "lcd-supply"; |
| 23 | gpio = <&gpio2 5 0>; |
| 24 | startup-delay-us = <5000>; |
| 25 | enable-active-low; |
| 26 | }; |
| 27 | |
| 28 | backlight { |
| 29 | compatible = "pwm-backlight"; |
Laurent Pinchart | 15968f1 | 2013-07-11 16:37:47 +0200 | [diff] [blame] | 30 | pwms = <&pwm2 0 50000>; |
Sascha Hauer | 4fa8cf7 | 2013-06-04 13:07:09 +0200 | [diff] [blame] | 31 | brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>; |
| 32 | default-brightness-level = <10>; |
| 33 | enable-gpios = <&gpio7 7 0>; |
| 34 | power-supply = <®_backlight>; |
| 35 | }; |
| 36 | |
| 37 | disp1: display@disp1 { |
| 38 | compatible = "fsl,imx-parallel-display"; |
| 39 | pinctrl-names = "default"; |
| 40 | pinctrl-0 = <&pinctrl_disp1_1>; |
| 41 | crtcs = <&ipu 1>; |
| 42 | interface-pix-fmt = "rgb24"; |
| 43 | status = "disabled"; |
| 44 | }; |
Markus Niebel | eefb800 | 2013-06-04 13:07:11 +0200 | [diff] [blame] | 45 | |
| 46 | reg_3p2v: 3p2v { |
| 47 | compatible = "regulator-fixed"; |
| 48 | regulator-name = "3P2V"; |
| 49 | regulator-min-microvolt = <3200000>; |
| 50 | regulator-max-microvolt = <3200000>; |
| 51 | regulator-always-on; |
| 52 | }; |
| 53 | |
| 54 | sound { |
| 55 | compatible = "tq,imx53-mba53-sgtl5000", |
| 56 | "fsl,imx-audio-sgtl5000"; |
| 57 | model = "imx53-mba53-sgtl5000"; |
| 58 | ssi-controller = <&ssi2>; |
| 59 | audio-codec = <&codec>; |
| 60 | audio-routing = |
| 61 | "MIC_IN", "Mic Jack", |
| 62 | "Mic Jack", "Mic Bias", |
| 63 | "Headphone Jack", "HP_OUT"; |
| 64 | mux-int-port = <2>; |
| 65 | mux-ext-port = <5>; |
| 66 | }; |
Sascha Hauer | 4fa8cf7 | 2013-06-04 13:07:09 +0200 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | &ldb { |
| 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&pinctrl_lvds1_1>; |
| 72 | status = "disabled"; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | &iomuxc { |
| 76 | lvds1 { |
| 77 | pinctrl_lvds1_1: lvds1-grp1 { |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 78 | fsl,pins = < |
Steffen Trumtrar | 188e97d | 2013-06-04 13:07:14 +0200 | [diff] [blame] | 79 | MX53_PAD_LVDS0_TX3_P__LDB_LVDS0_TX3 0x80000000 |
| 80 | MX53_PAD_LVDS0_CLK_P__LDB_LVDS0_CLK 0x80000000 |
| 81 | MX53_PAD_LVDS0_TX2_P__LDB_LVDS0_TX2 0x80000000 |
| 82 | MX53_PAD_LVDS0_TX1_P__LDB_LVDS0_TX1 0x80000000 |
| 83 | MX53_PAD_LVDS0_TX0_P__LDB_LVDS0_TX0 0x80000000 |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 84 | >; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | pinctrl_lvds1_2: lvds1-grp2 { |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 88 | fsl,pins = < |
Steffen Trumtrar | 188e97d | 2013-06-04 13:07:14 +0200 | [diff] [blame] | 89 | MX53_PAD_LVDS1_TX3_P__LDB_LVDS1_TX3 0x80000000 |
| 90 | MX53_PAD_LVDS1_TX2_P__LDB_LVDS1_TX2 0x80000000 |
| 91 | MX53_PAD_LVDS1_CLK_P__LDB_LVDS1_CLK 0x80000000 |
| 92 | MX53_PAD_LVDS1_TX1_P__LDB_LVDS1_TX1 0x80000000 |
| 93 | MX53_PAD_LVDS1_TX0_P__LDB_LVDS1_TX0 0x80000000 |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 94 | >; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 95 | }; |
| 96 | }; |
| 97 | |
| 98 | disp1 { |
| 99 | pinctrl_disp1_1: disp1-grp1 { |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 100 | fsl,pins = < |
Markus Niebel | 81b8a3c | 2013-06-04 13:07:15 +0200 | [diff] [blame] | 101 | MX53_PAD_EIM_A16__IPU_DI1_DISP_CLK 0x80000000 /* DISP1_CLK */ |
Steffen Trumtrar | 188e97d | 2013-06-04 13:07:14 +0200 | [diff] [blame] | 102 | MX53_PAD_EIM_DA10__IPU_DI1_PIN15 0x80000000 /* DISP1_DRDY */ |
| 103 | MX53_PAD_EIM_D23__IPU_DI1_PIN2 0x80000000 /* DISP1_HSYNC */ |
| 104 | MX53_PAD_EIM_EB3__IPU_DI1_PIN3 0x80000000 /* DISP1_VSYNC */ |
| 105 | MX53_PAD_EIM_D26__IPU_DISP1_DAT_22 0x80000000 |
| 106 | MX53_PAD_EIM_D27__IPU_DISP1_DAT_23 0x80000000 |
| 107 | MX53_PAD_EIM_D30__IPU_DISP1_DAT_21 0x80000000 |
| 108 | MX53_PAD_EIM_D31__IPU_DISP1_DAT_20 0x80000000 |
| 109 | MX53_PAD_EIM_A24__IPU_DISP1_DAT_19 0x80000000 |
| 110 | MX53_PAD_EIM_A23__IPU_DISP1_DAT_18 0x80000000 |
| 111 | MX53_PAD_EIM_A22__IPU_DISP1_DAT_17 0x80000000 |
| 112 | MX53_PAD_EIM_A21__IPU_DISP1_DAT_16 0x80000000 |
| 113 | MX53_PAD_EIM_A20__IPU_DISP1_DAT_15 0x80000000 |
| 114 | MX53_PAD_EIM_A19__IPU_DISP1_DAT_14 0x80000000 |
| 115 | MX53_PAD_EIM_A18__IPU_DISP1_DAT_13 0x80000000 |
| 116 | MX53_PAD_EIM_A17__IPU_DISP1_DAT_12 0x80000000 |
| 117 | MX53_PAD_EIM_EB0__IPU_DISP1_DAT_11 0x80000000 |
| 118 | MX53_PAD_EIM_EB1__IPU_DISP1_DAT_10 0x80000000 |
| 119 | MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9 0x80000000 |
| 120 | MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8 0x80000000 |
| 121 | MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7 0x80000000 |
| 122 | MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6 0x80000000 |
| 123 | MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5 0x80000000 |
| 124 | MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4 0x80000000 |
| 125 | MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3 0x80000000 |
| 126 | MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2 0x80000000 |
| 127 | MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1 0x80000000 |
| 128 | MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0 0x80000000 |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 129 | >; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 130 | }; |
| 131 | }; |
Philipp Zabel | d7db539 | 2013-06-04 13:07:10 +0200 | [diff] [blame] | 132 | |
| 133 | tve { |
| 134 | pinctrl_vga_sync_1: vgasync-grp1 { |
| 135 | fsl,pins = < |
| 136 | /* VGA_VSYNC, HSYNC with max drive strength */ |
| 137 | MX53_PAD_EIM_CS1__IPU_DI1_PIN6 0xe6 |
| 138 | MX53_PAD_EIM_DA15__IPU_DI1_PIN4 0xe6 |
| 139 | >; |
| 140 | }; |
| 141 | }; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 142 | }; |
| 143 | |
| 144 | &cspi { |
| 145 | status = "okay"; |
| 146 | }; |
| 147 | |
Markus Niebel | eefb800 | 2013-06-04 13:07:11 +0200 | [diff] [blame] | 148 | &audmux { |
| 149 | status = "okay"; |
| 150 | pinctrl-names = "default"; |
| 151 | pinctrl-0 = <&pinctrl_audmux_1>; |
| 152 | }; |
| 153 | |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 154 | &i2c2 { |
| 155 | codec: sgtl5000@a { |
| 156 | compatible = "fsl,sgtl5000"; |
| 157 | reg = <0x0a>; |
Markus Niebel | eefb800 | 2013-06-04 13:07:11 +0200 | [diff] [blame] | 158 | clocks = <&clks 150>; |
| 159 | VDDA-supply = <®_3p2v>; |
| 160 | VDDIO-supply = <®_3p2v>; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 161 | }; |
| 162 | |
| 163 | expander: pca9554@20 { |
| 164 | compatible = "pca9554"; |
| 165 | reg = <0x20>; |
| 166 | interrupts = <109>; |
Markus Niebel | 74154be | 2013-06-04 13:07:12 +0200 | [diff] [blame] | 167 | #gpio-cells = <2>; |
| 168 | gpio-controller; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 169 | }; |
| 170 | |
| 171 | sensor2: lm75@49 { |
| 172 | compatible = "lm75"; |
| 173 | reg = <0x49>; |
| 174 | }; |
| 175 | }; |
| 176 | |
| 177 | &fec { |
Markus Niebel | deb19eb | 2013-06-04 13:07:13 +0200 | [diff] [blame] | 178 | phy-reset-gpios = <&gpio7 6 0>; |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 179 | status = "okay"; |
| 180 | }; |
| 181 | |
| 182 | &esdhc2 { |
| 183 | status = "okay"; |
| 184 | }; |
| 185 | |
| 186 | &uart3 { |
| 187 | status = "okay"; |
| 188 | }; |
| 189 | |
| 190 | &ecspi1 { |
| 191 | status = "okay"; |
| 192 | }; |
| 193 | |
Michael Olbrich | 3b1a0f2 | 2013-06-04 13:07:08 +0200 | [diff] [blame] | 194 | &usbotg { |
| 195 | dr_mode = "host"; |
| 196 | status = "okay"; |
| 197 | }; |
| 198 | |
| 199 | &usbh1 { |
| 200 | status = "okay"; |
| 201 | }; |
| 202 | |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 203 | &uart1 { |
| 204 | status = "okay"; |
| 205 | }; |
| 206 | |
Markus Niebel | eefb800 | 2013-06-04 13:07:11 +0200 | [diff] [blame] | 207 | &ssi2 { |
| 208 | fsl,mode = "i2s-slave"; |
| 209 | status = "okay"; |
| 210 | }; |
| 211 | |
Steffen Trumtrar | be3a568 | 2013-01-10 11:27:27 +0100 | [diff] [blame] | 212 | &uart2 { |
| 213 | status = "okay"; |
| 214 | }; |
| 215 | |
| 216 | &can1 { |
| 217 | status = "okay"; |
| 218 | }; |
| 219 | |
| 220 | &can2 { |
| 221 | status = "okay"; |
| 222 | }; |
| 223 | |
| 224 | &i2c3 { |
| 225 | status = "okay"; |
| 226 | }; |
Philipp Zabel | d7db539 | 2013-06-04 13:07:10 +0200 | [diff] [blame] | 227 | |
| 228 | &tve { |
| 229 | pinctrl-names = "default"; |
| 230 | pinctrl-0 = <&pinctrl_vga_sync_1>; |
| 231 | ddc = <&i2c3>; |
| 232 | fsl,tve-mode = "vga"; |
| 233 | fsl,hsync-pin = <4>; |
| 234 | fsl,vsync-pin = <6>; |
| 235 | status = "okay"; |
| 236 | }; |