diff options
-rw-r--r-- | arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index 25d9b4aa0ff6..e5892bb0ae6e 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts | |||
@@ -13,6 +13,7 @@ | |||
13 | #include "exynos7.dtsi" | 13 | #include "exynos7.dtsi" |
14 | #include <dt-bindings/interrupt-controller/irq.h> | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
15 | #include <dt-bindings/clock/samsung,s2mps11.h> | 15 | #include <dt-bindings/clock/samsung,s2mps11.h> |
16 | #include <dt-bindings/gpio/gpio.h> | ||
16 | 17 | ||
17 | / { | 18 | / { |
18 | model = "Samsung Exynos7 Espresso board based on EXYNOS7"; | 19 | model = "Samsung Exynos7 Espresso board based on EXYNOS7"; |
@@ -32,6 +33,29 @@ | |||
32 | device_type = "memory"; | 33 | device_type = "memory"; |
33 | reg = <0x0 0x40000000 0x0 0xC0000000>; | 34 | reg = <0x0 0x40000000 0x0 0xC0000000>; |
34 | }; | 35 | }; |
36 | |||
37 | usb30_vbus_reg: regulator-usb30 { | ||
38 | compatible = "regulator-fixed"; | ||
39 | regulator-name = "VBUS_5V"; | ||
40 | regulator-min-microvolt = <5000000>; | ||
41 | regulator-max-microvolt = <5000000>; | ||
42 | gpio = <&gph1 1 GPIO_ACTIVE_HIGH>; | ||
43 | pinctrl-names = "default"; | ||
44 | pinctrl-0 = <&usb30_vbus_en>; | ||
45 | enable-active-high; | ||
46 | }; | ||
47 | |||
48 | usb3drd_boost_5v: regulator-usb3drd-boost { | ||
49 | compatible = "regulator-fixed"; | ||
50 | regulator-name = "VUSB_VBUS_5V"; | ||
51 | regulator-min-microvolt = <5000000>; | ||
52 | regulator-max-microvolt = <5000000>; | ||
53 | gpio = <&gpf4 1 GPIO_ACTIVE_HIGH>; | ||
54 | pinctrl-names = "default"; | ||
55 | pinctrl-0 = <&usb3drd_boost_en>; | ||
56 | enable-active-high; | ||
57 | }; | ||
58 | |||
35 | }; | 59 | }; |
36 | 60 | ||
37 | &fin_pll { | 61 | &fin_pll { |
@@ -365,3 +389,24 @@ | |||
365 | vqmmc-supply = <&ldo2_reg>; | 389 | vqmmc-supply = <&ldo2_reg>; |
366 | disable-wp; | 390 | disable-wp; |
367 | }; | 391 | }; |
392 | |||
393 | &pinctrl_bus1 { | ||
394 | usb30_vbus_en: usb30-vbus-en { | ||
395 | samsung,pins = "gph1-1"; | ||
396 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; | ||
397 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | ||
398 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; | ||
399 | }; | ||
400 | |||
401 | usb3drd_boost_en: usb3drd-boost-en { | ||
402 | samsung,pins = "gpf4-1"; | ||
403 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; | ||
404 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | ||
405 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; | ||
406 | }; | ||
407 | }; | ||
408 | |||
409 | &usbdrd_phy { | ||
410 | vbus-supply = <&usb30_vbus_reg>; | ||
411 | vbus-boost-supply = <&usb3drd_boost_5v>; | ||
412 | }; | ||