summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/usb-device.txt
blob: 1c35e7b665e1f8e9eb64dc6495f029a3d7c3ff64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Generic USB Device Properties

Usually, we only use device tree for hard wired USB device.
The reference binding doc is from:
http://www.firmware.org/1275/bindings/usb/usb-1_0.ps

Required properties:
- compatible: usbVID,PID. The textual representation of VID, PID shall
  be in lower case hexadecimal with leading zeroes suppressed. The
  other compatible strings from the above standard binding could also
  be used, but a device adhering to this binding may leave out all except
  for usbVID,PID.
- reg: the port number which this device is connecting to, the range
  is 1-31.

Example:

&usb1 {
	status = "okay";

	#address-cells = <1>;
	#size-cells = <0>;

	hub: genesys@1 {
		compatible = "usb5e3,608";
		reg = <1>;
	};
}