boards: riscv: tlsr9518adk80d: add Telink B91 Entropy driver support

Added Entropy driver board support

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
This commit is contained in:
Yuriy Vynnychek 2021-07-26 11:25:21 +03:00 committed by Carles Cufí
commit d155129c0d
3 changed files with 10 additions and 0 deletions

View file

@ -18,6 +18,9 @@ config UART_TELINK_B91
config PINMUX_TELINK_B91 config PINMUX_TELINK_B91
default y if PINMUX default y if PINMUX
config ENTROPY_TELINK_B91_TRNG
default y if ENTROPY_GENERATOR
config SOC_FLASH_TELINK_B91 config SOC_FLASH_TELINK_B91
default y if FLASH default y if FLASH

View file

@ -65,6 +65,8 @@ The Zephyr TLSR9518ADK80D board configuration supports the following hardware fe
+----------------+------------+------------------------------+ +----------------+------------+------------------------------+
| FLASH (MSPI) | on-chip | flash | | FLASH (MSPI) | on-chip | flash |
+----------------+------------+------------------------------+ +----------------+------------+------------------------------+
| TRNG | on-chip | entopy |
+----------------+------------+------------------------------+
| RADIO | on-chip | ieee802154, OpenThread | | RADIO | on-chip | ieee802154, OpenThread |
+----------------+------------+------------------------------+ +----------------+------------+------------------------------+

View file

@ -56,6 +56,7 @@
zephyr,sram = &ram_dlm; zephyr,sram = &ram_dlm;
zephyr,flash = &flash; zephyr,flash = &flash;
zephyr,flash-controller = &flash_mspi; zephyr,flash-controller = &flash_mspi;
zephyr,entropy = &trng0;
}; };
}; };
@ -95,6 +96,10 @@
pinctrl-0 = <&uart0_tx_pb2 &uart0_rx_pb3>; pinctrl-0 = <&uart0_tx_pb2 &uart0_rx_pb3>;
}; };
&trng0 {
status = "okay";
};
&ieee802154 { &ieee802154 {
status = "okay"; status = "okay";
}; };