diff options
| -rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 10b725c7bfc0..c1d0ac7bd002 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
| @@ -26,6 +26,16 @@ | |||
| 26 | regulator-max-microvolt = <3300000>; | 26 | regulator-max-microvolt = <3300000>; |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | extcon_usb1: extcon_usb1 { | ||
| 30 | compatible = "linux,extcon-usb-gpio"; | ||
| 31 | id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | extcon_usb2: extcon_usb2 { | ||
| 35 | compatible = "linux,extcon-usb-gpio"; | ||
| 36 | id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; | ||
| 37 | }; | ||
| 38 | |||
| 29 | vtt_fixed: fixedregulator-vtt { | 39 | vtt_fixed: fixedregulator-vtt { |
| 30 | compatible = "regulator-fixed"; | 40 | compatible = "regulator-fixed"; |
| 31 | regulator-name = "vtt_fixed"; | 41 | regulator-name = "vtt_fixed"; |
| @@ -391,6 +401,19 @@ | |||
| 391 | }; | 401 | }; |
| 392 | }; | 402 | }; |
| 393 | }; | 403 | }; |
| 404 | |||
| 405 | pcf_gpio_21: gpio@21 { | ||
| 406 | compatible = "ti,pcf8575"; | ||
| 407 | reg = <0x21>; | ||
| 408 | lines-initial-states = <0x1408>; | ||
| 409 | gpio-controller; | ||
| 410 | #gpio-cells = <2>; | ||
| 411 | interrupt-parent = <&gpio6>; | ||
| 412 | interrupts = <11 IRQ_TYPE_EDGE_FALLING>; | ||
| 413 | interrupt-controller; | ||
| 414 | #interrupt-cells = <2>; | ||
| 415 | }; | ||
| 416 | |||
| 394 | }; | 417 | }; |
| 395 | 418 | ||
| 396 | &i2c2 { | 419 | &i2c2 { |
| @@ -520,6 +543,14 @@ | |||
| 520 | }; | 543 | }; |
| 521 | }; | 544 | }; |
| 522 | 545 | ||
| 546 | &omap_dwc3_1 { | ||
| 547 | extcon = <&extcon_usb1>; | ||
| 548 | }; | ||
| 549 | |||
| 550 | &omap_dwc3_2 { | ||
| 551 | extcon = <&extcon_usb2>; | ||
| 552 | }; | ||
| 553 | |||
| 523 | &usb1 { | 554 | &usb1 { |
| 524 | dr_mode = "peripheral"; | 555 | dr_mode = "peripheral"; |
| 525 | pinctrl-names = "default"; | 556 | pinctrl-names = "default"; |
