18c2ecf20Sopenharmony_ciMicrochip USB 2.0 Hi-Speed Hub Controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe device node for the configuration of a Microchip USB251x/xBi USB 2.0
48c2ecf20Sopenharmony_ciHi-Speed Controller.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired properties :
78c2ecf20Sopenharmony_ci - compatible : Should be "microchip,usb251xb" or one of the specific types:
88c2ecf20Sopenharmony_ci	"microchip,usb2512b", "microchip,usb2512bi", "microchip,usb2513b",
98c2ecf20Sopenharmony_ci	"microchip,usb2513bi", "microchip,usb2514b", "microchip,usb2514bi",
108c2ecf20Sopenharmony_ci	"microchip,usb2517", "microchip,usb2517i", "microchip,usb2422"
118c2ecf20Sopenharmony_ci - reg : I2C address on the selected bus (default is <0x2C>)
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciOptional properties :
148c2ecf20Sopenharmony_ci - reset-gpios : Should specify the gpio for hub reset
158c2ecf20Sopenharmony_ci - vdd-supply : Should specify the phandle to the regulator supplying vdd
168c2ecf20Sopenharmony_ci - skip-config : Skip Hub configuration, but only send the USB-Attach command
178c2ecf20Sopenharmony_ci - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
188c2ecf20Sopenharmony_ci - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
198c2ecf20Sopenharmony_ci - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
208c2ecf20Sopenharmony_ci - language-id : Set USB Language ID (16 bit, default is 0x0000)
218c2ecf20Sopenharmony_ci - manufacturer : Set USB Manufacturer string (max 31 characters long)
228c2ecf20Sopenharmony_ci - product : Set USB Product string (max 31 characters long)
238c2ecf20Sopenharmony_ci - serial : Set USB Serial string (max 31 characters long)
248c2ecf20Sopenharmony_ci - {bus,self}-powered : selects between self- and bus-powered operation
258c2ecf20Sopenharmony_ci	(boolean, default is self-powered)
268c2ecf20Sopenharmony_ci - disable-hi-speed : disable USB Hi-Speed support (boolean)
278c2ecf20Sopenharmony_ci - {multi,single}-tt : selects between multi- and single-transaction-translator
288c2ecf20Sopenharmony_ci	(boolean, default is multi-tt)
298c2ecf20Sopenharmony_ci - disable-eop : disable End of Packet generation in full-speed mode (boolean)
308c2ecf20Sopenharmony_ci - {ganged,individual}-sensing : select over-current sense type in self-powered
318c2ecf20Sopenharmony_ci	mode (boolean, default is individual)
328c2ecf20Sopenharmony_ci - {ganged,individual}-port-switching : select port power switching mode
338c2ecf20Sopenharmony_ci	(boolean, default is individual)
348c2ecf20Sopenharmony_ci - dynamic-power-switching : enable auto-switching from self- to bus-powered
358c2ecf20Sopenharmony_ci	operation if the local power source is removed or unavailable (boolean)
368c2ecf20Sopenharmony_ci - oc-delay-us : Delay time (in microseconds) for filtering the over-current
378c2ecf20Sopenharmony_ci	sense inputs. Valid values are 100, 4000, 8000 (default) and 16000. If
388c2ecf20Sopenharmony_ci	an invalid value is given, the default is used instead.
398c2ecf20Sopenharmony_ci - compound-device : indicate the hub is part of a compound device (boolean)
408c2ecf20Sopenharmony_ci - port-mapping-mode : enable port mapping mode (boolean)
418c2ecf20Sopenharmony_ci - led-{usb,speed}-mode : led usb/speed indication mode selection
428c2ecf20Sopenharmony_ci	(boolean, default is speed mode)
438c2ecf20Sopenharmony_ci - string-support : enable string descriptor support (required for manufacturer,
448c2ecf20Sopenharmony_ci	product and serial string configuration)
458c2ecf20Sopenharmony_ci - non-removable-ports : Should specify the ports which have a non-removable
468c2ecf20Sopenharmony_ci	device connected.
478c2ecf20Sopenharmony_ci - sp-disabled-ports : Specifies the ports which will be self-power disabled
488c2ecf20Sopenharmony_ci - bp-disabled-ports : Specifies the ports which will be bus-power disabled
498c2ecf20Sopenharmony_ci - sp-max-total-current-microamp: Specifies max current consumed by the hub
508c2ecf20Sopenharmony_ci	from VBUS when operating in self-powered hub. It includes the hub
518c2ecf20Sopenharmony_ci	silicon along with all associated circuitry including a permanently
528c2ecf20Sopenharmony_ci	attached peripheral (range: 0 - 100000 uA, default 1000 uA)
538c2ecf20Sopenharmony_ci - bp-max-total-current-microamp: Specifies max current consumed by the hub
548c2ecf20Sopenharmony_ci	from VBUS when operating in self-powered hub. It includes the hub
558c2ecf20Sopenharmony_ci	silicon along with all associated circuitry including a permanently
568c2ecf20Sopenharmony_ci	attached peripheral (range: 0 - 510000 uA, default 100000 uA)
578c2ecf20Sopenharmony_ci - sp-max-removable-current-microamp: Specifies max current consumed by the hub
588c2ecf20Sopenharmony_ci	from VBUS when operating in self-powered hub. It includes the hub
598c2ecf20Sopenharmony_ci	silicon along with all associated circuitry excluding a permanently
608c2ecf20Sopenharmony_ci	attached peripheral (range: 0 - 100000 uA, default 1000 uA)
618c2ecf20Sopenharmony_ci - bp-max-removable-current-microamp: Specifies max current consumed by the hub
628c2ecf20Sopenharmony_ci	from VBUS when operating in self-powered hub. It includes the hub
638c2ecf20Sopenharmony_ci	silicon along with all associated circuitry excluding a permanently
648c2ecf20Sopenharmony_ci	attached peripheral (range: 0 - 510000 uA, default 100000 uA)
658c2ecf20Sopenharmony_ci - power-on-time-ms : Specifies the time it takes from the time the host
668c2ecf20Sopenharmony_ci	initiates the power-on sequence to a port until the port has adequate
678c2ecf20Sopenharmony_ci	power. The value is given in ms in a 0 - 510 range (default is 100ms).
688c2ecf20Sopenharmony_ci - swap-dx-lanes : Specifies the ports which will swap the differential-pair
698c2ecf20Sopenharmony_ci	(D+/D-), default is not-swapped.
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciExamples:
728c2ecf20Sopenharmony_ci	usb2512b@2c {
738c2ecf20Sopenharmony_ci		compatible = "microchip,usb2512b";
748c2ecf20Sopenharmony_ci		reg = <0x2c>;
758c2ecf20Sopenharmony_ci		reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
768c2ecf20Sopenharmony_ci	};
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ci	usb2514b@2c {
798c2ecf20Sopenharmony_ci		compatible = "microchip,usb2514b";
808c2ecf20Sopenharmony_ci		reg = <0x2c>;
818c2ecf20Sopenharmony_ci		vendor-id = /bits/ 16 <0x0000>;
828c2ecf20Sopenharmony_ci		product-id = /bits/ 16 <0x0000>;
838c2ecf20Sopenharmony_ci		string-support;
848c2ecf20Sopenharmony_ci		manufacturer = "Foo";
858c2ecf20Sopenharmony_ci		product = "Foo-Bar";
868c2ecf20Sopenharmony_ci		serial = "1234567890A";
878c2ecf20Sopenharmony_ci		/* correct misplaced usb connectors on port 1,2 */
888c2ecf20Sopenharmony_ci		swap-dx-lanes = <1 2>;
898c2ecf20Sopenharmony_ci	};
90