Back to home page

OSCL-LXR

 
 

    


0001 Microchip USB 2.0 Hi-Speed Hub Controller
0002 
0003 The device node for the configuration of a Microchip USB251x/xBi USB 2.0
0004 Hi-Speed Controller.
0005 
0006 Required properties :
0007  - compatible : Should be "microchip,usb251xb" or one of the specific types:
0008         "microchip,usb2512b", "microchip,usb2512bi", "microchip,usb2513b",
0009         "microchip,usb2513bi", "microchip,usb2514b", "microchip,usb2514bi",
0010         "microchip,usb2517", "microchip,usb2517i", "microchip,usb2422"
0011  - reg : I2C address on the selected bus (default is <0x2C>)
0012 
0013 Optional properties :
0014  - reset-gpios : Should specify the gpio for hub reset
0015  - vdd-supply : Should specify the phandle to the regulator supplying vdd
0016  - skip-config : Skip Hub configuration, but only send the USB-Attach command
0017  - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
0018  - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
0019  - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
0020  - language-id : Set USB Language ID (16 bit, default is 0x0000)
0021  - manufacturer : Set USB Manufacturer string (max 31 characters long)
0022  - product : Set USB Product string (max 31 characters long)
0023  - serial : Set USB Serial string (max 31 characters long)
0024  - {bus,self}-powered : selects between self- and bus-powered operation
0025         (boolean, default is self-powered)
0026  - disable-hi-speed : disable USB Hi-Speed support (boolean)
0027  - {multi,single}-tt : selects between multi- and single-transaction-translator
0028         (boolean, default is multi-tt)
0029  - disable-eop : disable End of Packet generation in full-speed mode (boolean)
0030  - {ganged,individual}-sensing : select over-current sense type in self-powered
0031         mode (boolean, default is individual)
0032  - {ganged,individual}-port-switching : select port power switching mode
0033         (boolean, default is individual)
0034  - dynamic-power-switching : enable auto-switching from self- to bus-powered
0035         operation if the local power source is removed or unavailable (boolean)
0036  - oc-delay-us : Delay time (in microseconds) for filtering the over-current
0037         sense inputs. Valid values are 100, 4000, 8000 (default) and 16000. If
0038         an invalid value is given, the default is used instead.
0039  - compound-device : indicate the hub is part of a compound device (boolean)
0040  - port-mapping-mode : enable port mapping mode (boolean)
0041  - led-{usb,speed}-mode : led usb/speed indication mode selection
0042         (boolean, default is speed mode)
0043  - string-support : enable string descriptor support (required for manufacturer,
0044         product and serial string configuration)
0045  - non-removable-ports : Should specify the ports which have a non-removable
0046         device connected.
0047  - sp-disabled-ports : Specifies the ports which will be self-power disabled
0048  - bp-disabled-ports : Specifies the ports which will be bus-power disabled
0049  - sp-max-total-current-microamp: Specifies max current consumed by the hub
0050         from VBUS when operating in self-powered hub. It includes the hub
0051         silicon along with all associated circuitry including a permanently
0052         attached peripheral (range: 0 - 100000 uA, default 1000 uA)
0053  - bp-max-total-current-microamp: Specifies max current consumed by the hub
0054         from VBUS when operating in self-powered hub. It includes the hub
0055         silicon along with all associated circuitry including a permanently
0056         attached peripheral (range: 0 - 510000 uA, default 100000 uA)
0057  - sp-max-removable-current-microamp: Specifies max current consumed by the hub
0058         from VBUS when operating in self-powered hub. It includes the hub
0059         silicon along with all associated circuitry excluding a permanently
0060         attached peripheral (range: 0 - 100000 uA, default 1000 uA)
0061  - bp-max-removable-current-microamp: Specifies max current consumed by the hub
0062         from VBUS when operating in self-powered hub. It includes the hub
0063         silicon along with all associated circuitry excluding a permanently
0064         attached peripheral (range: 0 - 510000 uA, default 100000 uA)
0065  - power-on-time-ms : Specifies the time it takes from the time the host
0066         initiates the power-on sequence to a port until the port has adequate
0067         power. The value is given in ms in a 0 - 510 range (default is 100ms).
0068  - swap-dx-lanes : Specifies the ports which will swap the differential-pair
0069         (D+/D-), default is not-swapped.
0070 
0071 Examples:
0072         usb2512b@2c {
0073                 compatible = "microchip,usb2512b";
0074                 reg = <0x2c>;
0075                 reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
0076         };
0077 
0078         usb2514b@2c {
0079                 compatible = "microchip,usb2514b";
0080                 reg = <0x2c>;
0081                 vendor-id = /bits/ 16 <0x0000>;
0082                 product-id = /bits/ 16 <0x0000>;
0083                 string-support;
0084                 manufacturer = "Foo";
0085                 product = "Foo-Bar";
0086                 serial = "1234567890A";
0087                 /* correct misplaced usb connectors on port 1,2 */
0088                 swap-dx-lanes = <1 2>;
0089         };