keystone-usb.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. TI Keystone Soc USB Controller
  2. DWC3 GLUE
  3. Required properties:
  4. - compatible: should be "ti,keystone-dwc3".
  5. - #address-cells, #size-cells : should be '1' if the device has sub-nodes
  6. with 'reg' property.
  7. - reg : Address and length of the register set for the USB subsystem on
  8. the SOC.
  9. - interrupts : The irq number of this device that is used to interrupt the
  10. MPU.
  11. - ranges: allows valid 1:1 translation between child's address space and
  12. parent's address space.
  13. - clocks: Clock IDs array as required by the controller.
  14. - clock-names: names of clocks correseponding to IDs in the clock property.
  15. Sub-nodes:
  16. The dwc3 core should be added as subnode to Keystone DWC3 glue.
  17. - dwc3 :
  18. The binding details of dwc3 can be found in:
  19. Documentation/devicetree/bindings/usb/dwc3.txt
  20. Example:
  21. usb: usb@2680000 {
  22. compatible = "ti,keystone-dwc3";
  23. #address-cells = <1>;
  24. #size-cells = <1>;
  25. reg = <0x2680000 0x10000>;
  26. clocks = <&clkusb>;
  27. clock-names = "usb";
  28. interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
  29. ranges;
  30. status = "disabled";
  31. dwc3@2690000 {
  32. compatible = "synopsys,dwc3";
  33. reg = <0x2690000 0x70000>;
  34. interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
  35. usb-phy = <&usb_phy>, <&usb_phy>;
  36. };
  37. };