mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 21:09:00 +09:00
![Jean-Jacques Hiblot](/assets/img/avatar_default.png)
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>
47 lines
585 B
Plaintext
47 lines
585 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
|
|
*/
|
|
|
|
/{
|
|
soc {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
aliases {
|
|
usb0 = &usb;
|
|
usb1 = &usb1;
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&usb_phy {
|
|
#phy-cells = <0>;
|
|
psc-domain = <2>;
|
|
};
|
|
|
|
&usb {
|
|
dwc3@2690000 {
|
|
phys = <&usb_phy>;
|
|
dr_mode = "host";
|
|
snps,u2ss_inp3_quirk;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&usb1_phy {
|
|
#phy-cells = <0>;
|
|
psc-domain = <1>;
|
|
};
|
|
|
|
&usb1 {
|
|
dwc3@25010000 {
|
|
phys = <&usb1_phy>;
|
|
dr_mode = "peripheral";
|
|
snps,u2ss_inp3_quirk;
|
|
status = "okay";
|
|
};
|
|
};
|