Skip to content

Commit 5c4f626

Browse files
committed
boards: st: nucleo_u5a5zj_q: Exchange dts nodes
The USB is a peripheral that can be used by S and NS images. This move USB node from S to common dtsi file. The same it is not valid about random functions. In the S image the random can be enabled but for NS image the random MUST come from PSA API. Signed-off-by: BUDKE Gerson Fernando <[email protected]>
1 parent 7184d29 commit 5c4f626

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

boards/st/nucleo_u5a5zj_q/nucleo_u5a5zj_q-common.dtsi

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@
171171
status = "okay";
172172
};
173173

174-
&rng {
175-
status = "okay";
176-
};
177-
178174
&fdcan1 {
179175
clocks = <&rcc STM32_CLOCK(APB1_2, 9)>,
180176
<&rcc STM32_SRC_PLL1_Q FDCAN1_SEL(1)>;
@@ -196,3 +192,17 @@
196192
&vbat4 {
197193
status = "okay";
198194
};
195+
196+
&gpdma1 {
197+
status = "okay";
198+
};
199+
200+
zephyr_udc0: &usbotg_hs {
201+
pinctrl-0 = <&usb_otg_hs_dm_pa11 &usb_otg_hs_dp_pa12>;
202+
pinctrl-names = "default";
203+
status = "okay";
204+
};
205+
206+
&otghs_phy {
207+
clock-reference = "SYSCFG_OTG_HS_PHY_CLK_16MHz";
208+
};

boards/st/nucleo_u5a5zj_q/nucleo_u5a5zj_q.dts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,6 @@
7474
status = "okay";
7575
};
7676

77-
&gpdma1 {
77+
&rng {
7878
status = "okay";
7979
};
80-
81-
zephyr_udc0: &usbotg_hs {
82-
pinctrl-0 = <&usb_otg_hs_dm_pa11 &usb_otg_hs_dp_pa12>;
83-
pinctrl-names = "default";
84-
status = "okay";
85-
};
86-
87-
&otghs_phy {
88-
clock-reference = "SYSCFG_OTG_HS_PHY_CLK_16MHz";
89-
};

0 commit comments

Comments
 (0)