Lines Matching +full:device +full:- +full:id
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-device.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic USB Device
10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 Usually, we only use device tree for hard wired USB device.
15 http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps
17 Four types of device-tree nodes are defined: "host-controller nodes"
18 representing USB host controllers, "device nodes" representing USB devices,
22 A combined node shall be used instead of a device node and an interface node
31 pattern: "^usb[0-9a-f]{1,4},[0-9a-f]{1,4}$"
32 description: Device nodes or combined nodes.
33 "usbVID,PID", where VID is the vendor id and PID the product id.
37 but a device adhering to this binding may leave out all except
41 description: the number of the USB hub port or the USB host-controller
42 port to which this device is attached. The range is 1-255.
45 "#address-cells":
46 description: should be 1 for hub nodes with device nodes,
47 should be 2 for device nodes with interface nodes.
50 "#size-cells":
54 "^interface@[0-9a-f]{1,2}(,[0-9a-f]{1,2})$":
58 representation of an interface-node unit address for configuration 1.
62 pattern: "^usbif[0-9a-f]{1,4},[0-9a-f]{1,4}.config[0-9a-f]{1,2}.[0-9a-f]{1,2}$"
64 "usbifVID,PID.configCN.IN", where VID is the vendor id, PID is
65 the product id, CN is the configuration value and IN is the interface
69 also be used, but a device adhering to this binding may leave out
79 - reg
85 # device connected to port 2
86 # device connected to port 3
89 - |
93 #address-cells = <1>;
94 #size-cells = <0>;
101 device@2 {
106 device@3 {
110 #address-cells = <2>;
111 #size-cells = <0>;