Commit | Line | Data |
---|---|---|
69bec725 PC |
1 | Generic USB Device Properties |
2 | ||
3 | Usually, we only use device tree for hard wired USB device. | |
4 | The reference binding doc is from: | |
5 | http://www.firmware.org/1275/bindings/usb/usb-1_0.ps | |
6 | ||
7 | Required 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 | ||
16 | Example: | |
17 | ||
18 | &usb1 { | |
19 | status = "okay"; | |
20 | ||
21 | #address-cells = <1>; | |
22 | #size-cells = <0>; | |
23 | ||
24 | hub: genesys@1 { | |
25 | compatible = "usb5e3,608"; | |
26 | reg = <1>; | |
27 | }; | |
28 | } |