Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Move most of omap5-uevm.dts to omap5-board-common.dtsi

Looks like thevarious omap5-uevm models and igepv5 are very similar. So let's
create omap5-board-common.dtsi to allow fixing up things properly for mainline
kernel to support all these.

Even if we eventually end up having only PMIC + MMC + eMMC + SDIO WLAN + SATA +
USB + HDMI configuration in the omap5-board-common.dtsi, this is the easiest
way to add support for other boards rather than diffing various versions of
out of tree dts files.

My guess is that also omap5-sbc-t54.dts can use this, but I don't have that
board so that will need to be dealt with later on.

Signed-off-by: Tony Lindgren <tony@atomide.com>

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