blob: ce02cebac26afdc80d99600725b3aaec24cb01e9 [file] [log] [blame]
Peter Chen69bec722016-02-19 17:26:15 +08001Generic USB Device Properties
2
3Usually, we only use device tree for hard wired USB device.
4The reference binding doc is from:
Rob Herring5b714562017-08-01 10:57:00 -05005http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps
Peter Chen69bec722016-02-19 17:26:15 +08006
7Required properties:
8- compatible: usbVID,PID. The textual representation of VID, PID shall
9 be in lower case hexadecimal with leading zeroes suppressed. The
10 other compatible strings from the above standard binding could also
11 be used, but a device adhering to this binding may leave out all except
12 for usbVID,PID.
13- reg: the port number which this device is connecting to, the range
14 is 1-31.
15
16Example:
17
18&usb1 {
Peter Chen69bec722016-02-19 17:26:15 +080019
20 #address-cells = <1>;
21 #size-cells = <0>;
22
23 hub: genesys@1 {
24 compatible = "usb5e3,608";
25 reg = <1>;
26 };
27}