usb251xb.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Microchip USB 2.0 Hi-Speed Hub Controller
  2. The device node for the configuration of a Microchip USB251x/xBi USB 2.0
  3. Hi-Speed Controller.
  4. Required properties :
  5. - compatible : Should be "microchip,usb251xb" or one of the specific types:
  6. "microchip,usb2512b", "microchip,usb2512bi", "microchip,usb2513b",
  7. "microchip,usb2513bi", "microchip,usb2514b", "microchip,usb2514bi",
  8. "microchip,usb2517", "microchip,usb2517i"
  9. - reg : I2C address on the selected bus (default is <0x2C>)
  10. Optional properties :
  11. - reset-gpios : Should specify the gpio for hub reset
  12. - skip-config : Skip Hub configuration, but only send the USB-Attach command
  13. - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
  14. - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
  15. - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
  16. - language-id : Set USB Language ID (16 bit, default is 0x0000)
  17. - manufacturer : Set USB Manufacturer string (max 31 characters long)
  18. - product : Set USB Product string (max 31 characters long)
  19. - serial : Set USB Serial string (max 31 characters long)
  20. - {bus,self}-powered : selects between self- and bus-powered operation
  21. (boolean, default is self-powered)
  22. - disable-hi-speed : disable USB Hi-Speed support (boolean)
  23. - {multi,single}-tt : selects between multi- and single-transaction-translator
  24. (boolean, default is multi-tt)
  25. - disable-eop : disable End of Packet generation in full-speed mode (boolean)
  26. - {ganged,individual}-sensing : select over-current sense type in self-powered
  27. mode (boolean, default is individual)
  28. - {ganged,individual}-port-switching : select port power switching mode
  29. (boolean, default is individual)
  30. - dynamic-power-switching : enable auto-switching from self- to bus-powered
  31. operation if the local power source is removed or unavailable (boolean)
  32. - oc-delay-us : Delay time (in microseconds) for filtering the over-current
  33. sense inputs. Valid values are 100, 4000, 8000 (default) and 16000. If
  34. an invalid value is given, the default is used instead.
  35. - compound-device : indicate the hub is part of a compound device (boolean)
  36. - port-mapping-mode : enable port mapping mode (boolean)
  37. - led-{usb,speed}-mode : led usb/speed indication mode selection
  38. (boolean, default is speed mode)
  39. - string-support : enable string descriptor support (required for manufacturer,
  40. product and serial string configuration)
  41. - non-removable-ports : Should specify the ports which have a non-removable
  42. device connected.
  43. - sp-disabled-ports : Specifies the ports which will be self-power disabled
  44. - bp-disabled-ports : Specifies the ports which will be bus-power disabled
  45. - sp-max-total-current-microamp: Specifies max current consumed by the hub
  46. from VBUS when operating in self-powered hub. It includes the hub
  47. silicon along with all associated circuitry including a permanently
  48. attached peripheral (range: 0 - 100000 uA, default 1000 uA)
  49. - bp-max-total-current-microamp: Specifies max current consumed by the hub
  50. from VBUS when operating in self-powered hub. It includes the hub
  51. silicon along with all associated circuitry including a permanently
  52. attached peripheral (range: 0 - 510000 uA, default 100000 uA)
  53. - sp-max-removable-current-microamp: Specifies max current consumed by the hub
  54. from VBUS when operating in self-powered hub. It includes the hub
  55. silicon along with all associated circuitry excluding a permanently
  56. attached peripheral (range: 0 - 100000 uA, default 1000 uA)
  57. - bp-max-removable-current-microamp: Specifies max current consumed by the hub
  58. from VBUS when operating in self-powered hub. It includes the hub
  59. silicon along with all associated circuitry excluding a permanently
  60. attached peripheral (range: 0 - 510000 uA, default 100000 uA)
  61. - power-on-time-ms : Specifies the time it takes from the time the host
  62. initiates the power-on sequence to a port until the port has adequate
  63. power. The value is given in ms in a 0 - 510 range (default is 100ms).
  64. Examples:
  65. usb2512b@2c {
  66. compatible = "microchip,usb2512b";
  67. reg = <0x2c>;
  68. reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
  69. };
  70. usb2514b@2c {
  71. compatible = "microchip,usb2514b";
  72. reg = <0x2c>;
  73. vendor-id = /bits/ 16 <0x0000>;
  74. product-id = /bits/ 16 <0x0000>;
  75. string-support;
  76. manufacturer = "Foo";
  77. product = "Foo-Bar";
  78. serial = "1234567890A";
  79. };