[PATCH rtems 2/3] bsps/arm/imxrt1166: Enable USB

Christian Mauderer christian.mauderer at embedded-brains.de
Fri Aug 11 05:37:33 UTC 2023


Enable the USB modules in the FDT.
---
 bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c | 115 +++++++++++-------
 .../imxrt/dts/imxrt1166-cm7-saltshaker.dts    |   8 ++
 bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi   |   8 ++
 3 files changed, 85 insertions(+), 46 deletions(-)

diff --git a/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c b/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c
index f533172bbc..78e7feda09 100644
--- a/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c
+++ b/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c
@@ -7,10 +7,10 @@
 #include <sys/types.h>
 
 const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
-  0xd0, 0x0d, 0xfe, 0xed, 0x00, 0x00, 0x6f, 0xdf, 0x00, 0x00, 0x00, 0x38, 
-  0x00, 0x00, 0x69, 0xa0, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x11, 
-  0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0xff, 
-  0x00, 0x00, 0x69, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+  0xd0, 0x0d, 0xfe, 0xed, 0x00, 0x00, 0x70, 0xf2, 0x00, 0x00, 0x00, 0x38, 
+  0x00, 0x00, 0x6a, 0xa8, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x11, 
+  0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x0a, 
+  0x00, 0x00, 0x6a, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 
@@ -1239,7 +1239,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0x50, 
   0x00, 0x00, 0x04, 0x94, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x03, 
-  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x0d, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x0f, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x6c, 0x65, 0x64, 0x67, 
   0x72, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x48, 
   0x00, 0x00, 0x05, 0x0c, 0x00, 0x00, 0x01, 0x4c, 0x00, 0x00, 0x03, 0x90, 
@@ -1249,7 +1249,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x58, 0x00, 0x00, 0x03, 0x9c, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
-  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x02, 
+  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x74, 0x69, 0x6d, 0x65, 
   0x72, 0x40, 0x34, 0x30, 0x30, 0x65, 0x63, 0x30, 0x30, 0x30, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0xa7, 
@@ -1745,22 +1745,44 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 
   0x00, 0x00, 0x04, 0xa7, 0x40, 0x42, 0xc0, 0x00, 0x00, 0x00, 0x40, 0x00, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xd2, 
-  0x00, 0x00, 0x00, 0x87, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
-  0x75, 0x73, 0x62, 0x40, 0x34, 0x30, 0x34, 0x33, 0x30, 0x30, 0x30, 0x30, 
-  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 
-  0x00, 0x00, 0x04, 0xa7, 0x40, 0x43, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 
-  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xd2, 
-  0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
-  0x75, 0x73, 0x62, 0x70, 0x68, 0x79, 0x40, 0x34, 0x30, 0x34, 0x33, 0x34, 
-  0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 
-  0x00, 0x00, 0x04, 0xa7, 0x40, 0x43, 0x40, 0x00, 0x00, 0x00, 0x40, 0x00, 
-  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xd2, 
-  0x00, 0x00, 0x00, 0x5a, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
-  0x75, 0x73, 0x62, 0x70, 0x68, 0x79, 0x40, 0x34, 0x30, 0x34, 0x33, 0x38, 
-  0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 
-  0x00, 0x00, 0x04, 0xa7, 0x40, 0x43, 0x80, 0x00, 0x00, 0x00, 0x40, 0x00, 
-  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xd2, 
-  0x00, 0x00, 0x00, 0x5b, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
+  0x00, 0x00, 0x00, 0x87, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x20, 
+  0x00, 0x00, 0x04, 0x76, 0x66, 0x73, 0x6c, 0x2c, 0x69, 0x6d, 0x78, 0x72, 
+  0x74, 0x31, 0x31, 0x36, 0x36, 0x2d, 0x75, 0x73, 0x62, 0x00, 0x66, 0x73, 
+  0x6c, 0x2c, 0x69, 0x6d, 0x78, 0x32, 0x37, 0x2d, 0x75, 0x73, 0x62, 0x00, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0xa9, 
+  0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 
+  0x00, 0x00, 0x04, 0xb3, 0x6f, 0x6b, 0x61, 0x79, 0x00, 0x00, 0x00, 0x00, 
+  0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x75, 0x73, 0x62, 0x40, 
+  0x34, 0x30, 0x34, 0x33, 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0xa7, 
+  0x40, 0x43, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x03, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xd2, 0x00, 0x00, 0x00, 0x88, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x04, 0x76, 
+  0x66, 0x73, 0x6c, 0x2c, 0x69, 0x6d, 0x78, 0x72, 0x74, 0x31, 0x31, 0x36, 
+  0x36, 0x2d, 0x75, 0x73, 0x62, 0x00, 0x66, 0x73, 0x6c, 0x2c, 0x69, 0x6d, 
+  0x78, 0x32, 0x37, 0x2d, 0x75, 0x73, 0x62, 0x00, 0x00, 0x00, 0x00, 0x03, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0xa9, 0x00, 0x00, 0x00, 0x0e, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x04, 0xb3, 
+  0x6f, 0x6b, 0x61, 0x79, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 
+  0x00, 0x00, 0x00, 0x01, 0x75, 0x73, 0x62, 0x70, 0x68, 0x79, 0x40, 0x34, 
+  0x30, 0x34, 0x33, 0x34, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x03, 
+  0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0xa7, 0x40, 0x43, 0x40, 0x00, 
+  0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
+  0x00, 0x00, 0x04, 0xd2, 0x00, 0x00, 0x00, 0x5a, 0x00, 0x00, 0x00, 0x03, 
+  0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x04, 0x76, 0x66, 0x73, 0x6c, 0x2c, 
+  0x69, 0x6d, 0x78, 0x72, 0x74, 0x31, 0x31, 0x36, 0x36, 0x2d, 0x75, 0x73, 
+  0x62, 0x70, 0x68, 0x79, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x0e, 
+  0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x75, 0x73, 0x62, 0x70, 
+  0x68, 0x79, 0x40, 0x34, 0x30, 0x34, 0x33, 0x38, 0x30, 0x30, 0x30, 0x00, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0xa7, 
+  0x40, 0x43, 0x80, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x03, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xd2, 0x00, 0x00, 0x00, 0x5b, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x04, 0x76, 
+  0x66, 0x73, 0x6c, 0x2c, 0x69, 0x6d, 0x78, 0x72, 0x74, 0x31, 0x31, 0x36, 
+  0x36, 0x2d, 0x75, 0x73, 0x62, 0x70, 0x68, 0x79, 0x00, 0x00, 0x00, 0x00, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xab, 
+  0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
   0x63, 0x61, 0x61, 0x6d, 0x40, 0x34, 0x30, 0x34, 0x34, 0x30, 0x30, 0x30, 
   0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 
   0x00, 0x00, 0x04, 0xa7, 0x40, 0x44, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 
@@ -1814,7 +1836,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x40, 0x81, 0x80, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x03, 
   0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0xd2, 0x00, 0x00, 0x00, 0x5f, 
   0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
-  0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x02, 
+  0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x61, 0x69, 0x70, 0x73, 
   0x2d, 0x62, 0x75, 0x73, 0x40, 0x34, 0x30, 0x63, 0x30, 0x30, 0x30, 0x30, 
   0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x18, 
@@ -1850,7 +1872,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x40, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x60, 
   0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x01, 
   0x40, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
-  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x02, 
+  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x01, 0x6c, 0x70, 0x69, 0x32, 0x63, 0x36, 0x67, 0x72, 
   0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x30, 
   0x00, 0x00, 0x05, 0x0c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x5c, 
@@ -1858,7 +1880,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x40, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x58, 
   0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
   0x40, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
-  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02, 
+  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x01, 0x6c, 0x70, 0x75, 0x61, 0x72, 0x74, 0x31, 0x32, 
   0x67, 0x72, 0x70, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x60, 
   0x00, 0x00, 0x05, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 
@@ -1870,7 +1892,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x54, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
-  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x02, 
+  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x69, 0x6f, 0x6d, 0x75, 
   0x78, 0x63, 0x5f, 0x6c, 0x70, 0x73, 0x72, 0x5f, 0x67, 0x70, 0x72, 0x40, 
   0x34, 0x30, 0x63, 0x30, 0x63, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 
@@ -1931,7 +1953,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1e, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0x02, 
-  0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
+  0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
   0x73, 0x70, 0x69, 0x40, 0x34, 0x30, 0x63, 0x32, 0x63, 0x30, 0x30, 0x30, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 
@@ -1985,7 +2007,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x2f, 0x69, 0x32, 0x63, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 
   0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x04, 0xfd, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0x03, 
-  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x0f, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x11, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x69, 0x32, 0x63, 0x40, 
   0x34, 0x30, 0x63, 0x33, 0x38, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 
@@ -2003,7 +2025,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x04, 0xfd, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0x02, 
-  0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
+  0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
   0x63, 0x61, 0x6e, 0x40, 0x34, 0x30, 0x63, 0x33, 0x63, 0x30, 0x30, 0x30, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 
   0x00, 0x00, 0x04, 0xa7, 0x40, 0xc3, 0xc0, 0x00, 0x00, 0x00, 0x40, 0x00, 
@@ -2069,7 +2091,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x15, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0x25, 
   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
-  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x02, 
+  0x00, 0x00, 0x04, 0xab, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x01, 0x67, 0x70, 0x69, 0x6f, 0x40, 0x34, 0x30, 0x63, 
   0x36, 0x63, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 
   0x00, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x04, 0x76, 0x66, 0x73, 0x6c, 0x2c, 
@@ -2233,7 +2255,7 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 
   0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0x76, 0x67, 0x70, 0x69, 0x6f, 
   0x2d, 0x6c, 0x65, 0x64, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 
-  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x11, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0x02, 0x00, 0x00, 0x00, 0x13, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x04, 0xb3, 
   0x6f, 0x6b, 0x61, 0x79, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 
   0x6c, 0x65, 0x64, 0x2d, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 
@@ -2250,14 +2272,14 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x63, 0x61, 0x72, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 
   0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x04, 0x76, 0x72, 0x65, 0x67, 0x75, 
   0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x00, 
-  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x05, 0xa9, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x05, 0xb4, 
   0x75, 0x73, 0x64, 0x68, 0x63, 0x31, 0x2d, 0x73, 0x75, 0x70, 0x70, 0x6c, 
   0x79, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
-  0x00, 0x00, 0x05, 0xb8, 0x00, 0x32, 0x5a, 0xa0, 0x00, 0x00, 0x00, 0x03, 
-  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0xd0, 0x00, 0x32, 0x5a, 0xa0, 
-  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x05, 0xe8, 
-  0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 
-  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0xed, 
+  0x00, 0x00, 0x05, 0xc3, 0x00, 0x32, 0x5a, 0xa0, 0x00, 0x00, 0x00, 0x03, 
+  0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x05, 0xdb, 0x00, 0x32, 0x5a, 0xa0, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x05, 0xf3, 
+  0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 
+  0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0xf8, 
   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0xab, 
   0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 
   0x00, 0x00, 0x00, 0x09, 0x23, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 
@@ -2381,19 +2403,20 @@ const unsigned char imxrt_dtb[] __attribute__(( __aligned__(8) )) = {
   0x6d, 0x2d, 0x72, 0x78, 0x2d, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x00, 
   0x70, 0x68, 0x79, 0x2d, 0x6d, 0x6f, 0x64, 0x65, 0x00, 0x70, 0x68, 0x79, 
   0x2d, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x67, 0x70, 0x69, 0x6f, 0x73, 
-  0x00, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x6e, 
-  0x61, 0x6d, 0x65, 0x00, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x74, 0x6f, 
-  0x72, 0x2d, 0x6d, 0x69, 0x6e, 0x2d, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x76, 
-  0x6f, 0x6c, 0x74, 0x00, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x74, 0x6f, 
-  0x72, 0x2d, 0x6d, 0x61, 0x78, 0x2d, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x76, 
-  0x6f, 0x6c, 0x74, 0x00, 0x67, 0x70, 0x69, 0x6f, 0x00, 0x72, 0x65, 0x67, 
-  0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x62, 0x6f, 0x6f, 0x74, 0x2d, 
-  0x6f, 0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+  0x00, 0x66, 0x73, 0x6c, 0x2c, 0x75, 0x73, 0x62, 0x70, 0x68, 0x79, 0x00, 
+  0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x6e, 0x61, 
+  0x6d, 0x65, 0x00, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 
+  0x2d, 0x6d, 0x69, 0x6e, 0x2d, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x76, 0x6f, 
+  0x6c, 0x74, 0x00, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 
+  0x2d, 0x6d, 0x61, 0x78, 0x2d, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x76, 0x6f, 
+  0x6c, 0x74, 0x00, 0x67, 0x70, 0x69, 0x6f, 0x00, 0x72, 0x65, 0x67, 0x75, 
+  0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x62, 0x6f, 0x6f, 0x74, 0x2d, 0x6f, 
+  0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
 };
 
 const size_t imxrt_dtb_size = sizeof(imxrt_dtb);
diff --git a/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.dts b/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.dts
index 81740ce499..c961abcd37 100644
--- a/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.dts
+++ b/bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.dts
@@ -127,6 +127,14 @@
 	pinctrl-0 = <&pinctrl_video_mux>;
 };
 
+&usbotg1 {
+	status = "okay";
+};
+
+&usbotg2 {
+	status = "okay";
+};
+
 &iomuxc {
 	pinctrl_lpuart8: lpuart8grp {
 		fsl,pins = <
diff --git a/bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi b/bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi
index 8f7083e2c4..5f88b6fbb0 100644
--- a/bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi
+++ b/bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi
@@ -856,21 +856,29 @@
 			usbotg2: usb at 4042c000 {
 				reg = <0x4042c000 0x4000>;
 				interrupts = <135>;
+				compatible = "fsl,imxrt1166-usb", "fsl,imx27-usb";
+				fsl,usbphy = <&usbphy2>;
+				status = "disabled";
 			};
 
 			usbotg1: usb at 40430000 {
 				reg = <0x40430000 0x4000>;
 				interrupts = <136>;
+				compatible = "fsl,imxrt1166-usb", "fsl,imx27-usb";
+				fsl,usbphy = <&usbphy1>;
+				status = "disabled";
 			};
 
 			usbphy1: usbphy at 40434000 {
 				reg = <0x40434000 0x4000>;
 				interrupts = <90>;
+				compatible = "fsl,imxrt1166-usbphy";
 			};
 
 			usbphy2: usbphy at 40438000 {
 				reg = <0x40438000 0x4000>;
 				interrupts = <91>;
+				compatible = "fsl,imxrt1166-usbphy";
 			};
 
 			caam: caam at 40440000 {
-- 
2.35.3



More information about the devel mailing list