Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | #include "omap5.dtsi" |
| 9 | #include <dt-bindings/interrupt-controller/irq.h> |
| 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 11 | |
| 12 | / { |
| 13 | aliases { |
| 14 | display0 = &hdmi0; |
| 15 | }; |
| 16 | |
| 17 | vmmcsd_fixed: fixedregulator-mmcsd { |
| 18 | compatible = "regulator-fixed"; |
| 19 | regulator-name = "vmmcsd_fixed"; |
| 20 | regulator-min-microvolt = <3000000>; |
| 21 | regulator-max-microvolt = <3000000>; |
| 22 | }; |
| 23 | |
| 24 | mmc3_pwrseq: sdhci0_pwrseq { |
| 25 | compatible = "mmc-pwrseq-simple"; |
| 26 | clocks = <&clk32kgaudio>; |
| 27 | clock-names = "ext_clock"; |
| 28 | }; |
| 29 | |
| 30 | vmmcsdio_fixed: fixedregulator-mmcsdio { |
| 31 | compatible = "regulator-fixed"; |
| 32 | regulator-name = "vmmcsdio_fixed"; |
| 33 | regulator-min-microvolt = <1800000>; |
| 34 | regulator-max-microvolt = <1800000>; |
| 35 | gpio = <&gpio5 12 GPIO_ACTIVE_HIGH>; /* gpio140 WLAN_EN */ |
| 36 | enable-active-high; |
| 37 | startup-delay-us = <70000>; |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&wlan_pins>; |
| 40 | }; |
| 41 | |
| 42 | /* HS USB Host PHY on PORT 2 */ |
| 43 | hsusb2_phy: hsusb2_phy { |
| 44 | compatible = "usb-nop-xceiv"; |
| 45 | reset-gpios = <&gpio3 16 GPIO_ACTIVE_LOW>; /* gpio3_80 HUB_NRESET */ |
| 46 | clocks = <&auxclk1_ck>; |
| 47 | clock-names = "main_clk"; |
| 48 | clock-frequency = <19200000>; |
| 49 | }; |
| 50 | |
| 51 | /* HS USB Host PHY on PORT 3 */ |
| 52 | hsusb3_phy: hsusb3_phy { |
| 53 | compatible = "usb-nop-xceiv"; |
| 54 | reset-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; /* gpio3_79 ETH_NRESET */ |
| 55 | }; |
| 56 | |
| 57 | leds { |
| 58 | compatible = "gpio-leds"; |
| 59 | led@1 { |
| 60 | label = "omap5:blue:usr1"; |
| 61 | gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */ |
| 62 | linux,default-trigger = "heartbeat"; |
| 63 | default-state = "off"; |
| 64 | }; |
| 65 | }; |
| 66 | |
| 67 | tpd12s015: encoder@0 { |
| 68 | compatible = "ti,tpd12s015"; |
| 69 | |
| 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&tpd12s015_pins>; |
| 72 | |
| 73 | /* gpios defined in the board specific dts */ |
| 74 | |
| 75 | ports { |
| 76 | #address-cells = <1>; |
| 77 | #size-cells = <0>; |
| 78 | |
| 79 | port@0 { |
| 80 | reg = <0>; |
| 81 | |
| 82 | tpd12s015_in: endpoint@0 { |
| 83 | remote-endpoint = <&hdmi_out>; |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | port@1 { |
| 88 | reg = <1>; |
| 89 | |
| 90 | tpd12s015_out: endpoint@0 { |
| 91 | remote-endpoint = <&hdmi_connector_in>; |
| 92 | }; |
| 93 | }; |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | hdmi0: connector@0 { |
| 98 | compatible = "hdmi-connector"; |
| 99 | label = "hdmi"; |
| 100 | |
| 101 | type = "b"; |
| 102 | |
| 103 | port { |
| 104 | hdmi_connector_in: endpoint { |
| 105 | remote-endpoint = <&tpd12s015_out>; |
| 106 | }; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | sound: sound { |
| 111 | compatible = "ti,abe-twl6040"; |
| 112 | ti,model = "omap5-uevm"; |
| 113 | |
| 114 | ti,mclk-freq = <19200000>; |
| 115 | |
| 116 | ti,mcpdm = <&mcpdm>; |
| 117 | |
| 118 | ti,twl6040 = <&twl6040>; |
| 119 | |
| 120 | /* Audio routing */ |
| 121 | ti,audio-routing = |
| 122 | "Headset Stereophone", "HSOL", |
| 123 | "Headset Stereophone", "HSOR", |
| 124 | "Line Out", "AUXL", |
| 125 | "Line Out", "AUXR", |
| 126 | "HSMIC", "Headset Mic", |
| 127 | "Headset Mic", "Headset Mic Bias", |
| 128 | "AFML", "Line In", |
| 129 | "AFMR", "Line In"; |
| 130 | }; |
| 131 | }; |
| 132 | |
Tony Lindgren | af756bb | 2016-01-11 14:35:24 -0800 | [diff] [blame^] | 133 | &gpio8 { |
| 134 | /* TI trees use GPIO instead of msecure, see also muxing */ |
| 135 | p234 { |
| 136 | gpio-hog; |
| 137 | gpios = <10 GPIO_ACTIVE_HIGH>; |
| 138 | output-high; |
| 139 | line-name = "gpio8_234/msecure"; |
| 140 | }; |
| 141 | }; |
| 142 | |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 143 | &omap5_pmx_core { |
| 144 | pinctrl-names = "default"; |
| 145 | pinctrl-0 = < |
| 146 | &usbhost_pins |
| 147 | &led_gpio_pins |
| 148 | >; |
| 149 | |
| 150 | twl6040_pins: pinmux_twl6040_pins { |
| 151 | pinctrl-single,pins = < |
| 152 | 0x17e (PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */ |
| 153 | >; |
| 154 | }; |
| 155 | |
| 156 | mcpdm_pins: pinmux_mcpdm_pins { |
| 157 | pinctrl-single,pins = < |
| 158 | 0x142 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */ |
| 159 | 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_ul_data.abemcpdm_ul_data */ |
| 160 | 0x15e (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_dl_data.abemcpdm_dl_data */ |
| 161 | 0x160 (PIN_INPUT_PULLUP | MUX_MODE0) /* abemcpdm_frame.abemcpdm_frame */ |
| 162 | 0x162 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcpdm_lb_clk.abemcpdm_lb_clk */ |
| 163 | >; |
| 164 | }; |
| 165 | |
| 166 | mcbsp1_pins: pinmux_mcbsp1_pins { |
| 167 | pinctrl-single,pins = < |
| 168 | 0x14c (PIN_INPUT | MUX_MODE1) /* abedmic_clk2.abemcbsp1_fsx */ |
| 169 | 0x14e (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* abedmic_clk3.abemcbsp1_dx */ |
| 170 | 0x150 (PIN_INPUT | MUX_MODE1) /* abeslimbus1_clock.abemcbsp1_clkx */ |
| 171 | 0x152 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* abeslimbus1_data.abemcbsp1_dr */ |
| 172 | >; |
| 173 | }; |
| 174 | |
| 175 | mcbsp2_pins: pinmux_mcbsp2_pins { |
| 176 | pinctrl-single,pins = < |
| 177 | 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dr.abemcbsp2_dr */ |
| 178 | 0x156 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abemcbsp2_dx.abemcbsp2_dx */ |
| 179 | 0x158 (PIN_INPUT | MUX_MODE0) /* abemcbsp2_fsx.abemcbsp2_fsx */ |
| 180 | 0x15a (PIN_INPUT | MUX_MODE0) /* abemcbsp2_clkx.abemcbsp2_clkx */ |
| 181 | >; |
| 182 | }; |
| 183 | |
| 184 | i2c1_pins: pinmux_i2c1_pins { |
| 185 | pinctrl-single,pins = < |
| 186 | 0x1b2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */ |
| 187 | 0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */ |
| 188 | >; |
| 189 | }; |
| 190 | |
| 191 | mcspi2_pins: pinmux_mcspi2_pins { |
| 192 | pinctrl-single,pins = < |
| 193 | 0xbc (PIN_INPUT | MUX_MODE0) /* mcspi2_clk */ |
| 194 | 0xbe (PIN_INPUT | MUX_MODE0) /* mcspi2_simo */ |
| 195 | 0xc0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mcspi2_somi */ |
| 196 | 0xc2 (PIN_OUTPUT | MUX_MODE0) /* mcspi2_cs0 */ |
| 197 | >; |
| 198 | }; |
| 199 | |
| 200 | mcspi3_pins: pinmux_mcspi3_pins { |
| 201 | pinctrl-single,pins = < |
| 202 | 0x78 (PIN_INPUT | MUX_MODE1) /* mcspi3_somi */ |
| 203 | 0x7a (PIN_INPUT | MUX_MODE1) /* mcspi3_cs0 */ |
| 204 | 0x7c (PIN_INPUT | MUX_MODE1) /* mcspi3_simo */ |
| 205 | 0x7e (PIN_INPUT | MUX_MODE1) /* mcspi3_clk */ |
| 206 | >; |
| 207 | }; |
| 208 | |
| 209 | mmc3_pins: pinmux_mmc3_pins { |
| 210 | pinctrl-single,pins = < |
| 211 | OMAP5_IOPAD(0x01a4, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_clk */ |
| 212 | OMAP5_IOPAD(0x01a6, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_cmd */ |
| 213 | OMAP5_IOPAD(0x01a8, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data0 */ |
| 214 | OMAP5_IOPAD(0x01aa, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data1 */ |
| 215 | OMAP5_IOPAD(0x01ac, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data2 */ |
| 216 | OMAP5_IOPAD(0x01ae, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data3 */ |
| 217 | >; |
| 218 | }; |
| 219 | |
| 220 | wlan_pins: pinmux_wlan_pins { |
| 221 | pinctrl-single,pins = < |
| 222 | OMAP5_IOPAD(0x1bc, PIN_OUTPUT | MUX_MODE6) /* mcspi1_clk.gpio5_140 */ |
| 223 | >; |
| 224 | }; |
| 225 | |
Tony Lindgren | af756bb | 2016-01-11 14:35:24 -0800 | [diff] [blame^] | 226 | /* TI trees use GPIO mode; msecure mode does not work reliably? */ |
| 227 | palmas_msecure_pins: palmas_msecure_pins { |
| 228 | pinctrl-single,pins = < |
| 229 | OMAP5_IOPAD(0x180, PIN_OUTPUT | MUX_MODE6) /* gpio8_234 */ |
| 230 | >; |
| 231 | }; |
| 232 | |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 233 | usbhost_pins: pinmux_usbhost_pins { |
| 234 | pinctrl-single,pins = < |
| 235 | 0x84 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */ |
| 236 | 0x86 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */ |
| 237 | |
| 238 | 0x19e (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */ |
| 239 | 0x1a0 (PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */ |
| 240 | |
| 241 | 0x70 (PIN_OUTPUT | MUX_MODE6) /* gpio3_80 HUB_NRESET */ |
| 242 | 0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */ |
| 243 | >; |
| 244 | }; |
| 245 | |
| 246 | led_gpio_pins: pinmux_led_gpio_pins { |
| 247 | pinctrl-single,pins = < |
| 248 | 0x196 (PIN_OUTPUT | MUX_MODE6) /* uart3_cts_rctx.gpio5_153 */ |
| 249 | >; |
| 250 | }; |
| 251 | |
| 252 | uart1_pins: pinmux_uart1_pins { |
| 253 | pinctrl-single,pins = < |
| 254 | 0x60 (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_cts */ |
| 255 | 0x62 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_tx.uart1_cts */ |
| 256 | 0x64 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rx.uart1_rts */ |
| 257 | 0x66 (PIN_OUTPUT | MUX_MODE0) /* uart1_rx.uart1_rts */ |
| 258 | >; |
| 259 | }; |
| 260 | |
| 261 | uart3_pins: pinmux_uart3_pins { |
| 262 | pinctrl-single,pins = < |
| 263 | 0x19a (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_irsd.uart3_tx_irtx */ |
| 264 | 0x19c (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_rx_irrx.uart3_usbb3_hsic */ |
| 265 | >; |
| 266 | }; |
| 267 | |
| 268 | uart5_pins: pinmux_uart5_pins { |
| 269 | pinctrl-single,pins = < |
| 270 | 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_rx.uart5_rx */ |
| 271 | 0x172 (PIN_OUTPUT | MUX_MODE0) /* uart5_tx.uart5_tx */ |
| 272 | 0x174 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart5_cts.uart5_rts */ |
| 273 | 0x176 (PIN_OUTPUT | MUX_MODE0) /* uart5_cts.uart5_rts */ |
| 274 | >; |
| 275 | }; |
| 276 | |
| 277 | dss_hdmi_pins: pinmux_dss_hdmi_pins { |
| 278 | pinctrl-single,pins = < |
| 279 | 0x0fc (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ |
| 280 | 0x100 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl.hdmi_ddc_scl */ |
| 281 | 0x102 (PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda.hdmi_ddc_sda */ |
| 282 | >; |
| 283 | }; |
| 284 | |
| 285 | tpd12s015_pins: pinmux_tpd12s015_pins { |
| 286 | pinctrl-single,pins = < |
| 287 | 0x0fe (PIN_INPUT_PULLDOWN | MUX_MODE6) /* hdmi_hpd.gpio7_193 */ |
| 288 | >; |
| 289 | }; |
| 290 | }; |
| 291 | |
| 292 | &omap5_pmx_wkup { |
| 293 | pinctrl-names = "default"; |
| 294 | pinctrl-0 = < |
| 295 | &usbhost_wkup_pins |
| 296 | >; |
| 297 | |
Tony Lindgren | af756bb | 2016-01-11 14:35:24 -0800 | [diff] [blame^] | 298 | palmas_sys_nirq_pins: pinmux_palmas_sys_nirq_pins { |
| 299 | pinctrl-single,pins = < |
| 300 | OMAP5_IOPAD(0x068, PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1 */ |
| 301 | >; |
| 302 | }; |
| 303 | |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 304 | usbhost_wkup_pins: pinmux_usbhost_wkup_pins { |
| 305 | pinctrl-single,pins = < |
| 306 | 0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */ |
| 307 | >; |
| 308 | }; |
| 309 | |
| 310 | wlcore_irq_pin: pinmux_wlcore_irq_pin { |
| 311 | pinctrl-single,pins = < |
| 312 | OMAP5_IOPAD(0x040, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE6) /* llia_wakereqin.gpio1_wk14 */ |
| 313 | >; |
| 314 | }; |
| 315 | }; |
| 316 | |
| 317 | &mmc1 { |
| 318 | vmmc-supply = <&ldo9_reg>; |
| 319 | bus-width = <4>; |
| 320 | }; |
| 321 | |
| 322 | &mmc2 { |
| 323 | vmmc-supply = <&vmmcsd_fixed>; |
| 324 | bus-width = <8>; |
| 325 | ti,non-removable; |
| 326 | }; |
| 327 | |
| 328 | &mmc3 { |
| 329 | vmmc-supply = <&vmmcsdio_fixed>; |
| 330 | mmc-pwrseq = <&mmc3_pwrseq>; |
| 331 | bus-width = <4>; |
| 332 | non-removable; |
| 333 | cap-power-off-card; |
| 334 | pinctrl-names = "default"; |
| 335 | pinctrl-0 = <&mmc3_pins &wlcore_irq_pin>; |
| 336 | interrupts-extended = <&gic GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH |
| 337 | &omap5_pmx_core 0x168>; |
| 338 | |
| 339 | #address-cells = <1>; |
| 340 | #size-cells = <0>; |
| 341 | wlcore: wlcore@2 { |
| 342 | compatible = "ti,wl1271"; |
| 343 | reg = <2>; |
| 344 | interrupt-parent = <&gpio1>; |
| 345 | interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; /* gpio 14 */ |
| 346 | ref-clock-frequency = <26000000>; |
| 347 | }; |
| 348 | }; |
| 349 | |
| 350 | &mmc4 { |
| 351 | status = "disabled"; |
| 352 | }; |
| 353 | |
| 354 | &mmc5 { |
| 355 | status = "disabled"; |
| 356 | }; |
| 357 | |
| 358 | &i2c1 { |
| 359 | pinctrl-names = "default"; |
| 360 | pinctrl-0 = <&i2c1_pins>; |
| 361 | |
| 362 | clock-frequency = <400000>; |
| 363 | |
| 364 | palmas: palmas@48 { |
| 365 | compatible = "ti,palmas"; |
| 366 | interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */ |
| 367 | reg = <0x48>; |
| 368 | interrupt-controller; |
| 369 | #interrupt-cells = <2>; |
| 370 | ti,system-power-controller; |
Tony Lindgren | af756bb | 2016-01-11 14:35:24 -0800 | [diff] [blame^] | 371 | pinctrl-names = "default"; |
| 372 | pinctrl-0 = <&palmas_sys_nirq_pins &palmas_msecure_pins>; |
Tony Lindgren | ee9a97d | 2015-10-16 12:32:32 -0700 | [diff] [blame] | 373 | |
| 374 | extcon_usb3: palmas_usb { |
| 375 | compatible = "ti,palmas-usb-vid"; |
| 376 | ti,enable-vbus-detection; |
| 377 | ti,enable-id-detection; |
| 378 | ti,wakeup; |
| 379 | }; |
| 380 | |
| 381 | clk32kgaudio: palmas_clk32k@1 { |
| 382 | compatible = "ti,palmas-clk32kgaudio"; |
| 383 | #clock-cells = <0>; |
| 384 | }; |
| 385 | |
| 386 | palmas_pmic { |
| 387 | compatible = "ti,palmas-pmic"; |
| 388 | interrupt-parent = <&palmas>; |
| 389 | interrupts = <14 IRQ_TYPE_NONE>; |
| 390 | interrupt-name = "short-irq"; |
| 391 | |
| 392 | ti,ldo6-vibrator; |
| 393 | |
| 394 | regulators { |
| 395 | smps123_reg: smps123 { |
| 396 | /* VDD_OPP_MPU */ |
| 397 | regulator-name = "smps123"; |
| 398 | regulator-min-microvolt = < 600000>; |
| 399 | regulator-max-microvolt = <1500000>; |
| 400 | regulator-always-on; |
| 401 | regulator-boot-on; |
| 402 | }; |
| 403 | |
| 404 | smps45_reg: smps45 { |
| 405 | /* VDD_OPP_MM */ |
| 406 | regulator-name = "smps45"; |
| 407 | regulator-min-microvolt = < 600000>; |
| 408 | regulator-max-microvolt = <1310000>; |
| 409 | regulator-always-on; |
| 410 | regulator-boot-on; |
| 411 | }; |
| 412 | |
| 413 | smps6_reg: smps6 { |
| 414 | /* VDD_DDR3 - over VDD_SMPS6 */ |
| 415 | regulator-name = "smps6"; |
| 416 | regulator-min-microvolt = <1200000>; |
| 417 | regulator-max-microvolt = <1200000>; |
| 418 | regulator-always-on; |
| 419 | regulator-boot-on; |
| 420 | }; |
| 421 | |
| 422 | smps7_reg: smps7 { |
| 423 | /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */ |
| 424 | regulator-name = "smps7"; |
| 425 | regulator-min-microvolt = <1800000>; |
| 426 | regulator-max-microvolt = <1800000>; |
| 427 | regulator-always-on; |
| 428 | regulator-boot-on; |
| 429 | }; |
| 430 | |
| 431 | smps8_reg: smps8 { |
| 432 | /* VDD_OPP_CORE */ |
| 433 | regulator-name = "smps8"; |
| 434 | regulator-min-microvolt = < 600000>; |
| 435 | regulator-max-microvolt = <1310000>; |
| 436 | regulator-always-on; |
| 437 | regulator-boot-on; |
| 438 | }; |
| 439 | |
| 440 | smps9_reg: smps9 { |
| 441 | /* VDDA_2v1_AUD over VDD_2v1 */ |
| 442 | regulator-name = "smps9"; |
| 443 | regulator-min-microvolt = <2100000>; |
| 444 | regulator-max-microvolt = <2100000>; |
| 445 | ti,smps-range = <0x80>; |
| 446 | }; |
| 447 | |
| 448 | smps10_out2_reg: smps10_out2 { |
| 449 | /* VBUS_5V_OTG */ |
| 450 | regulator-name = "smps10_out2"; |
| 451 | regulator-min-microvolt = <5000000>; |
| 452 | regulator-max-microvolt = <5000000>; |
| 453 | regulator-always-on; |
| 454 | regulator-boot-on; |
| 455 | }; |
| 456 | |
| 457 | smps10_out1_reg: smps10_out1 { |
| 458 | /* VBUS_5V_OTG */ |
| 459 | regulator-name = "smps10_out1"; |
| 460 | regulator-min-microvolt = <5000000>; |
| 461 | regulator-max-microvolt = <5000000>; |
| 462 | }; |
| 463 | |
| 464 | ldo1_reg: ldo1 { |
| 465 | /* VDDAPHY_CAM: vdda_csiport */ |
| 466 | regulator-name = "ldo1"; |
| 467 | regulator-min-microvolt = <1500000>; |
| 468 | regulator-max-microvolt = <1800000>; |
| 469 | }; |
| 470 | |
| 471 | ldo2_reg: ldo2 { |
| 472 | /* VCC_2V8_DISP: Does not go anywhere */ |
| 473 | regulator-name = "ldo2"; |
| 474 | regulator-min-microvolt = <2800000>; |
| 475 | regulator-max-microvolt = <2800000>; |
| 476 | /* Unused */ |
| 477 | status = "disabled"; |
| 478 | }; |
| 479 | |
| 480 | ldo3_reg: ldo3 { |
| 481 | /* VDDAPHY_MDM: vdda_lli */ |
| 482 | regulator-name = "ldo3"; |
| 483 | regulator-min-microvolt = <1500000>; |
| 484 | regulator-max-microvolt = <1500000>; |
| 485 | regulator-boot-on; |
| 486 | /* Only if Modem is used */ |
| 487 | status = "disabled"; |
| 488 | }; |
| 489 | |
| 490 | ldo4_reg: ldo4 { |
| 491 | /* VDDAPHY_DISP: vdda_dsiport/hdmi */ |
| 492 | regulator-name = "ldo4"; |
| 493 | regulator-min-microvolt = <1500000>; |
| 494 | regulator-max-microvolt = <1800000>; |
| 495 | }; |
| 496 | |
| 497 | ldo5_reg: ldo5 { |
| 498 | /* VDDA_1V8_PHY: usb/sata/hdmi.. */ |
| 499 | regulator-name = "ldo5"; |
| 500 | regulator-min-microvolt = <1800000>; |
| 501 | regulator-max-microvolt = <1800000>; |
| 502 | regulator-always-on; |
| 503 | regulator-boot-on; |
| 504 | }; |
| 505 | |
| 506 | ldo6_reg: ldo6 { |
| 507 | /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */ |
| 508 | regulator-name = "ldo6"; |
| 509 | regulator-min-microvolt = <1200000>; |
| 510 | regulator-max-microvolt = <1200000>; |
| 511 | regulator-always-on; |
| 512 | regulator-boot-on; |
| 513 | }; |
| 514 | |
| 515 | ldo7_reg: ldo7 { |
| 516 | /* VDD_VPP: vpp1 */ |
| 517 | regulator-name = "ldo7"; |
| 518 | regulator-min-microvolt = <2000000>; |
| 519 | regulator-max-microvolt = <2000000>; |
| 520 | /* Only for efuse reprograming! */ |
| 521 | status = "disabled"; |
| 522 | }; |
| 523 | |
| 524 | ldo8_reg: ldo8 { |
| 525 | /* VDD_3v0: Does not go anywhere */ |
| 526 | regulator-name = "ldo8"; |
| 527 | regulator-min-microvolt = <3000000>; |
| 528 | regulator-max-microvolt = <3000000>; |
| 529 | regulator-boot-on; |
| 530 | /* Unused */ |
| 531 | status = "disabled"; |
| 532 | }; |
| 533 | |
| 534 | ldo9_reg: ldo9 { |
| 535 | /* VCC_DV_SDIO: vdds_sdcard */ |
| 536 | regulator-name = "ldo9"; |
| 537 | regulator-min-microvolt = <1800000>; |
| 538 | regulator-max-microvolt = <3000000>; |
| 539 | regulator-boot-on; |
| 540 | }; |
| 541 | |
| 542 | ldoln_reg: ldoln { |
| 543 | /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */ |
| 544 | regulator-name = "ldoln"; |
| 545 | regulator-min-microvolt = <1800000>; |
| 546 | regulator-max-microvolt = <1800000>; |
| 547 | regulator-always-on; |
| 548 | regulator-boot-on; |
| 549 | }; |
| 550 | |
| 551 | ldousb_reg: ldousb { |
| 552 | /* VDDA_3V_USB: VDDA_USBHS33 */ |
| 553 | regulator-name = "ldousb"; |
| 554 | regulator-min-microvolt = <3250000>; |
| 555 | regulator-max-microvolt = <3250000>; |
| 556 | regulator-always-on; |
| 557 | regulator-boot-on; |
| 558 | }; |
| 559 | |
| 560 | regen3_reg: regen3 { |
| 561 | /* REGEN3 controls LDO9 supply to card */ |
| 562 | regulator-name = "regen3"; |
| 563 | regulator-always-on; |
| 564 | regulator-boot-on; |
| 565 | }; |
| 566 | }; |
| 567 | }; |
| 568 | |
| 569 | palmas_power_button: palmas_power_button { |
| 570 | compatible = "ti,palmas-pwrbutton"; |
| 571 | interrupt-parent = <&palmas>; |
| 572 | interrupts = <1 IRQ_TYPE_EDGE_FALLING>; |
| 573 | wakeup-source; |
| 574 | }; |
| 575 | }; |
| 576 | |
| 577 | twl6040: twl@4b { |
| 578 | compatible = "ti,twl6040"; |
| 579 | reg = <0x4b>; |
| 580 | |
| 581 | pinctrl-names = "default"; |
| 582 | pinctrl-0 = <&twl6040_pins>; |
| 583 | |
| 584 | interrupts = <GIC_SPI 119 IRQ_TYPE_NONE>; /* IRQ_SYS_2N cascaded to gic */ |
| 585 | ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */ |
| 586 | |
| 587 | vio-supply = <&smps7_reg>; |
| 588 | v2v1-supply = <&smps9_reg>; |
| 589 | enable-active-high; |
| 590 | |
| 591 | clocks = <&clk32kgaudio>; |
| 592 | clock-names = "clk32k"; |
| 593 | }; |
| 594 | }; |
| 595 | |
| 596 | &mcpdm { |
| 597 | pinctrl-names = "default"; |
| 598 | pinctrl-0 = <&mcpdm_pins>; |
| 599 | status = "okay"; |
| 600 | }; |
| 601 | |
| 602 | &mcbsp1 { |
| 603 | pinctrl-names = "default"; |
| 604 | pinctrl-0 = <&mcbsp1_pins>; |
| 605 | status = "okay"; |
| 606 | }; |
| 607 | |
| 608 | &mcbsp2 { |
| 609 | pinctrl-names = "default"; |
| 610 | pinctrl-0 = <&mcbsp2_pins>; |
| 611 | status = "okay"; |
| 612 | }; |
| 613 | |
| 614 | &usbhshost { |
| 615 | port2-mode = "ehci-hsic"; |
| 616 | port3-mode = "ehci-hsic"; |
| 617 | }; |
| 618 | |
| 619 | &usbhsehci { |
| 620 | phys = <0 &hsusb2_phy &hsusb3_phy>; |
| 621 | }; |
| 622 | |
| 623 | &usb3 { |
| 624 | extcon = <&extcon_usb3>; |
| 625 | vbus-supply = <&smps10_out1_reg>; |
| 626 | }; |
| 627 | |
| 628 | &mcspi1 { |
| 629 | |
| 630 | }; |
| 631 | |
| 632 | &mcspi2 { |
| 633 | pinctrl-names = "default"; |
| 634 | pinctrl-0 = <&mcspi2_pins>; |
| 635 | }; |
| 636 | |
| 637 | &mcspi3 { |
| 638 | pinctrl-names = "default"; |
| 639 | pinctrl-0 = <&mcspi3_pins>; |
| 640 | }; |
| 641 | |
| 642 | &uart1 { |
| 643 | pinctrl-names = "default"; |
| 644 | pinctrl-0 = <&uart1_pins>; |
| 645 | }; |
| 646 | |
| 647 | &uart3 { |
| 648 | pinctrl-names = "default"; |
| 649 | pinctrl-0 = <&uart3_pins>; |
| 650 | interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>, |
| 651 | <&omap5_pmx_core 0x19c>; |
| 652 | }; |
| 653 | |
| 654 | &uart5 { |
| 655 | pinctrl-names = "default"; |
| 656 | pinctrl-0 = <&uart5_pins>; |
| 657 | }; |
| 658 | |
| 659 | &cpu0 { |
| 660 | cpu0-supply = <&smps123_reg>; |
| 661 | }; |
| 662 | |
| 663 | &dss { |
| 664 | status = "ok"; |
| 665 | }; |
| 666 | |
| 667 | &hdmi { |
| 668 | status = "ok"; |
| 669 | |
| 670 | /* vdda-supply populated in board specific dts file */ |
| 671 | |
| 672 | pinctrl-names = "default"; |
| 673 | pinctrl-0 = <&dss_hdmi_pins>; |
| 674 | |
| 675 | port { |
| 676 | hdmi_out: endpoint { |
| 677 | remote-endpoint = <&tpd12s015_in>; |
| 678 | }; |
| 679 | }; |
| 680 | }; |