Skip to content

Commit 14d15fc

Browse files
andredkrzk
authored andcommitted
arm64: dts: exynos: gs101: add USB & USB-phy nodes
Add the USB 3.1 Dual Role Device (DRD) controller and USB-PHY nodes for Google Tensor GS101. The USB 3.1 DRD controller has the following features: * compliant with both USB device 3.1 and USB device 2.0 standards * compliant with USB host 3.1 and USB host 2.0 standards * supports USB device 3.1 and USB device 2.0 interfaces * supports USB host 3.1 and USB host 2.0 interfaces * full-speed (12 Mbps) and high-speed (480 Mbps) modes with USB device 2.0 interface * super-speed (5 Gbps) mode with USB device 3.1 Gen1 interface * super-speed plus (10 Gbps) mode with USB device 3.1 Gen2 interface * single USB port which can be used for USB 3.1 or USB 2.0 * on-chip USB PHY transceiver * DWC3 compatible * supports up to 16 bi-directional endpoints * compliant with xHCI 1.1 specification Signed-off-by: André Draszik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 86124c7 commit 14d15fc

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

arch/arm64/boot/dts/exynos/google/gs101.dtsi

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,47 @@
12611261
"usbdpdbg";
12621262
};
12631263

1264+
usbdrd31_phy: phy@11100000 {
1265+
compatible = "google,gs101-usb31drd-phy";
1266+
reg = <0x11100000 0x0100>,
1267+
<0x110f0000 0x0800>,
1268+
<0x110e0000 0x2800>;
1269+
reg-names = "phy", "pcs", "pma";
1270+
clocks = <&cmu_hsi0 CLK_GOUT_HSI0_USB31DRD_ACLK_PHYCTRL>,
1271+
<&cmu_hsi0 CLK_GOUT_HSI0_USB31DRD_I_USB20_PHY_REFCLK_26>,
1272+
<&cmu_hsi0 CLK_GOUT_HSI0_UASC_HSI0_CTRL_ACLK>,
1273+
<&cmu_hsi0 CLK_GOUT_HSI0_UASC_HSI0_CTRL_PCLK>,
1274+
<&cmu_hsi0 CLK_GOUT_HSI0_USB31DRD_I_USBDPPHY_SCL_APB_PCLK>;
1275+
clock-names = "phy", "ref", "ctrl_aclk", "ctrl_pclk", "scl_pclk";
1276+
samsung,pmu-syscon = <&pmu_system_controller>;
1277+
#phy-cells = <1>;
1278+
status = "disabled";
1279+
};
1280+
1281+
usbdrd31: usb@11110000 {
1282+
compatible = "google,gs101-dwusb3";
1283+
clocks = <&cmu_hsi0 CLK_GOUT_HSI0_USB31DRD_BUS_CLK_EARLY>,
1284+
<&cmu_hsi0 CLK_GOUT_HSI0_USB31DRD_I_USB31DRD_SUSPEND_CLK_26>,
1285+
<&cmu_hsi0 CLK_GOUT_HSI0_UASC_HSI0_LINK_ACLK>,
1286+
<&cmu_hsi0 CLK_GOUT_HSI0_UASC_HSI0_LINK_PCLK>;
1287+
clock-names = "bus_early", "susp_clk", "link_aclk", "link_pclk";
1288+
#address-cells = <1>;
1289+
#size-cells = <1>;
1290+
ranges = <0x0 0x11110000 0x10000>;
1291+
status = "disabled";
1292+
1293+
usbdrd31_dwc3: usb@0 {
1294+
compatible = "snps,dwc3";
1295+
clocks = <&cmu_hsi0 CLK_GOUT_HSI0_USB31DRD_I_USB31DRD_REF_CLK_40>;
1296+
clock-names = "ref";
1297+
reg = <0x0 0x10000>;
1298+
interrupts = <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH 0>;
1299+
phys = <&usbdrd31_phy 0>, <&usbdrd31_phy 1>;
1300+
phy-names = "usb2-phy", "usb3-phy";
1301+
status = "disabled";
1302+
};
1303+
};
1304+
12641305
pinctrl_hsi1: pinctrl@11840000 {
12651306
compatible = "google,gs101-pinctrl";
12661307
reg = <0x11840000 0x00001000>;

0 commit comments

Comments
 (0)