[PATCH v3 06/13] arm64: dts: qcom: shikra: enable USB device mode on CQS & IQS EVK

Aswin Murugan via U-Boot <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot.general,gmane.comp.boot-loaders.u-boot
Message-ID <[email protected]>
Enable the USB2 high-speed PHY and USB controller on the Shikra
CQS & IQS EVK platform.

Configure the controller in peripheral mode to allow USB gadget
functionality under U-Boot.

Signed-off-by: Aswin Murugan <[email protected]>
---
 arch/arm/dts/shikra-cqs-evk-u-boot.dtsi | 10 ++++++++++
 arch/arm/dts/shikra-iqs-evk-u-boot.dtsi | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi b/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi
index c0c2e64e457..301cf6b62c9 100644
--- a/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi
+++ b/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi
@@ -6,3 +6,13 @@
 &rng {
 	status = "disabled";
 };
+
+&usb_1_hsphy {
+	status = "okay";
+};
+
+&usb_1 {
+	dr_mode = "peripheral";
+
+	status = "okay";
+};
diff --git a/arch/arm/dts/shikra-iqs-evk-u-boot.dtsi b/arch/arm/dts/shikra-iqs-evk-u-boot.dtsi
index c0c2e64e457..301cf6b62c9 100644
--- a/arch/arm/dts/shikra-iqs-evk-u-boot.dtsi
+++ b/arch/arm/dts/shikra-iqs-evk-u-boot.dtsi
@@ -6,3 +6,13 @@
 &rng {
 	status = "disabled";
 };
+
+&usb_1_hsphy {
+	status = "okay";
+};
+
+&usb_1 {
+	dr_mode = "peripheral";
+
+	status = "okay";
+};
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.