mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 04:09:18 -04:00
arm64: dts: renesas: r8a7795: salvator-xs: enable usb2_phy3 node
This patch enables usb2_phy3 node for r8a7795 with Salvator-XS. You must change the SW31 to OFF-OFF-ON-ON-ON-ON on the board. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
committed by
Simon Horman
parent
99b1eb0f62
commit
cd49f631dd
@@ -145,6 +145,23 @@ usb2_pins: usb2 {
|
||||
groups = "usb2";
|
||||
function = "usb2";
|
||||
};
|
||||
|
||||
/*
|
||||
* - On Salvator-X[S], GP6_3[01] are connected to ADV7482 as irq pins
|
||||
* (when SW31 is the default setting on Salvator-XS).
|
||||
* - If SW31 is the default setting, you cannot use USB2.0 ch3 on
|
||||
* r8a7795 with Salvator-XS.
|
||||
* Hence the SW31 setting must be changed like 2) below.
|
||||
* 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF:
|
||||
* - Connect GP6_3[01] to ADV7842.
|
||||
* 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON:
|
||||
* - Connect GP6_3[01] to BD082065 (USB2.0 ch3's host power).
|
||||
* - Connect GP6_{04,21} to ADV7842.
|
||||
*/
|
||||
usb2_ch3_pins: usb2_ch3 {
|
||||
groups = "usb2_ch3";
|
||||
function = "usb2_ch3";
|
||||
};
|
||||
};
|
||||
|
||||
&usb2_phy2 {
|
||||
@@ -153,3 +170,10 @@ &usb2_phy2 {
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb2_phy3 {
|
||||
pinctrl-0 = <&usb2_ch3_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user