Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Generic USB Device Properties
2
3Usually, we only use device tree for hard wired USB device.
4The reference binding doc is from:
5http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps
6
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 {
19
20 #address-cells = <1>;
21 #size-cells = <0>;
22
23 hub: genesys@1 {
24 compatible = "usb5e3,608";
25 reg = <1>;
26 };
27}