diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-11-21 06:57:30 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-11-21 06:57:30 -0500 |
commit | 1bc7f27deeb1ea7773ebf45b5d09e87ad8034f83 (patch) | |
tree | 15822d55c805f9ef4493fd5cf230d481255cb5fb | |
parent | 2dfb8bf3be899a685b7ec8713145e578d3c20f5b (diff) | |
parent | ea7aaa26273431650cb94e712c7c7cfec4306587 (diff) |
Merge tag 'berlin-dt-3.19-2' of git://git.infradead.org/users/hesselba/linux-berlin into next/dt
Pull "Berlin DT changes for v3.19 (round 2)" from Sebastian Hesselbarth:
- AHCI and SATA PHY nodes for BG2
- USB and USB PHZ nodes for BG2/BG2CD/BG2Q
* tag 'berlin-dt-3.19-2' of git://git.infradead.org/users/hesselba/linux-berlin:
ARM: dts: berlin: enable USB on the Google Chromecast
ARM: dts: berlin: add BG2CD nodes for USB support
ARM: dts: Berlin: enable USB on the BG2Q DMP
ARM: dts: berlin: add BG2Q nodes for USB support
ARM: berlin: Enable SATA on Sony NSZ-GS7
ARM: berlin: Add AHCI and SATA PHY nodes to BG2
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 7 | ||||
-rw-r--r-- | arch/arm/boot/dts/berlin2.dtsi | 39 | ||||
-rw-r--r-- | arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/berlin2cd.dtsi | 36 | ||||
-rw-r--r-- | arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 | ||||
-rw-r--r-- | arch/arm/boot/dts/berlin2q.dtsi | 54 |
6 files changed, 193 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts b/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts index 04f391b5c124..86d85d8896a3 100644 --- a/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts +++ b/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | |||
@@ -26,8 +26,15 @@ | |||
26 | }; | 26 | }; |
27 | }; | 27 | }; |
28 | 28 | ||
29 | &ahci { status = "okay"; }; | ||
30 | |||
29 | ð1 { status = "okay"; }; | 31 | ð1 { status = "okay"; }; |
30 | 32 | ||
33 | /* Unpopulated SATA plug on solder side */ | ||
34 | &sata0 { status = "okay"; }; | ||
35 | |||
36 | &sata_phy { status = "okay"; }; | ||
37 | |||
31 | /* Samsung M8G2FA 8GB eMMC */ | 38 | /* Samsung M8G2FA 8GB eMMC */ |
32 | &sdhci2 { | 39 | &sdhci2 { |
33 | non-removable; | 40 | non-removable; |
diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi index 20e7c394a008..015a06c67c91 100644 --- a/arch/arm/boot/dts/berlin2.dtsi +++ b/arch/arm/boot/dts/berlin2.dtsi | |||
@@ -311,6 +311,45 @@ | |||
311 | }; | 311 | }; |
312 | }; | 312 | }; |
313 | 313 | ||
314 | ahci: sata@e90000 { | ||
315 | compatible = "marvell,berlin2-ahci", "generic-ahci"; | ||
316 | reg = <0xe90000 0x1000>; | ||
317 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; | ||
318 | clocks = <&chip CLKID_SATA>; | ||
319 | #address-cells = <1>; | ||
320 | #size-cells = <0>; | ||
321 | |||
322 | sata0: sata-port@0 { | ||
323 | reg = <0>; | ||
324 | phys = <&sata_phy 0>; | ||
325 | status = "disabled"; | ||
326 | }; | ||
327 | |||
328 | sata1: sata-port@1 { | ||
329 | reg = <1>; | ||
330 | phys = <&sata_phy 1>; | ||
331 | status = "disabled"; | ||
332 | }; | ||
333 | }; | ||
334 | |||
335 | sata_phy: phy@e900a0 { | ||
336 | compatible = "marvell,berlin2-sata-phy"; | ||
337 | reg = <0xe900a0 0x200>; | ||
338 | clocks = <&chip CLKID_SATA>; | ||
339 | #address-cells = <1>; | ||
340 | #size-cells = <0>; | ||
341 | #phy-cells = <1>; | ||
342 | status = "disabled"; | ||
343 | |||
344 | sata-phy@0 { | ||
345 | reg = <0>; | ||
346 | }; | ||
347 | |||
348 | sata-phy@1 { | ||
349 | reg = <1>; | ||
350 | }; | ||
351 | }; | ||
352 | |||
314 | chip: chip-control@ea0000 { | 353 | chip: chip-control@ea0000 { |
315 | compatible = "marvell,berlin2-chip-ctrl"; | 354 | compatible = "marvell,berlin2-chip-ctrl"; |
316 | #clock-cells = <1>; | 355 | #clock-cells = <1>; |
diff --git a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts index bdcaff7c321e..30270be4d0c9 100644 --- a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts +++ b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts | |||
@@ -53,3 +53,7 @@ | |||
53 | }; | 53 | }; |
54 | 54 | ||
55 | &uart0 { status = "okay"; }; | 55 | &uart0 { status = "okay"; }; |
56 | |||
57 | &usb_phy1 { status = "okay"; }; | ||
58 | |||
59 | &usb1 { status = "okay"; }; | ||
diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi index 9e338ff80fd3..230df3b1770e 100644 --- a/arch/arm/boot/dts/berlin2cd.dtsi +++ b/arch/arm/boot/dts/berlin2cd.dtsi | |||
@@ -75,6 +75,22 @@ | |||
75 | clocks = <&chip CLKID_TWD>; | 75 | clocks = <&chip CLKID_TWD>; |
76 | }; | 76 | }; |
77 | 77 | ||
78 | usb_phy0: usb-phy@b74000 { | ||
79 | compatible = "marvell,berlin2cd-usb-phy"; | ||
80 | reg = <0xb74000 0x128>; | ||
81 | #phy-cells = <0>; | ||
82 | resets = <&chip 0x178 23>; | ||
83 | status = "disabled"; | ||
84 | }; | ||
85 | |||
86 | usb_phy1: usb-phy@b78000 { | ||
87 | compatible = "marvell,berlin2cd-usb-phy"; | ||
88 | reg = <0xb78000 0x128>; | ||
89 | #phy-cells = <0>; | ||
90 | resets = <&chip 0x178 24>; | ||
91 | status = "disabled"; | ||
92 | }; | ||
93 | |||
78 | eth1: ethernet@b90000 { | 94 | eth1: ethernet@b90000 { |
79 | compatible = "marvell,pxa168-eth"; | 95 | compatible = "marvell,pxa168-eth"; |
80 | reg = <0xb90000 0x10000>; | 96 | reg = <0xb90000 0x10000>; |
@@ -287,6 +303,26 @@ | |||
287 | }; | 303 | }; |
288 | }; | 304 | }; |
289 | 305 | ||
306 | usb0: usb@ed0000 { | ||
307 | compatible = "chipidea,usb2"; | ||
308 | reg = <0xed0000 0x200>; | ||
309 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; | ||
310 | clocks = <&chip CLKID_USB0>; | ||
311 | phys = <&usb_phy0>; | ||
312 | phy-names = "usb-phy"; | ||
313 | status = "disabled"; | ||
314 | }; | ||
315 | |||
316 | usb1: usb@ee0000 { | ||
317 | compatible = "chipidea,usb2"; | ||
318 | reg = <0xee0000 0x200>; | ||
319 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; | ||
320 | clocks = <&chip CLKID_USB1>; | ||
321 | phys = <&usb_phy1>; | ||
322 | phy-names = "usb-phy"; | ||
323 | status = "disabled"; | ||
324 | }; | ||
325 | |||
290 | apb@fc0000 { | 326 | apb@fc0000 { |
291 | compatible = "simple-bus"; | 327 | compatible = "simple-bus"; |
292 | #address-cells = <1>; | 328 | #address-cells = <1>; |
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 | }; |
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index a35deb37ffb5..35253c947a7c 100644 --- a/arch/arm/boot/dts/berlin2q.dtsi +++ b/arch/arm/boot/dts/berlin2q.dtsi | |||
@@ -114,6 +114,40 @@ | |||
114 | #interrupt-cells = <3>; | 114 | #interrupt-cells = <3>; |
115 | }; | 115 | }; |
116 | 116 | ||
117 | usb_phy2: phy@a2f400 { | ||
118 | compatible = "marvell,berlin2-usb-phy"; | ||
119 | reg = <0xa2f400 0x128>; | ||
120 | #phy-cells = <0>; | ||
121 | resets = <&chip 0x104 14>; | ||
122 | status = "disabled"; | ||
123 | }; | ||
124 | |||
125 | usb2: usb@a30000 { | ||
126 | compatible = "chipidea,usb2"; | ||
127 | reg = <0xa30000 0x10000>; | ||
128 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; | ||
129 | clocks = <&chip CLKID_USB2>; | ||
130 | phys = <&usb_phy2>; | ||
131 | phy-names = "usb-phy"; | ||
132 | status = "disabled"; | ||
133 | }; | ||
134 | |||
135 | usb_phy0: phy@b74000 { | ||
136 | compatible = "marvell,berlin2-usb-phy"; | ||
137 | reg = <0xb74000 0x128>; | ||
138 | #phy-cells = <0>; | ||
139 | resets = <&chip 0x104 12>; | ||
140 | status = "disabled"; | ||
141 | }; | ||
142 | |||
143 | usb_phy1: phy@b78000 { | ||
144 | compatible = "marvell,berlin2-usb-phy"; | ||
145 | reg = <0xb78000 0x128>; | ||
146 | #phy-cells = <0>; | ||
147 | resets = <&chip 0x104 13>; | ||
148 | status = "disabled"; | ||
149 | }; | ||
150 | |||
117 | eth0: ethernet@b90000 { | 151 | eth0: ethernet@b90000 { |
118 | compatible = "marvell,pxa168-eth"; | 152 | compatible = "marvell,pxa168-eth"; |
119 | reg = <0xb90000 0x10000>; | 153 | reg = <0xb90000 0x10000>; |
@@ -404,6 +438,26 @@ | |||
404 | }; | 438 | }; |
405 | }; | 439 | }; |
406 | 440 | ||
441 | usb0: usb@ed0000 { | ||
442 | compatible = "chipidea,usb2"; | ||
443 | reg = <0xed0000 0x10000>; | ||
444 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; | ||
445 | clocks = <&chip CLKID_USB0>; | ||
446 | phys = <&usb_phy0>; | ||
447 | phy-names = "usb-phy"; | ||
448 | status = "disabled"; | ||
449 | }; | ||
450 | |||
451 | usb1: usb@ee0000 { | ||
452 | compatible = "chipidea,usb2"; | ||
453 | reg = <0xee0000 0x10000>; | ||
454 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; | ||
455 | clocks = <&chip CLKID_USB1>; | ||
456 | phys = <&usb_phy1>; | ||
457 | phy-names = "usb-phy"; | ||
458 | status = "disabled"; | ||
459 | }; | ||
460 | |||
407 | apb@fc0000 { | 461 | apb@fc0000 { |
408 | compatible = "simple-bus"; | 462 | compatible = "simple-bus"; |
409 | #address-cells = <1>; | 463 | #address-cells = <1>; |