dts: stm32: Add rng node
Add rng node when supported by stm32 entropy driver in stm32 dtsi Also add matching compatible binding. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
e68a699396
commit
760849646d
|
@ -210,6 +210,13 @@
|
|||
phase-seg2 = <6>;
|
||||
};
|
||||
|
||||
rng: rng@50060800 {
|
||||
compatible = "st,stm32-rng";
|
||||
reg = <0x50060800 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000040>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
};
|
||||
|
||||
otghs_fs_phy: otghs_fs_phy {
|
||||
|
|
|
@ -135,6 +135,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
rng: rng@50060800 {
|
||||
compatible = "st,stm32-rng";
|
||||
reg = <0x50060800 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000040>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
|
||||
usbotg_fs: usb@50000000 {
|
||||
num-bidir-endpoints = <6>;
|
||||
};
|
||||
|
|
|
@ -639,6 +639,14 @@
|
|||
status = "disabled";
|
||||
label = "DMA_2";
|
||||
};
|
||||
|
||||
rng: rng@50060800 {
|
||||
compatible = "st,stm32-rng";
|
||||
reg = <0x50060800 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000040>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
};
|
||||
|
||||
otghs_fs_phy: otghs_fs_phy {
|
||||
|
|
|
@ -425,6 +425,14 @@
|
|||
label = "RTC_0";
|
||||
};
|
||||
|
||||
rng: rng@50060800 {
|
||||
compatible = "st,stm32-rng";
|
||||
reg = <0x50060800 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x04000000>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
|
||||
usb: usb@40005c00 {
|
||||
compatible = "st,stm32-usb";
|
||||
reg = <0x40005c00 0x400>;
|
||||
|
|
|
@ -341,6 +341,14 @@
|
|||
status = "disabled";
|
||||
label = "LPTIM_1";
|
||||
};
|
||||
|
||||
rng: rng@50060800 {
|
||||
compatible = "st,stm32-rng";
|
||||
reg = <0x50060800 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00040000>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2020, Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: STM32 Random Number Generator
|
||||
|
||||
compatible: "st,stm32-rng"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
label:
|
||||
required: true
|
||||
|
||||
clocks:
|
||||
required: true
|
Loading…
Reference in New Issue