diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-09-04 15:39:37 -0700 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-10-03 14:49:27 +0200 |
commit | c2c2d625d142889c9219e2586565dd1f70023bf6 (patch) | |
tree | b282d67425d163c6609ba58a6cc2b51b88c44440 /recipes-support/libusbgx/files/mx7/g1.schema | |
parent | f57fbf986460f77fb9162371e2f1c0edba5d83a1 (diff) |
libusbgx: use Colibri iMX7 schema for all i.MX 7 SoCs
This allows to use the same schema for Colibri iMX7 with raw
NAND and eMMC flash.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-support/libusbgx/files/mx7/g1.schema')
-rw-r--r-- | recipes-support/libusbgx/files/mx7/g1.schema | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/recipes-support/libusbgx/files/mx7/g1.schema b/recipes-support/libusbgx/files/mx7/g1.schema new file mode 100644 index 0000000..cbfa505 --- /dev/null +++ b/recipes-support/libusbgx/files/mx7/g1.schema @@ -0,0 +1,68 @@ +attrs : +{ + bcdUSB = 0x200; + bDeviceClass = 0x2; + bDeviceSubClass = 0x0; + bDeviceProtocol = 0x0; + bMaxPacketSize0 = 0x40; + idVendor = 0x1D6B; + idProduct = 0x104; + bcdDevice = 0x401; +}; +os_descs : +{ + config = "c_1"; + use = 1; + qw_sign = "MSFT100"; + b_vendor_code = 0xCD; +}; +strings = ( + { + lang = 0x409; + manufacturer = "Toradex"; + product = "Toradex Colibri iMX7"; + serialnumber = "00000000"; + } ); +functions : +{ + rndis_usb0 : + { + instance = "usb0"; + type = "rndis"; + attrs : + { + dev_addr = "00:14:2d:ff:ff:ff"; + host_addr = "00:14:2d:ff:ff:fe"; + qmult = 5; + }; + os_descs = ( + { + interface = "rndis"; + compatible_id = "RNDIS"; + sub_compatible_id = "5162001"; + } ); + }; +}; +configs : +{ + c_1 : + { + id = 1; + name = "c"; + attrs : + { + bmAttributes = 0xC0; + bMaxPower = 0x1; + }; + strings = ( + { + lang = 0x409; + configuration = "RNDIS"; + } ); + functions = ( + { + name = "rndis.usb0"; + function = "rndis_usb0"; + } ); + }; +}; |