Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RT700 basic environment support #79376

Merged

Conversation

lucien-nxp
Copy link
Contributor

support gpio/uart function

@zephyrbot
Copy link
Collaborator

zephyrbot commented Oct 3, 2024

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@b5f6470 zephyrproject-rtos/hal_nxp@b4e6f88 (master) zephyrproject-rtos/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_nxp DNM This PR should not be merged (Do Not Merge) labels Oct 3, 2024
@lucien-nxp lucien-nxp force-pushed the add_rt700_baseline_support branch from aebb39a to a8fc58d Compare October 3, 2024 16:42
soc/nxp/common/Kconfig.flexspi_xip Outdated Show resolved Hide resolved
soc/nxp/imxrt/Kconfig Outdated Show resolved Hide resolved
soc/nxp/imxrt/Kconfig Outdated Show resolved Hide resolved
soc/nxp/imxrt/imxrt7xx/Kconfig Outdated Show resolved Hide resolved
soc/nxp/imxrt/imxrt7xx/Kconfig Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/doc/index.rst Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cpu0.dts Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/doc/index.rst Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/Kconfig.defconfig Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/doc/mimxrt700_evk.webp Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk-pinctrl.dtsi Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cpu0.dts Outdated Show resolved Hide resolved
boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cpu0.dts Outdated Show resolved Hide resolved
soc/nxp/imxrt/Kconfig Show resolved Hide resolved
soc/nxp/imxrt/imxrt7xx/Kconfig.soc Outdated Show resolved Hide resolved
hakehuang
hakehuang previously approved these changes Jan 14, 2025
iuliana-prodan
iuliana-prodan previously approved these changes Jan 14, 2025
@dleach02 dleach02 added the DNM This PR should not be merged (Do Not Merge) label Jan 14, 2025
@dleach02
Copy link
Member

@hakehuang be careful removing DNM. This is set automatically due to the HAL side PR needing to be merged.

track rt700 sdk files update node

Signed-off-by: Lucien Zhao <[email protected]>
add rt7xx files related to soc
support basic clock enablement
add common/Kconfig.xspi_xip file

Signed-off-by: Lucien Zhao <[email protected]>
add RT7xx dts files
add iocon/gpio/flexcomm/clock instances in dts

Signed-off-by: Lucien Zhao <[email protected]>
add nxp,xspi-device.yaml
add nxp,xspi-mx25um51345g.yaml
add nxp,xspi.yaml

Signed-off-by: Lucien Zhao <[email protected]>
add more flexcomm instances clock support to adapt
rt700 instances number

add xspi clock support

Signed-off-by: Lucien Zhao <[email protected]>
Define iocon array to store iocon base address
add index parameter support to support multi iocon instances

Signed-off-by: Lucien Zhao <[email protected]>
use clang-format to format gpio_mcux file

Signed-off-by: Lucien Zhao <[email protected]>
update gpio driver to adapt rt7xx gpio model:
1. There is no PORT_Type on RT7xx,so set PORT_Type as void
2. Add port_no parameter in gpio_mcux_config to adapt IOPCTL driver
3. Add gpio-port-offest parameter in blinding, it will help map the
   relation between index n and gpio port when some soc have domain
   access attribution.
3. Splite gpio_mcux_configure function into two functions(
   gpio_mcux_iopctl_configure and gpio_mcux_port_configure)
   according to CONFIG_PINCTRL_NXP_IOCON macro
4. Add code to adapt RT700 GPIO attribute configuration

Signed-off-by: Lucien Zhao <[email protected]>
add files related to mimxrt700_evk board
add gpio/uart function support on board

Signed-off-by: Lucien Zhao <[email protected]>
The number of mpu regions that can be configured is less than four cases.
Therefore, only remove this case on cm33 cores, failed log show below:
"num_parts of 4 exceeds maximum allowable partitions (3)"

samples: kernel: mem_protect: userspace: remove mimxrt700_evk cm33 cores

The maximum number of partitions is less than the number of partitions
currently required, causing case to be unable to apply for or delete
excess regions.

Signed-off-by: Lucien Zhao <[email protected]>
@lucien-nxp lucien-nxp force-pushed the add_rt700_baseline_support branch from d805438 to 16a38e7 Compare January 14, 2025 13:10
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Jan 14, 2025
@dleach02
Copy link
Member

@nordicjm @iuliana-prodan @kartben @hakehuang need another round of +1 after merging the HAL and updating the west.yml

@kartben kartben merged commit 5c3efe1 into zephyrproject-rtos:main Jan 14, 2025
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.