mirror of
https://github.com/armbian/build.git
synced 2025-08-09 12:46:58 +02:00
I have changed the way the patches are generated a bit. Instead of using orange-pi branch from megous tree for 6.6 kernel, I have used the following kernel branches a83t-suspend, af8133j, anx, audio, axp, cam, drm, err, fixes, mbus, modem, opi3, pb, pinetab, pp, ppkb, samuel, speed, tbs-a711, ths These branches were carefully chosen to include only allwinner related patches and remove importing of the rockchip related patches into the allwinner kernel. Following patches are modified to fix patch application failure - patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-reg_usb1_vbus-status-ok.patch - patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-Enable-GPU-mali.patch - patches.armbian/arm64-dts-allwinner-h616-Add-efuse_xlate-cpu-frequency-scaling-v1_6_2.patch - patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch - patches.armbian/arm64-dts-allwinner-overlay-Add-Overlays-for-sunxi64.patch - patches.armbian/arm64-dts-sun50i-h616-bigtreetech-cb1.patch Following patches are modified because of kernel api change to fix compilation failure - patches.armbian/drv-gpu-drm-sun4i-Add-HDMI-audio-sun4i-hdmi-encoder.patch - patches.armbian/drv-of-Device-Tree-Overlay-ConfigFS-interface.patch
63 lines
2.0 KiB
Diff
63 lines
2.0 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Icenowy Zheng <icenowy@aosc.io>
|
|
Date: Mon, 25 Dec 2017 12:08:01 +0800
|
|
Subject: Doc:dt-bindings:usb: add binding for DWC3 controller on Allwinner SoC
|
|
|
|
The Allwinner H6 SoC uses DWC3 controller for USB3.
|
|
|
|
Add its device tree binding document.
|
|
|
|
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
|
---
|
|
Documentation/devicetree/bindings/usb/allwinner,dwc3.txt | 39 ++++++++++
|
|
1 file changed, 39 insertions(+)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/usb/allwinner,dwc3.txt b/Documentation/devicetree/bindings/usb/allwinner,dwc3.txt
|
|
new file mode 100644
|
|
index 000000000000..3f7714636785
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/usb/allwinner,dwc3.txt
|
|
@@ -0,0 +1,39 @@
|
|
+Allwinner SuperSpeed DWC3 USB SoC controller
|
|
+
|
|
+Required properties:
|
|
+- compatible: should contain "allwinner,sun50i-h6-dwc3" for H6 SoC
|
|
+- clocks: A list of phandle + clock-specifier pairs for the
|
|
+ clocks listed in clock-names
|
|
+- clock-names: Should contain the following:
|
|
+ "bus" The bus clock of the DWC3 part
|
|
+- resets: A list of phandle + reset-specifier pairs for the
|
|
+ resets listed in reset-names
|
|
+- reset-names: Should contain the following:
|
|
+ "bus" The bus reset of the DWC3 part
|
|
+
|
|
+Required child node:
|
|
+A child node must exist to represent the core DWC3 IP block. The name of
|
|
+the node is not important. The content of the node is defined in dwc3.txt.
|
|
+
|
|
+Phy documentation is provided in the following places:
|
|
+Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt
|
|
+
|
|
+Example device nodes:
|
|
+ usb3: usb@5200000 {
|
|
+ compatible = "allwinner,sun50i-h6-dwc3";
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+ ranges;
|
|
+ clocks = <&ccu CLK_BUS_XHCI>;
|
|
+ clock-names = "bus";
|
|
+ resets = <&ccu RST_BUS_XHCI>;
|
|
+ reset-names = "bus";
|
|
+
|
|
+ dwc3: dwc3 {
|
|
+ compatible = "snps,dwc3";
|
|
+ reg = <0x5200000 0x10000>;
|
|
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ phys = <&usb3phy>;
|
|
+ phy-names = "usb3-phy";
|
|
+ };
|
|
+ };
|
|
--
|
|
Armbian
|
|
|