ESWIN EIC7700 SoC Usb Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/eswin,eic7700-usb.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Wei Yang <yangwei1@eswincomputing.com>", "Senchuan Zhang <zhangsenchuan@eswincomputing.com>", "Hang Cao <caohang@eswincomputing.com>"

The Usb controller on EIC7700 SoC.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): snps,dwc3-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "eswin,eic7700-dwc3"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "peripheral"

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aclk"

Item 2

Exact value (const): "cfg"

Item 3

Exact value (const): "usb_en"

resets — required here #

Maximum number of items (maxItems): 2

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vaux"

Item 2

Exact value (const): "usb_rst"

eswin,hsp-sp-csr — required here #

HSP CSR is to control and get status of different high-speed peripherals (such as Ethernet, USB, SATA, etc.) via register, which can tune board-level's parameters of PHY, etc.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to HSP Register Controller hsp_sp_csr node.

Item 2

USB bus register offset.

Item 3

AXI low power register offset.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "interrupt-names", "resets", "reset-names", "eswin,hsp-sp-csr"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

usb@50480000 {
    compatible = "eswin,eic7700-dwc3";
    reg = <0x50480000 0x10000>;
    clocks = <&clock 135>,
             <&clock 136>,
             <&hspcrg 18>;
    clock-names = "aclk", "cfg", "usb_en";
    interrupt-parent = <&plic>;
    interrupts = <85>;
    interrupt-names = "peripheral";
    resets = <&reset 84>, <&hspcrg 2>;
    reset-names = "vaux", "usb_rst";
    dr_mode = "peripheral";
    maximum-speed = "high-speed";
    phy_type = "utmi";
    eswin,hsp-sp-csr = <&hsp_sp_csr 0x800 0x818>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page