Commit 1f1e5122 authored by Bhupesh Sharma's avatar Bhupesh Sharma Committed by Bjorn Andersson

arm64: dts: qcom: sm6115: Move USB node's 'maximum-speed' and 'dr_mode' properties to dts

Normally the 'maximum-speed' and 'dr_mode' properties
of a USB controller + port is dependent on the type of
the ports, regulators and mode change interrupt routing
available on the board(s).

So, move the same from the sm6115 dtsi file to respective
board file(s).
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBhupesh Sharma <bhupesh.sharma@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230314083633.1882214-3-bhupesh.sharma@linaro.org
parent 0ea0edc0
...@@ -229,6 +229,11 @@ &usb { ...@@ -229,6 +229,11 @@ &usb {
status = "okay"; status = "okay";
}; };
&usb_dwc3 {
maximum-speed = "high-speed";
dr_mode = "peripheral";
};
&usb_hsphy { &usb_hsphy {
vdd-supply = <&vreg_l4a>; vdd-supply = <&vreg_l4a>;
vdda-pll-supply = <&vreg_l12a>; vdda-pll-supply = <&vreg_l12a>;
......
...@@ -1129,8 +1129,6 @@ usb_dwc3: usb@4e00000 { ...@@ -1129,8 +1129,6 @@ usb_dwc3: usb@4e00000 {
snps,has-lpm-erratum; snps,has-lpm-erratum;
snps,hird-threshold = /bits/ 8 <0x10>; snps,hird-threshold = /bits/ 8 <0x10>;
snps,usb3_lpm_capable; snps,usb3_lpm_capable;
maximum-speed = "high-speed";
dr_mode = "peripheral";
}; };
}; };
......
...@@ -277,6 +277,11 @@ &usb { ...@@ -277,6 +277,11 @@ &usb {
status = "okay"; status = "okay";
}; };
&usb_dwc3 {
maximum-speed = "high-speed";
dr_mode = "peripheral";
};
&usb_hsphy { &usb_hsphy {
vdd-supply = <&pm6125_l4>; vdd-supply = <&pm6125_l4>;
vdda-pll-supply = <&pm6125_l12>; vdda-pll-supply = <&pm6125_l12>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment