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