diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2014-11-17 08:35:45 -0500 |
---|---|---|
committer | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-11-18 14:32:07 -0500 |
commit | fe354939edffe1f2579b4b372bad44e72bd9a9b3 (patch) | |
tree | 26399dd1f984f9c18d48ca01afa4af584d492580 /arch/arm/boot/dts/berlin2q-marvell-dmp.dts | |
parent | c539711ee79f997b0cdc136382167963932461b8 (diff) |
ARM: dts: Berlin: enable USB on the BG2Q DMP
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q
DMP.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/berlin2q-marvell-dmp.dts')
-rw-r--r-- | arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts index a403b0a5ba91..28e7e2060c33 100644 --- a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts +++ b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts | |||
@@ -7,6 +7,8 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /dts-v1/; | 9 | /dts-v1/; |
10 | |||
11 | #include <dt-bindings/gpio/gpio.h> | ||
10 | #include "berlin2q.dtsi" | 12 | #include "berlin2q.dtsi" |
11 | 13 | ||
12 | / { | 14 | / { |
@@ -21,6 +23,39 @@ | |||
21 | choosen { | 23 | choosen { |
22 | bootargs = "console=ttyS0,115200 earlyprintk"; | 24 | bootargs = "console=ttyS0,115200 earlyprintk"; |
23 | }; | 25 | }; |
26 | |||
27 | regulators { | ||
28 | compatible = "simple-bus"; | ||
29 | #address-cells = <1>; | ||
30 | #size-cells = <0>; | ||
31 | |||
32 | reg_usb0_vbus: regulator@0 { | ||
33 | compatible = "regulator-fixed"; | ||
34 | regulator-name = "usb0_vbus"; | ||
35 | regulator-min-microvolt = <5000000>; | ||
36 | regulator-max-microvolt = <5000000>; | ||
37 | gpio = <&portb 8 GPIO_ACTIVE_HIGH>; | ||
38 | enable-active-high; | ||
39 | }; | ||
40 | |||
41 | reg_usb1_vbus: regulator@1 { | ||
42 | compatible = "regulator-fixed"; | ||
43 | regulator-name = "usb1_vbus"; | ||
44 | regulator-min-microvolt = <5000000>; | ||
45 | regulator-max-microvolt = <5000000>; | ||
46 | gpio = <&portb 10 GPIO_ACTIVE_HIGH>; | ||
47 | enable-active-high; | ||
48 | }; | ||
49 | |||
50 | reg_usb2_vbus: regulator@2 { | ||
51 | compatible = "regulator-fixed"; | ||
52 | regulator-name = "usb2_vbus"; | ||
53 | regulator-min-microvolt = <5000000>; | ||
54 | regulator-max-microvolt = <5000000>; | ||
55 | gpio = <&portb 12 GPIO_ACTIVE_HIGH>; | ||
56 | enable-active-high; | ||
57 | }; | ||
58 | }; | ||
24 | }; | 59 | }; |
25 | 60 | ||
26 | &sdhci1 { | 61 | &sdhci1 { |
@@ -46,6 +81,24 @@ | |||
46 | status = "okay"; | 81 | status = "okay"; |
47 | }; | 82 | }; |
48 | 83 | ||
84 | &usb_phy0 { | ||
85 | status = "okay"; | ||
86 | }; | ||
87 | |||
88 | &usb_phy2 { | ||
89 | status = "okay"; | ||
90 | }; | ||
91 | |||
92 | &usb0 { | ||
93 | vbus-supply = <®_usb0_vbus>; | ||
94 | status = "okay"; | ||
95 | }; | ||
96 | |||
97 | &usb2 { | ||
98 | vbus-supply = <®_usb2_vbus>; | ||
99 | status = "okay"; | ||
100 | }; | ||
101 | |||
49 | ð0 { | 102 | ð0 { |
50 | status = "okay"; | 103 | status = "okay"; |
51 | }; | 104 | }; |