Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 4 | */ |
| 5 | /dts-v1/; |
| 6 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 7 | #include "omap36xx.dtsi" |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 8 | |
| 9 | / { |
Tony Lindgren | 642f12b | 2012-09-10 10:20:44 -0700 | [diff] [blame] | 10 | model = "TI OMAP3 BeagleBoard xM"; |
Nishanth Menon | 016c12d | 2013-10-07 15:43:49 -0500 | [diff] [blame] | 11 | compatible = "ti,omap3-beagle-xm", "ti,omap36xx", "ti,omap3"; |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 12 | |
Nishanth Menon | a134be3 | 2013-03-19 12:53:05 -0500 | [diff] [blame] | 13 | cpus { |
| 14 | cpu@0 { |
| 15 | cpu0-supply = <&vcc>; |
| 16 | }; |
| 17 | }; |
| 18 | |
Javier Martinez Canillas | 81777ff | 2016-08-31 12:35:27 +0200 | [diff] [blame] | 19 | memory@80000000 { |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 20 | device_type = "memory"; |
| 21 | reg = <0x80000000 0x20000000>; /* 512 MB */ |
| 22 | }; |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame] | 23 | |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 24 | aliases { |
| 25 | display0 = &dvi0; |
| 26 | display1 = &tv0; |
Laurent Pinchart | 055d31d | 2016-12-02 23:11:37 +0200 | [diff] [blame] | 27 | ethernet = ðernet; |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 28 | }; |
| 29 | |
Peter Ujfalusi | bcddb92 | 2018-04-05 14:52:39 +0300 | [diff] [blame] | 30 | /* fixed 26MHz oscillator */ |
| 31 | hfclk_26m: oscillator { |
| 32 | #clock-cells = <0>; |
| 33 | compatible = "fixed-clock"; |
| 34 | clock-frequency = <26000000>; |
| 35 | }; |
| 36 | |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame] | 37 | leds { |
| 38 | compatible = "gpio-leds"; |
Benoit Cousson | 1c1737e | 2012-09-05 16:42:04 +0200 | [diff] [blame] | 39 | |
| 40 | heartbeat { |
| 41 | label = "beagleboard::usr0"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 42 | gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */ |
Benoit Cousson | 1c1737e | 2012-09-05 16:42:04 +0200 | [diff] [blame] | 43 | linux,default-trigger = "heartbeat"; |
| 44 | }; |
| 45 | |
| 46 | mmc { |
| 47 | label = "beagleboard::usr1"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 48 | gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */ |
Benoit Cousson | 1c1737e | 2012-09-05 16:42:04 +0200 | [diff] [blame] | 49 | linux,default-trigger = "mmc0"; |
| 50 | }; |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame] | 51 | }; |
Peter Ujfalusi | 2c195f9 | 2012-08-29 16:31:05 +0300 | [diff] [blame] | 52 | |
Peter Ujfalusi | 2c09c60 | 2013-01-18 15:16:18 +0100 | [diff] [blame] | 53 | pwmleds { |
| 54 | compatible = "pwm-leds"; |
| 55 | |
| 56 | pmu_stat { |
| 57 | label = "beagleboard::pmu_stat"; |
| 58 | pwms = <&twl_pwmled 1 7812500>; |
| 59 | max-brightness = <127>; |
| 60 | }; |
| 61 | }; |
| 62 | |
Peter Ujfalusi | 2c195f9 | 2012-08-29 16:31:05 +0300 | [diff] [blame] | 63 | sound { |
| 64 | compatible = "ti,omap-twl4030"; |
| 65 | ti,model = "omap3beagle"; |
| 66 | |
| 67 | ti,mcbsp = <&mcbsp2>; |
Peter Ujfalusi | 2c195f9 | 2012-08-29 16:31:05 +0300 | [diff] [blame] | 68 | }; |
Kevin Hilman | d641c3d | 2013-05-31 09:27:05 -0700 | [diff] [blame] | 69 | |
| 70 | gpio_keys { |
| 71 | compatible = "gpio-keys"; |
| 72 | |
| 73 | user { |
| 74 | label = "user"; |
| 75 | gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; |
| 76 | linux,code = <0x114>; |
Sudeep Holla | 0c4d63b | 2015-10-21 11:10:12 +0100 | [diff] [blame] | 77 | wakeup-source; |
Kevin Hilman | d641c3d | 2013-05-31 09:27:05 -0700 | [diff] [blame] | 78 | }; |
| 79 | |
| 80 | }; |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 81 | |
| 82 | /* HS USB Port 2 Power */ |
| 83 | hsusb2_power: hsusb2_power_reg { |
| 84 | compatible = "regulator-fixed"; |
| 85 | regulator-name = "hsusb2_vbus"; |
| 86 | regulator-min-microvolt = <3300000>; |
| 87 | regulator-max-microvolt = <3300000>; |
Javier Martinez Canillas | 3a637e0 | 2015-10-06 11:03:39 +0200 | [diff] [blame] | 88 | gpio = <&twl_gpio 18 GPIO_ACTIVE_HIGH>; /* GPIO LEDA */ |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 89 | startup-delay-us = <70000>; |
| 90 | }; |
| 91 | |
| 92 | /* HS USB Host PHY on PORT 2 */ |
| 93 | hsusb2_phy: hsusb2_phy { |
| 94 | compatible = "usb-nop-xceiv"; |
| 95 | reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>; /* gpio_147 */ |
| 96 | vcc-supply = <&hsusb2_power>; |
Rob Herring | f568f6f | 2017-11-09 16:26:13 -0600 | [diff] [blame] | 97 | #phy-cells = <0>; |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 98 | }; |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 99 | |
Javier Martinez Canillas | a58280e5 | 2016-06-27 15:20:47 -0400 | [diff] [blame] | 100 | tfp410: encoder0 { |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 101 | compatible = "ti,tfp410"; |
| 102 | powerdown-gpios = <&twl_gpio 2 GPIO_ACTIVE_LOW>; |
| 103 | |
| 104 | /* XXX pinctrl from twl */ |
| 105 | |
| 106 | ports { |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <0>; |
| 109 | |
| 110 | port@0 { |
| 111 | reg = <0>; |
| 112 | |
Javier Martinez Canillas | a58280e5 | 2016-06-27 15:20:47 -0400 | [diff] [blame] | 113 | tfp410_in: endpoint { |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 114 | remote-endpoint = <&dpi_out>; |
| 115 | }; |
| 116 | }; |
| 117 | |
| 118 | port@1 { |
| 119 | reg = <1>; |
| 120 | |
Javier Martinez Canillas | a58280e5 | 2016-06-27 15:20:47 -0400 | [diff] [blame] | 121 | tfp410_out: endpoint { |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 122 | remote-endpoint = <&dvi_connector_in>; |
| 123 | }; |
| 124 | }; |
| 125 | }; |
| 126 | }; |
| 127 | |
Javier Martinez Canillas | a58280e5 | 2016-06-27 15:20:47 -0400 | [diff] [blame] | 128 | dvi0: connector0 { |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 129 | compatible = "dvi-connector"; |
| 130 | label = "dvi"; |
| 131 | |
| 132 | digital; |
| 133 | |
| 134 | ddc-i2c-bus = <&i2c3>; |
| 135 | |
| 136 | port { |
| 137 | dvi_connector_in: endpoint { |
| 138 | remote-endpoint = <&tfp410_out>; |
| 139 | }; |
| 140 | }; |
| 141 | }; |
| 142 | |
Javier Martinez Canillas | a58280e5 | 2016-06-27 15:20:47 -0400 | [diff] [blame] | 143 | tv0: connector1 { |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 144 | compatible = "svideo-connector"; |
| 145 | label = "tv"; |
| 146 | |
| 147 | port { |
| 148 | tv_connector_in: endpoint { |
| 149 | remote-endpoint = <&venc_out>; |
| 150 | }; |
| 151 | }; |
| 152 | }; |
Mathieu Poirier | 9d31620 | 2014-11-03 11:07:43 -0700 | [diff] [blame] | 153 | |
| 154 | etb@5401b000 { |
| 155 | compatible = "arm,coresight-etb10", "arm,primecell"; |
| 156 | reg = <0x5401b000 0x1000>; |
| 157 | |
Mathieu Poirier | 9d31620 | 2014-11-03 11:07:43 -0700 | [diff] [blame] | 158 | clocks = <&emu_src_ck>; |
| 159 | clock-names = "apb_pclk"; |
Suzuki K Poulose | f2b0721 | 2018-09-12 14:53:49 +0100 | [diff] [blame] | 160 | in-ports { |
| 161 | port { |
| 162 | etb_in: endpoint { |
| 163 | remote-endpoint = <&etm_out>; |
| 164 | }; |
Mathieu Poirier | 9d31620 | 2014-11-03 11:07:43 -0700 | [diff] [blame] | 165 | }; |
| 166 | }; |
| 167 | }; |
| 168 | |
| 169 | etm@54010000 { |
| 170 | compatible = "arm,coresight-etm3x", "arm,primecell"; |
| 171 | reg = <0x54010000 0x1000>; |
| 172 | |
| 173 | clocks = <&emu_src_ck>; |
| 174 | clock-names = "apb_pclk"; |
Suzuki K Poulose | f2b0721 | 2018-09-12 14:53:49 +0100 | [diff] [blame] | 175 | out-ports { |
| 176 | port { |
| 177 | etm_out: endpoint { |
| 178 | remote-endpoint = <&etb_in>; |
| 179 | }; |
Mathieu Poirier | 9d31620 | 2014-11-03 11:07:43 -0700 | [diff] [blame] | 180 | }; |
| 181 | }; |
| 182 | }; |
Kevin Hilman | d641c3d | 2013-05-31 09:27:05 -0700 | [diff] [blame] | 183 | }; |
| 184 | |
| 185 | &omap3_pmx_wkup { |
| 186 | gpio1_pins: pinmux_gpio1_pins { |
| 187 | pinctrl-single,pins = < |
Javier Martinez Canillas | 0ba47e4 | 2015-11-13 01:54:02 -0300 | [diff] [blame] | 188 | OMAP3_WKUP_IOPAD(0x2a0e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot2.gpio_4 */ |
Kevin Hilman | d641c3d | 2013-05-31 09:27:05 -0700 | [diff] [blame] | 189 | >; |
| 190 | }; |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 191 | |
| 192 | dss_dpi_pins2: pinmux_dss_dpi_pins1 { |
| 193 | pinctrl-single,pins = < |
Javier Martinez Canillas | 0ba47e4 | 2015-11-13 01:54:02 -0300 | [diff] [blame] | 194 | OMAP3_WKUP_IOPAD(0x2a0a, PIN_OUTPUT | MUX_MODE3) /* sys_boot0.dss_data18 */ |
| 195 | OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE3) /* sys_boot1.dss_data19 */ |
| 196 | OMAP3_WKUP_IOPAD(0x2a10, PIN_OUTPUT | MUX_MODE3) /* sys_boot3.dss_data20 */ |
| 197 | OMAP3_WKUP_IOPAD(0x2a12, PIN_OUTPUT | MUX_MODE3) /* sys_boot4.dss_data21 */ |
| 198 | OMAP3_WKUP_IOPAD(0x2a14, PIN_OUTPUT | MUX_MODE3) /* sys_boot5.dss_data22 */ |
| 199 | OMAP3_WKUP_IOPAD(0x2a16, PIN_OUTPUT | MUX_MODE3) /* sys_boot6.dss_data23 */ |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 200 | >; |
| 201 | }; |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 202 | }; |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 203 | |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 204 | &omap3_pmx_core { |
| 205 | pinctrl-names = "default"; |
| 206 | pinctrl-0 = < |
Laurent Pinchart | 3d49538 | 2014-01-07 14:01:39 -0800 | [diff] [blame] | 207 | &hsusb2_pins |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 208 | >; |
| 209 | |
| 210 | uart3_pins: pinmux_uart3_pins { |
| 211 | pinctrl-single,pins = < |
Javier Martinez Canillas | 0ba47e4 | 2015-11-13 01:54:02 -0300 | [diff] [blame] | 212 | OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ |
| 213 | OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx OUTPUT | MODE0 */ |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 214 | >; |
| 215 | }; |
| 216 | |
Laurent Pinchart | 3d49538 | 2014-01-07 14:01:39 -0800 | [diff] [blame] | 217 | hsusb2_pins: pinmux_hsusb2_pins { |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 218 | pinctrl-single,pins = < |
Laurent Pinchart | 3d49538 | 2014-01-07 14:01:39 -0800 | [diff] [blame] | 219 | OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */ |
| 220 | OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */ |
| 221 | OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */ |
| 222 | OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */ |
| 223 | OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */ |
| 224 | OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */ |
| 225 | >; |
| 226 | }; |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 227 | |
| 228 | dss_dpi_pins1: pinmux_dss_dpi_pins2 { |
| 229 | pinctrl-single,pins = < |
| 230 | OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ |
| 231 | OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ |
| 232 | OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ |
| 233 | OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ |
| 234 | |
| 235 | OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ |
| 236 | OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ |
| 237 | OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ |
| 238 | OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ |
| 239 | OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ |
| 240 | OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ |
| 241 | OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ |
| 242 | OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ |
| 243 | OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ |
| 244 | OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ |
| 245 | OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ |
| 246 | OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ |
| 247 | |
| 248 | OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE3) /* dss_data18.dss_data0 */ |
| 249 | OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE3) /* dss_data19.dss_data1 */ |
| 250 | OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE3) /* dss_data20.dss_data2 */ |
| 251 | OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE3) /* dss_data21.dss_data3 */ |
| 252 | OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE3) /* dss_data22.dss_data4 */ |
| 253 | OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE3) /* dss_data23.dss_data5 */ |
| 254 | >; |
| 255 | }; |
Laurent Pinchart | 3d49538 | 2014-01-07 14:01:39 -0800 | [diff] [blame] | 256 | }; |
| 257 | |
| 258 | &omap3_pmx_core2 { |
| 259 | pinctrl-names = "default"; |
| 260 | pinctrl-0 = < |
| 261 | &hsusb2_2_pins |
| 262 | >; |
| 263 | |
| 264 | hsusb2_2_pins: pinmux_hsusb2_2_pins { |
| 265 | pinctrl-single,pins = < |
| 266 | OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */ |
| 267 | OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */ |
| 268 | OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */ |
| 269 | OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */ |
| 270 | OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */ |
| 271 | OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */ |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 272 | >; |
| 273 | }; |
| 274 | }; |
| 275 | |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 276 | &i2c1 { |
| 277 | clock-frequency = <2600000>; |
| 278 | |
| 279 | twl: twl@48 { |
| 280 | reg = <0x48>; |
| 281 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 282 | interrupt-parent = <&intc>; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 283 | |
Peter Ujfalusi | bcddb92 | 2018-04-05 14:52:39 +0300 | [diff] [blame] | 284 | clocks = <&hfclk_26m>; |
| 285 | clock-names = "fck"; |
| 286 | |
Peter Ujfalusi | 2c195f9 | 2012-08-29 16:31:05 +0300 | [diff] [blame] | 287 | twl_audio: audio { |
| 288 | compatible = "ti,twl4030-audio"; |
| 289 | codec { |
| 290 | }; |
| 291 | }; |
Tony Lindgren | 9188883 | 2014-06-16 01:10:22 -0700 | [diff] [blame] | 292 | |
| 293 | twl_power: power { |
| 294 | compatible = "ti,twl4030-power-beagleboard-xm", "ti,twl4030-power-idle-osc-off"; |
| 295 | ti,use_poweroff; |
| 296 | }; |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 297 | }; |
| 298 | }; |
| 299 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 300 | #include "twl4030.dtsi" |
Kevin Hilman | f968845 | 2013-05-31 14:09:34 -0700 | [diff] [blame] | 301 | #include "twl4030_omap3.dtsi" |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 302 | |
| 303 | &i2c2 { |
| 304 | clock-frequency = <400000>; |
| 305 | }; |
| 306 | |
| 307 | &i2c3 { |
| 308 | clock-frequency = <100000>; |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 309 | }; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 310 | |
| 311 | &mmc1 { |
| 312 | vmmc-supply = <&vmmc1>; |
Kishon Vijay Abraham I | 45ea75e | 2017-06-09 17:38:18 +0530 | [diff] [blame] | 313 | vqmmc-supply = <&vsim>; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 314 | bus-width = <8>; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 315 | }; |
| 316 | |
| 317 | &mmc2 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 318 | status = "disabled"; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 319 | }; |
| 320 | |
| 321 | &mmc3 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 322 | status = "disabled"; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 323 | }; |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame] | 324 | |
| 325 | &twl_gpio { |
| 326 | ti,use-leds; |
| 327 | /* pullups: BIT(1) */ |
| 328 | ti,pullups = <0x000002>; |
| 329 | /* |
| 330 | * pulldowns: |
| 331 | * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13) |
| 332 | * BIT(15), BIT(16), BIT(17) |
| 333 | */ |
| 334 | ti,pulldowns = <0x03a1c4>; |
| 335 | }; |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 336 | |
| 337 | &usb_otg_hs { |
| 338 | interface-type = <0>; |
Jason Cooper | 914dc32 | 2013-05-09 09:06:57 -0700 | [diff] [blame] | 339 | usb-phy = <&usb2_phy>; |
Kishon Vijay Abraham I | 975d963e | 2013-09-27 11:53:29 +0530 | [diff] [blame] | 340 | phys = <&usb2_phy>; |
| 341 | phy-names = "usb2-phy"; |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 342 | mode = <3>; |
| 343 | power = <50>; |
| 344 | }; |
Kevin Hilman | b859c1e | 2013-05-30 17:38:00 -0700 | [diff] [blame] | 345 | |
Kevin Hilman | b859c1e | 2013-05-30 17:38:00 -0700 | [diff] [blame] | 346 | &uart3 { |
Tony Lindgren | 9188883 | 2014-06-16 01:10:22 -0700 | [diff] [blame] | 347 | interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>; |
Kevin Hilman | b859c1e | 2013-05-30 17:38:00 -0700 | [diff] [blame] | 348 | pinctrl-names = "default"; |
| 349 | pinctrl-0 = <&uart3_pins>; |
| 350 | }; |
Kevin Hilman | d641c3d | 2013-05-31 09:27:05 -0700 | [diff] [blame] | 351 | |
| 352 | &gpio1 { |
| 353 | pinctrl-names = "default"; |
| 354 | pinctrl-0 = <&gpio1_pins>; |
| 355 | }; |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 356 | |
| 357 | &usbhshost { |
| 358 | port2-mode = "ehci-phy"; |
| 359 | }; |
| 360 | |
| 361 | &usbhsehci { |
| 362 | phys = <0 &hsusb2_phy>; |
Laurent Pinchart | 055d31d | 2016-12-02 23:11:37 +0200 | [diff] [blame] | 363 | |
| 364 | #address-cells = <1>; |
| 365 | #size-cells = <0>; |
| 366 | |
| 367 | hub@2 { |
| 368 | compatible = "usb424,9514"; |
| 369 | reg = <2>; |
| 370 | #address-cells = <1>; |
| 371 | #size-cells = <0>; |
| 372 | |
| 373 | ethernet: usbether@1 { |
| 374 | compatible = "usb424,ec00"; |
| 375 | reg = <1>; |
| 376 | }; |
| 377 | }; |
Roger Quadros | aaba944 | 2013-09-24 11:53:55 +0300 | [diff] [blame] | 378 | }; |
Roger Quadros | 30023a7 | 2013-11-26 15:03:39 -0800 | [diff] [blame] | 379 | |
| 380 | &vaux2 { |
| 381 | regulator-name = "usb_1v8"; |
| 382 | regulator-min-microvolt = <1800000>; |
| 383 | regulator-max-microvolt = <1800000>; |
| 384 | regulator-always-on; |
| 385 | }; |
Peter Ujfalusi | 726322c | 2014-01-24 10:19:05 +0200 | [diff] [blame] | 386 | |
| 387 | &mcbsp2 { |
| 388 | status = "okay"; |
| 389 | }; |
Tomi Valkeinen | 9955a9e | 2013-09-20 10:43:51 +0300 | [diff] [blame] | 390 | |
| 391 | &dss { |
| 392 | status = "ok"; |
| 393 | |
| 394 | pinctrl-names = "default"; |
| 395 | pinctrl-0 = < |
| 396 | &dss_dpi_pins1 |
| 397 | &dss_dpi_pins2 |
| 398 | >; |
| 399 | |
| 400 | port { |
| 401 | dpi_out: endpoint { |
| 402 | remote-endpoint = <&tfp410_in>; |
| 403 | data-lines = <24>; |
| 404 | }; |
| 405 | }; |
| 406 | }; |
| 407 | |
| 408 | &venc { |
| 409 | status = "ok"; |
| 410 | |
| 411 | vdda-supply = <&vdac>; |
| 412 | |
| 413 | port { |
| 414 | venc_out: endpoint { |
| 415 | remote-endpoint = <&tv_connector_in>; |
| 416 | ti,channels = <2>; |
| 417 | }; |
| 418 | }; |
| 419 | }; |