Skip to content

Commit 3ce519d

Browse files
Minh Hoangthenguyenyf
authored andcommitted
boards: renesas: add support for Renesas RA USB host on USBHS port
Add support for USB host on these boards: ek_ra6m3, ek_ra6m5, ek_ra8m1, ek_ra8d1 Signed-off-by: Minh Hoang <[email protected]> Signed-off-by: The Nguyen <[email protected]>
1 parent b9a763f commit 3ce519d

File tree

8 files changed

+12
-4
lines changed

8 files changed

+12
-4
lines changed

boards/renesas/ek_ra6m3/doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ The below features are currently supported on Zephyr OS for EK-RA6M3 board:
103103
| COUNTER | on-chip | counter |
104104
+-----------+------------+----------------------+
105105
| USBHS | on-chip | udc |
106+
| | | uhc |
106107
+-----------+------------+----------------------+
107108
| USBFS | on-chip | udc |
108109
+-----------+------------+----------------------+

boards/renesas/ek_ra6m3/ek_ra6m3-pinctrl.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333

3434
usbhs_default: usbhs_default {
3535
group1 {
36-
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>; /* VBUS */
36+
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>, /* VBUS */
37+
<RA_PSEL(RA_PSEL_USBHS, 11, 0)>; /* VBUSEN */
3738
drive-strength = "high";
3839
};
3940
};

boards/renesas/ek_ra6m5/doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ The below features are currently supported on Zephyr OS for EK-RA6M5 board:
106106
| COUNTER | on-chip | counter |
107107
+-----------+------------+----------------------+
108108
| USBHS | on-chip | udc |
109+
| | | uhc |
109110
+-----------+------------+----------------------+
110111
| ADC | on-chip | adc |
111112
+-----------+------------+----------------------+

boards/renesas/ek_ra6m5/ek_ra6m5-pinctrl.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333

3434
usbhs_default: usbhs_default {
3535
group1 {
36-
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>; /* USBHS-VBUS */
36+
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>, /* VBUS */
37+
<RA_PSEL(RA_PSEL_USBHS, 11, 0)>; /* VBUSEN */
3738
drive-strength = "high";
3839
};
3940
};

boards/renesas/ek_ra8d1/doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ The below features are currently supported on Zephyr OS for EK-RA8D1 board:
113113
| I2C | on-chip | i2c |
114114
+--------------+------------+-----------------------------------+
115115
| USBHS | on-chip | udc |
116+
| | | uhc |
116117
+--------------+------------+-----------------------------------+
117118
| USBFS | on-chip | udc |
118119
+--------------+------------+-----------------------------------+

boards/renesas/ek_ra8d1/ek_ra8d1-pinctrl.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373

7474
usbhs_default: usbhs_default {
7575
group1 {
76-
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>; /* USBHS-VBUS */
76+
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>, /* VBUS */
77+
<RA_PSEL(RA_PSEL_USBHS, 11, 0)>; /* VBUSEN */
7778
drive-strength = "high";
7879
};
7980
};

boards/renesas/ek_ra8m1/doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ The below features are currently supported on Zephyr OS for EK-RA8M1 board:
113113
| CAN | on-chip | canfd |
114114
+-----------+------------+----------------------+
115115
| USBHS | on-chip | udc |
116+
| | | uhc |
116117
+-----------+------------+----------------------+
117118
| USBFS | on-chip | udc |
118119
+-----------+------------+----------------------+

boards/renesas/ek_ra8m1/ek_ra8m1-pinctrl.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@
125125

126126
usbhs_default: usbhs_default {
127127
group1 {
128-
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>; /* VBUS */
128+
psels = <RA_PSEL(RA_PSEL_USBHS, 11, 1)>, /* VBUS */
129+
<RA_PSEL(RA_PSEL_USBHS, 4, 8)>; /* VBUSEN */
129130
drive-strength = "high";
130131
};
131132
};

0 commit comments

Comments
 (0)