Browse Source

boards: arm: rcar_h3_salvatorx_cr7: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
b7cc30aaea
  1. 6
      boards/boards_legacy/arm/rcar_h3_salvatorx/Kconfig.board
  2. 7
      boards/boards_legacy/arm/rcar_h3_salvatorx/Kconfig.defconfig
  3. 5
      boards/renesas/rcar_salvator_x/Kconfig.rcar_salvator_x
  4. 0
      boards/renesas/rcar_salvator_x/board.cmake
  5. 5
      boards/renesas/rcar_salvator_x/board.yml
  6. 0
      boards/renesas/rcar_salvator_x/doc/img/r-car-h3-salvator-x-connections.jpg
  7. 0
      boards/renesas/rcar_salvator_x/doc/img/rcar_h3_features.jpg
  8. 0
      boards/renesas/rcar_salvator_x/doc/img/rcar_h3_salvatorx.jpg
  9. 10
      boards/renesas/rcar_salvator_x/doc/rcar_salvator_x.rst
  10. 0
      boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7-pinctrl.dtsi
  11. 2
      boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7.dts
  12. 2
      boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7.yaml
  13. 3
      boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7_defconfig
  14. 0
      boards/renesas/rcar_salvator_x/support/openocd.cfg

6
boards/boards_legacy/arm/rcar_h3_salvatorx/Kconfig.board

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
# Copyright (c) 2022 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
config BOARD_RCAR_H3_SALVATORX_CR7
bool "Cortex-R7 for Renesas H3 Salvator-X"
depends on SOC_R8A77951

7
boards/boards_legacy/arm/rcar_h3_salvatorx/Kconfig.defconfig

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
# Copyright (c) 2022 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
if BOARD_RCAR_H3_SALVATORX_CR7
config BOARD
default "rcar_h3_salvatorx_cr7"
endif # BOARD_RCAR_H3_SALVATORX_CR7

5
boards/renesas/rcar_salvator_x/Kconfig.rcar_salvator_x

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
# Copyright (c) 2022 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
config BOARD_RCAR_SALVATOR_X
select SOC_R8A77951_R7

0
boards/boards_legacy/arm/rcar_h3_salvatorx/board.cmake → boards/renesas/rcar_salvator_x/board.cmake

5
boards/renesas/rcar_salvator_x/board.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
board:
name: rcar_salvator_x
vendor: Renesas
socs:
- name: r8a77951

0
boards/boards_legacy/arm/rcar_h3_salvatorx/doc/img/r-car-h3-salvator-x-connections.jpg → boards/renesas/rcar_salvator_x/doc/img/r-car-h3-salvator-x-connections.jpg

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

0
boards/boards_legacy/arm/rcar_h3_salvatorx/doc/img/rcar_h3_features.jpg → boards/renesas/rcar_salvator_x/doc/img/rcar_h3_features.jpg

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

0
boards/boards_legacy/arm/rcar_h3_salvatorx/doc/img/rcar_h3_salvatorx.jpg → boards/renesas/rcar_salvator_x/doc/img/rcar_h3_salvatorx.jpg

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

10
boards/boards_legacy/arm/rcar_h3_salvatorx/doc/rcar_h3_salvatorx.rst → boards/renesas/rcar_salvator_x/doc/rcar_salvator_x.rst

@ -127,12 +127,12 @@ Flashing @@ -127,12 +127,12 @@ Flashing
First of all, open your serial terminal.
Applications for the ``rcar_h3_salvatorx_cr7`` board configuration can be built
Applications for the ``rcar_salvator_x`` board configuration can be built
in the usual way (see :ref:`build_an_application` for more details).
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: rcar_h3_salvatorx_cr7
:board: rcar_salvator_x
:goals: flash
You should see the following message in the terminal:
@ -140,7 +140,7 @@ You should see the following message in the terminal: @@ -140,7 +140,7 @@ You should see the following message in the terminal:
.. code-block:: console
*** Booting Zephyr OS build v2.6.0-rc1 ***
Hello World! rcar_h3_salvatorx_cr7
Hello World! rcar_salvator_x
Debugging
=========
@ -151,7 +151,7 @@ Here is an example for the :ref:`hello_world` application. @@ -151,7 +151,7 @@ Here is an example for the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: rcar_h3_salvatorx_cr7
:board: rcar_salvator_x
:goals: debug
You will then get access to a GDB session for debug.
@ -161,7 +161,7 @@ By continuing the app, you should see the following message in the terminal: @@ -161,7 +161,7 @@ By continuing the app, you should see the following message in the terminal:
.. code-block:: console
*** Booting Zephyr OS build v2.6.0-rc1 ***
Hello World! rcar_h3_salvatorx_cr7
Hello World! rcar_salvator_x
References
**********

0
boards/boards_legacy/arm/rcar_h3_salvatorx/rcar_h3_salvatorx_cr7-pinctrl.dtsi → boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7-pinctrl.dtsi

2
boards/boards_legacy/arm/rcar_h3_salvatorx/rcar_h3_salvatorx_cr7.dts → boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7.dts

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
/dts-v1/;
#include <arm/renesas/rcar/gen3/r8a77951.dtsi>
#include "rcar_h3_salvatorx_cr7-pinctrl.dtsi"
#include "rcar_salvator_x_r8a77951_r7-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {

2
boards/boards_legacy/arm/rcar_h3_salvatorx/rcar_h3_salvatorx_cr7.yaml → boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7.yaml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
identifier: rcar_h3_salvatorx_cr7
identifier: rcar_salvator_x/r8a77951/r7
name: Cortex r7 for Renesas H3 Salvator-X
type: mcu
arch: arm

3
boards/boards_legacy/arm/rcar_h3_salvatorx/rcar_h3_salvatorx_cr7_defconfig → boards/renesas/rcar_salvator_x/rcar_salvator_x_r8a77951_r7_defconfig

@ -1,6 +1,3 @@ @@ -1,6 +1,3 @@
CONFIG_SOC_R8A77951=y
CONFIG_SOC_SERIES_RCAR_GEN3=y
CONFIG_BOARD_RCAR_H3_SALVATORX_CR7=y
CONFIG_CLOCK_CONTROL=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32000
CONFIG_CONSOLE=y

0
boards/boards_legacy/arm/rcar_h3_salvatorx/support/openocd.cfg → boards/renesas/rcar_salvator_x/support/openocd.cfg

Loading…
Cancel
Save