diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2018-10-02 07:12:00 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-03 20:41:05 -0400 |
commit | 8bb2f53203a3925799cd4b557069be662413ac0b (patch) | |
tree | e0e97d732870cadeec372a18b716d5d0e023604e | |
parent | 45be1573ad1916bde112cc4d168ffa48a18e9b4e (diff) |
ARM: dts: uniphier: Add USB2 PHY nodes
Add nodes of USB2 physical layer for UniPhier SoC. This supports Pro4.
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/arm/boot/dts/uniphier-pro4.dtsi | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/uniphier-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi index bcd2e40cb4f6..0beb606cf3c8 100644 --- a/arch/arm/boot/dts/uniphier-pro4.dtsi +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi | |||
@@ -328,6 +328,8 @@ | |||
328 | <&mio_clk 12>; | 328 | <&mio_clk 12>; |
329 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, | 329 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
330 | <&mio_rst 12>; | 330 | <&mio_rst 12>; |
331 | phy-names = "usb"; | ||
332 | phys = <&usb_phy0>; | ||
331 | has-transaction-translator; | 333 | has-transaction-translator; |
332 | }; | 334 | }; |
333 | 335 | ||
@@ -342,6 +344,8 @@ | |||
342 | <&mio_clk 13>; | 344 | <&mio_clk 13>; |
343 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, | 345 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
344 | <&mio_rst 13>; | 346 | <&mio_rst 13>; |
347 | phy-names = "usb"; | ||
348 | phys = <&usb_phy1>; | ||
345 | has-transaction-translator; | 349 | has-transaction-translator; |
346 | }; | 350 | }; |
347 | 351 | ||
@@ -353,6 +357,34 @@ | |||
353 | pinctrl: pinctrl { | 357 | pinctrl: pinctrl { |
354 | compatible = "socionext,uniphier-pro4-pinctrl"; | 358 | compatible = "socionext,uniphier-pro4-pinctrl"; |
355 | }; | 359 | }; |
360 | |||
361 | usb-phy { | ||
362 | compatible = "socionext,uniphier-pro4-usb2-phy"; | ||
363 | #address-cells = <1>; | ||
364 | #size-cells = <0>; | ||
365 | |||
366 | usb_phy0: phy@0 { | ||
367 | reg = <0>; | ||
368 | #phy-cells = <0>; | ||
369 | }; | ||
370 | |||
371 | usb_phy1: phy@1 { | ||
372 | reg = <1>; | ||
373 | #phy-cells = <0>; | ||
374 | }; | ||
375 | |||
376 | usb_phy2: phy@2 { | ||
377 | reg = <2>; | ||
378 | #phy-cells = <0>; | ||
379 | vbus-supply = <&usb0_vbus>; | ||
380 | }; | ||
381 | |||
382 | usb_phy3: phy@3 { | ||
383 | reg = <3>; | ||
384 | #phy-cells = <0>; | ||
385 | vbus-supply = <&usb1_vbus>; | ||
386 | }; | ||
387 | }; | ||
356 | }; | 388 | }; |
357 | 389 | ||
358 | soc-glue@5f900000 { | 390 | soc-glue@5f900000 { |
@@ -456,7 +488,7 @@ | |||
456 | clock-names = "ref", "bus_early", "suspend"; | 488 | clock-names = "ref", "bus_early", "suspend"; |
457 | clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>; | 489 | clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>; |
458 | resets = <&usb0_rst 4>; | 490 | resets = <&usb0_rst 4>; |
459 | phys = <&usb0_ssphy>; | 491 | phys = <&usb_phy2>, <&usb0_ssphy>; |
460 | dr_mode = "host"; | 492 | dr_mode = "host"; |
461 | }; | 493 | }; |
462 | 494 | ||
@@ -509,6 +541,7 @@ | |||
509 | clock-names = "ref", "bus_early", "suspend"; | 541 | clock-names = "ref", "bus_early", "suspend"; |
510 | clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>; | 542 | clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>; |
511 | resets = <&usb1_rst 4>; | 543 | resets = <&usb1_rst 4>; |
544 | phys = <&usb_phy3>; | ||
512 | dr_mode = "host"; | 545 | dr_mode = "host"; |
513 | }; | 546 | }; |
514 | 547 | ||