From b6c656eb21278d7b4f4aed61c6c4df50a0cdada8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 5 Mar 2025 12:00:59 +0100 Subject: [PATCH] doc: khadas: adopt zephyr:board-supported-hw directive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace manually authored hardware features table with the new Zephyr board supported hardware directive which automatically generates an up-to-date table based on the boards' Devicetree. Signed-off-by: Benjamin Cabé --- boards/khadas/edge2/doc/index.rst | 18 +----------------- boards/khadas/edgev/doc/index.rst | 18 +----------------- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/boards/khadas/edge2/doc/index.rst b/boards/khadas/edge2/doc/index.rst index 337ff3aa24e..f53dcc2744d 100644 --- a/boards/khadas/edge2/doc/index.rst +++ b/boards/khadas/edge2/doc/index.rst @@ -17,23 +17,7 @@ See `Hardware details`_ Supported Features ================== -The ``khadas_edge2`` board target supports the following -hardware features: - -+-----------+------------+--------------------------------------+ -| Interface | Controller | Driver/Component | -+===========+============+======================================+ -| GIC-600 | on-chip | GICv3 interrupt controller | -+-----------+------------+--------------------------------------+ -| ARM TIMER | on-chip | System Clock | -+-----------+------------+--------------------------------------+ -| UART | on-chip | Synopsys DesignWare 8250 serial port | -+-----------+------------+--------------------------------------+ - -Other hardware features have not been enabled yet for this board. - -The default configuration can be found in (NON-SMP) -:zephyr_file:`boards/khadas/edge2/khadas_edge2_defconfig` +.. zephyr:board-supported-hw:: There are multiple serial ports on the board: Zephyr is using uart2 as serial console. diff --git a/boards/khadas/edgev/doc/index.rst b/boards/khadas/edgev/doc/index.rst index 82294c07e99..babd23d834d 100644 --- a/boards/khadas/edgev/doc/index.rst +++ b/boards/khadas/edgev/doc/index.rst @@ -13,23 +13,7 @@ See Supported Features ================== -Khadas Edge-V board default configuration supports the following -hardware features: - -+-----------+------------+--------------------------------------+ -| Interface | Controller | Driver/Component | -+===========+============+======================================+ -| GIC-500 | on-chip | GICv3 interrupt controller | -+-----------+------------+--------------------------------------+ -| ARM TIMER | on-chip | System Clock | -+-----------+------------+--------------------------------------+ -| UART | on-chip | Synopsys DesignWare 8250 serial port | -+-----------+------------+--------------------------------------+ - -Other hardware features have not been enabled yet for this board. - -The default configuration can be found in (NON-SMP) -:zephyr_file:`boards/khadas/edgev/khadas_edgev_defconfig` +.. zephyr:board-supported-hw:: There are multiple serial ports on the board: Zephyr is using uart2 as serial console.