~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/omap-usb-host.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/mfd/omap-usb-host.txt (Architecture mips) and /Documentation/devicetree/bindings/mfd/omap-usb-host.txt (Architecture m68k)


  1 OMAP HS USB Host                                    1 OMAP HS USB Host
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4                                                     4 
  5 - compatible: should be "ti,usbhs-host"             5 - compatible: should be "ti,usbhs-host"
  6 - reg: should contain one register range i.e.       6 - reg: should contain one register range i.e. start and length
  7 - ti,hwmods: must contain "usb_host_hs"             7 - ti,hwmods: must contain "usb_host_hs"
  8                                                     8 
  9 Optional properties:                                9 Optional properties:
 10                                                    10 
 11 - num-ports: number of USB ports. Usually this     11 - num-ports: number of USB ports. Usually this is automatically detected
 12   from the IP's revision register but can be o     12   from the IP's revision register but can be overridden by specifying
 13   this property. A maximum of 3 ports are supp     13   this property. A maximum of 3 ports are supported at the moment.
 14                                                    14 
 15 - portN-mode: String specifying the port mode      15 - portN-mode: String specifying the port mode for port N, where N can be
 16   from 1 to 3. If the port mode is not specifi     16   from 1 to 3. If the port mode is not specified, that port is treated
 17   as unused. When specified, it must be one of     17   as unused. When specified, it must be one of the following.
 18         "ehci-phy",                                18         "ehci-phy",
 19         "ehci-tll",                                19         "ehci-tll",
 20         "ehci-hsic",                               20         "ehci-hsic",
 21         "ohci-phy-6pin-datse0",                    21         "ohci-phy-6pin-datse0",
 22         "ohci-phy-6pin-dpdm",                      22         "ohci-phy-6pin-dpdm",
 23         "ohci-phy-3pin-datse0",                    23         "ohci-phy-3pin-datse0",
 24         "ohci-phy-4pin-dpdm",                      24         "ohci-phy-4pin-dpdm",
 25         "ohci-tll-6pin-datse0",                    25         "ohci-tll-6pin-datse0",
 26         "ohci-tll-6pin-dpdm",                      26         "ohci-tll-6pin-dpdm",
 27         "ohci-tll-3pin-datse0",                    27         "ohci-tll-3pin-datse0",
 28         "ohci-tll-4pin-dpdm",                      28         "ohci-tll-4pin-dpdm",
 29         "ohci-tll-2pin-datse0",                    29         "ohci-tll-2pin-datse0",
 30         "ohci-tll-2pin-dpdm",                      30         "ohci-tll-2pin-dpdm",
 31                                                    31 
 32 - single-ulpi-bypass: Must be present if the c     32 - single-ulpi-bypass: Must be present if the controller contains a single
 33   ULPI bypass control bit. e.g. OMAP3 silicon      33   ULPI bypass control bit. e.g. OMAP3 silicon <= ES2.1
 34                                                    34 
 35 - clocks: a list of phandles and clock-specifi     35 - clocks: a list of phandles and clock-specifier pairs, one for each entry in
 36   clock-names.                                     36   clock-names.
 37                                                    37 
 38 - clock-names: should include:                     38 - clock-names: should include:
 39   For OMAP3                                        39   For OMAP3
 40   * "usbhost_120m_fck" - 120MHz Functional clo     40   * "usbhost_120m_fck" - 120MHz Functional clock.
 41                                                    41 
 42   For OMAP4+                                       42   For OMAP4+
 43   * "refclk_60m_int" - 60MHz internal referenc     43   * "refclk_60m_int" - 60MHz internal reference clock for UTMI clock mux
 44   * "refclk_60m_ext_p1" - 60MHz external ref.      44   * "refclk_60m_ext_p1" - 60MHz external ref. clock for Port 1's UTMI clock mux.
 45   * "refclk_60m_ext_p2" - 60MHz external ref.      45   * "refclk_60m_ext_p2" - 60MHz external ref. clock for Port 2's UTMI clock mux
 46   * "utmi_p1_gfclk" - Port 1 UTMI clock mux.       46   * "utmi_p1_gfclk" - Port 1 UTMI clock mux.
 47   * "utmi_p2_gfclk" - Port 2 UTMI clock mux.       47   * "utmi_p2_gfclk" - Port 2 UTMI clock mux.
 48   * "usb_host_hs_utmi_p1_clk" - Port 1 UTMI cl     48   * "usb_host_hs_utmi_p1_clk" - Port 1 UTMI clock gate.
 49   * "usb_host_hs_utmi_p2_clk" - Port 2 UTMI cl     49   * "usb_host_hs_utmi_p2_clk" - Port 2 UTMI clock gate.
 50   * "usb_host_hs_utmi_p3_clk" - Port 3 UTMI cl     50   * "usb_host_hs_utmi_p3_clk" - Port 3 UTMI clock gate.
 51   * "usb_host_hs_hsic480m_p1_clk" - Port 1 480     51   * "usb_host_hs_hsic480m_p1_clk" - Port 1 480MHz HSIC clock gate.
 52   * "usb_host_hs_hsic480m_p2_clk" - Port 2 480     52   * "usb_host_hs_hsic480m_p2_clk" - Port 2 480MHz HSIC clock gate.
 53   * "usb_host_hs_hsic480m_p3_clk" - Port 3 480     53   * "usb_host_hs_hsic480m_p3_clk" - Port 3 480MHz HSIC clock gate.
 54   * "usb_host_hs_hsic60m_p1_clk" - Port 1 60MH     54   * "usb_host_hs_hsic60m_p1_clk" - Port 1 60MHz HSIC clock gate.
 55   * "usb_host_hs_hsic60m_p2_clk" - Port 2 60MH     55   * "usb_host_hs_hsic60m_p2_clk" - Port 2 60MHz HSIC clock gate.
 56   * "usb_host_hs_hsic60m_p3_clk" - Port 3 60MH     56   * "usb_host_hs_hsic60m_p3_clk" - Port 3 60MHz HSIC clock gate.
 57                                                    57 
 58 Required properties if child node exists:          58 Required properties if child node exists:
 59                                                    59 
 60 - #address-cells: Must be 1                        60 - #address-cells: Must be 1
 61 - #size-cells: Must be 1                           61 - #size-cells: Must be 1
 62 - ranges: must be present                          62 - ranges: must be present
 63                                                    63 
 64 Properties for children:                           64 Properties for children:
 65                                                    65 
 66 The OMAP HS USB Host subsystem contains EHCI a     66 The OMAP HS USB Host subsystem contains EHCI and OHCI controllers.
 67 See Documentation/devicetree/bindings/usb/gene     67 See Documentation/devicetree/bindings/usb/generic-ehci.yaml and
 68 Documentation/devicetree/bindings/usb/generic-     68 Documentation/devicetree/bindings/usb/generic-ohci.yaml.
 69                                                    69 
 70 Example for OMAP4:                                 70 Example for OMAP4:
 71                                                    71 
 72 usbhshost: usbhshost@4a064000 {                    72 usbhshost: usbhshost@4a064000 {
 73         compatible = "ti,usbhs-host";              73         compatible = "ti,usbhs-host";
 74         reg = <0x4a064000 0x800>;                  74         reg = <0x4a064000 0x800>;
 75         ti,hwmods = "usb_host_hs";                 75         ti,hwmods = "usb_host_hs";
 76         #address-cells = <1>;                      76         #address-cells = <1>;
 77         #size-cells = <1>;                         77         #size-cells = <1>;
 78         ranges;                                    78         ranges;
 79                                                    79 
 80         usbhsohci: ohci@4a064800 {                 80         usbhsohci: ohci@4a064800 {
 81                 compatible = "ti,ohci-omap3";      81                 compatible = "ti,ohci-omap3";
 82                 reg = <0x4a064800 0x400>;          82                 reg = <0x4a064800 0x400>;
 83                 interrupt-parent = <&gic>;         83                 interrupt-parent = <&gic>;
 84                 interrupts = <0 76 0x4>;           84                 interrupts = <0 76 0x4>;
 85         };                                         85         };
 86                                                    86 
 87         usbhsehci: ehci@4a064c00 {                 87         usbhsehci: ehci@4a064c00 {
 88                 compatible = "ti,ehci-omap";       88                 compatible = "ti,ehci-omap";
 89                 reg = <0x4a064c00 0x400>;          89                 reg = <0x4a064c00 0x400>;
 90                 interrupt-parent = <&gic>;         90                 interrupt-parent = <&gic>;
 91                 interrupts = <0 77 0x4>;           91                 interrupts = <0 77 0x4>;
 92         };                                         92         };
 93 };                                                 93 };
 94                                                    94 
 95 &usbhshost {                                       95 &usbhshost {
 96         port1-mode = "ehci-phy";                   96         port1-mode = "ehci-phy";
 97         port2-mode = "ehci-tll";                   97         port2-mode = "ehci-tll";
 98         port3-mode = "ehci-phy";                   98         port3-mode = "ehci-phy";
 99 };                                                 99 };
100                                                   100 
101 &usbhsehci {                                      101 &usbhsehci {
102         phys = <&hsusb1_phy 0 &hsusb3_phy>;       102         phys = <&hsusb1_phy 0 &hsusb3_phy>;
103 };                                                103 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php