The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/usb/mediatek,musb.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 MediaTek musb DRD/OTG controller
    2 -------------------------------------------
    3 
    4 Required properties:
    5  - compatible      : should be one of:
    6                      "mediatek,mt2701-musb"
    7                      ...
    8                      followed by "mediatek,mtk-musb"
    9  - reg             : specifies physical base address and size of
   10                      the registers
   11  - interrupts      : interrupt used by musb controller
   12  - interrupt-names : must be "mc"
   13  - phys            : PHY specifier for the OTG phy
   14  - dr_mode         : should be one of "host", "peripheral" or "otg",
   15                      refer to usb/generic.txt
   16  - clocks          : a list of phandle + clock-specifier pairs, one for
   17                      each entry in clock-names
   18  - clock-names     : must contain "main", "mcu", "univpll"
   19                      for clocks of controller
   20 
   21 Optional properties:
   22  - power-domains   : a phandle to USB power domain node to control USB's
   23                      MTCMOS
   24 
   25 Required child nodes:
   26  usb connector node as defined in bindings/connector/usb-connector.yaml
   27 Optional properties:
   28  - id-gpios        : input GPIO for USB ID pin.
   29  - vbus-gpios      : input GPIO for USB VBUS pin.
   30  - vbus-supply     : reference to the VBUS regulator, needed when supports
   31                      dual-role mode
   32  - usb-role-switch : use USB Role Switch to support dual-role switch, see
   33                      usb/generic.txt.
   34 
   35 Example:
   36 
   37 usb2: usb@11200000 {
   38         compatible = "mediatek,mt2701-musb",
   39                      "mediatek,mtk-musb";
   40         reg = <0 0x11200000 0 0x1000>;
   41         interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
   42         interrupt-names = "mc";
   43         phys = <&u2port2 PHY_TYPE_USB2>;
   44         dr_mode = "otg";
   45         clocks = <&pericfg CLK_PERI_USB0>,
   46                  <&pericfg CLK_PERI_USB0_MCU>,
   47                  <&pericfg CLK_PERI_USB_SLV>;
   48         clock-names = "main","mcu","univpll";
   49         power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>;
   50         usb-role-switch;
   51         connector{
   52                 compatible = "gpio-usb-b-connector", "usb-b-connector";
   53                 type = "micro";
   54                 id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
   55                 vbus-supply = <&usb_vbus>;
   56         };
   57 };

Cache object: d55f3c9561b008285851ae16d1933dd8


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.