* [PATCH 1/3] ARM: dts: socfpga: disable over-current for Arria10 USB devkit
@ 2017-12-01 17:43 Dinh Nguyen
2017-12-01 17:43 ` [PATCH 2/3] arm64: dts: stratix10: remove phy node for usb Dinh Nguyen
2017-12-01 17:43 ` [PATCH 3/3] arm64: dts: stratix10: enable USB on the devkit Dinh Nguyen
0 siblings, 2 replies; 3+ messages in thread
From: Dinh Nguyen @ 2017-12-01 17:43 UTC (permalink / raw)
To: linux-arm-kernel
The USB host functionality on the Arria10 needs the disable-over-current
property.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
index 3a32de9..64cc86a 100644
--- a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
+++ b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
@@ -163,6 +163,7 @@
&usb0 {
status = "okay";
+ disable-over-current;
};
&watchdog1 {
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] arm64: dts: stratix10: remove phy node for usb
2017-12-01 17:43 [PATCH 1/3] ARM: dts: socfpga: disable over-current for Arria10 USB devkit Dinh Nguyen
@ 2017-12-01 17:43 ` Dinh Nguyen
2017-12-01 17:43 ` [PATCH 3/3] arm64: dts: stratix10: enable USB on the devkit Dinh Nguyen
1 sibling, 0 replies; 3+ messages in thread
From: Dinh Nguyen @ 2017-12-01 17:43 UTC (permalink / raw)
To: linux-arm-kernel
The PHY entry for the USB nodes is not needed for the Stratix10 platform.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 7c9bdc7..11ce068 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -323,18 +323,10 @@
status = "disabled";
};
- usbphy0: usbphy at 0 {
- #phy-cells = <0>;
- compatible = "usb-nop-xceiv";
- status = "okay";
- };
-
usb0: usb at ffb00000 {
compatible = "snps,dwc2";
reg = <0xffb00000 0x40000>;
interrupts = <0 93 4>;
- phys = <&usbphy0>;
- phy-names = "usb2-phy";
resets = <&rst USB0_RESET>;
reset-names = "dwc2";
status = "disabled";
@@ -344,8 +336,6 @@
compatible = "snps,dwc2";
reg = <0xffb40000 0x40000>;
interrupts = <0 94 4>;
- phys = <&usbphy0>;
- phy-names = "usb2-phy";
resets = <&rst USB1_RESET>;
reset-names = "dwc2";
status = "disabled";
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] arm64: dts: stratix10: enable USB on the devkit
2017-12-01 17:43 [PATCH 1/3] ARM: dts: socfpga: disable over-current for Arria10 USB devkit Dinh Nguyen
2017-12-01 17:43 ` [PATCH 2/3] arm64: dts: stratix10: remove phy node for usb Dinh Nguyen
@ 2017-12-01 17:43 ` Dinh Nguyen
1 sibling, 0 replies; 3+ messages in thread
From: Dinh Nguyen @ 2017-12-01 17:43 UTC (permalink / raw)
To: linux-arm-kernel
Enable USB on the Stratix10 devkit.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index a37c461..0007564 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -97,3 +97,7 @@
&uart0 {
status = "okay";
};
+
+&usb0 {
+ status = "okay";
+};
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-01 17:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 17:43 [PATCH 1/3] ARM: dts: socfpga: disable over-current for Arria10 USB devkit Dinh Nguyen
2017-12-01 17:43 ` [PATCH 2/3] arm64: dts: stratix10: remove phy node for usb Dinh Nguyen
2017-12-01 17:43 ` [PATCH 3/3] arm64: dts: stratix10: enable USB on the devkit Dinh Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).