Commit 78830364b8e0ef2f6de59e21252efdadb4b77763
Committed by
Marek Vasut
1 parent
2e1d8cfaf1
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
ARM: DTS: keystone: complete the description of the USB PHY devices
As the PHY driver now handles the transitions of USB power domain, we must add this information in the node of each PHY. Also, the phy are expected in the "phys" property, not "usb-phys". Also add the aliases for the USB ports on boards with more than a single port. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Showing 4 changed files with 92 additions and 0 deletions Side-by-side Diff
arch/arm/dts/keystone-k2e-evm-u-boot.dtsi
... | ... | @@ -7,9 +7,41 @@ |
7 | 7 | soc { |
8 | 8 | u-boot,dm-pre-reloc; |
9 | 9 | }; |
10 | + aliases { | |
11 | + usb0 = &usb; | |
12 | + usb1 = &usb1; | |
13 | + }; | |
10 | 14 | }; |
11 | 15 | |
12 | 16 | &i2c1 { |
13 | 17 | u-boot,dm-pre-reloc; |
18 | +}; | |
19 | + | |
20 | +&usb_phy { | |
21 | + #phy-cells = <0>; | |
22 | + psc-domain = <2>; | |
23 | +}; | |
24 | + | |
25 | +&usb { | |
26 | + dwc3@2690000 { | |
27 | + phys = <&usb_phy>; | |
28 | + dr_mode = "host"; | |
29 | + snps,u2ss_inp3_quirk; | |
30 | + status = "okay"; | |
31 | + }; | |
32 | +}; | |
33 | + | |
34 | +&usb1_phy { | |
35 | + #phy-cells = <0>; | |
36 | + psc-domain = <1>; | |
37 | +}; | |
38 | + | |
39 | +&usb1 { | |
40 | + dwc3@25010000 { | |
41 | + phys = <&usb1_phy>; | |
42 | + dr_mode = "peripheral"; | |
43 | + snps,u2ss_inp3_quirk; | |
44 | + status = "okay"; | |
45 | + }; | |
14 | 46 | }; |
arch/arm/dts/keystone-k2g-evm-u-boot.dtsi
... | ... | @@ -7,6 +7,10 @@ |
7 | 7 | soc { |
8 | 8 | u-boot,dm-pre-reloc; |
9 | 9 | }; |
10 | + aliases { | |
11 | + usb0 = &usb0; | |
12 | + usb1 = &usb1; | |
13 | + }; | |
10 | 14 | }; |
11 | 15 | |
12 | 16 | &i2c0 { |
... | ... | @@ -15,5 +19,29 @@ |
15 | 19 | |
16 | 20 | &i2c1 { |
17 | 21 | u-boot,dm-pre-reloc; |
22 | +}; | |
23 | + | |
24 | +&usb0_phy { | |
25 | + compatible = "ti,keystone-usbphy"; | |
26 | + #phy-cells = <0>; | |
27 | + reg = <0x2620738 24>; | |
28 | + psc-domain = <25>; | |
29 | +}; | |
30 | + | |
31 | +&usb0 { | |
32 | + phys = <&usb0_phy>; | |
33 | + snps,u2ss_inp3_quirk; | |
34 | +}; | |
35 | + | |
36 | +&usb1_phy { | |
37 | + compatible = "ti,keystone-usbphy"; | |
38 | + #phy-cells = <0>; | |
39 | + reg = <0x2620750 24>; | |
40 | + psc-domain = <26>; | |
41 | +}; | |
42 | + | |
43 | +&usb1 { | |
44 | + phys = <&usb1_phy>; | |
45 | + snps,u2ss_inp3_quirk; | |
18 | 46 | }; |
arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi
arch/arm/dts/keystone-k2l-evm-u-boot.dtsi
1 | +// SPDX-License-Identifier: GPL-2.0+ | |
2 | +/* | |
3 | + * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ | |
4 | + */ | |
5 | + | |
6 | +&usb_phy { | |
7 | + #phy-cells = <0>; | |
8 | + psc-domain = <2>; | |
9 | +}; | |
10 | + | |
11 | +&usb { | |
12 | + dwc3@2690000 { | |
13 | + phys = <&usb_phy>; | |
14 | + dr_mode = "host"; | |
15 | + snps,u2ss_inp3_quirk; | |
16 | + status = "okay"; | |
17 | + }; | |
18 | +}; |