/Zephyr-latest/doc/hardware/porting/ |
D | soc_porting.rst | 3 SoC Porting Guide 6 This page describes how to add support for a new :term:`SoC` in Zephyr, be it in 9 SoC Definitions 16 For SoC porting, the most important terms are: 18 - SoC: the exact system on a chip the board's CPU is part of. 19 - SoC series: a group of tightly related SoCs. 20 - SoC family: a wider group of SoCs with similar characteristics. 21 - CPU Cluster: a cluster of one or more CPU cores. 22 - CPU core: a particular CPU instance of a given architecture. 23 - Architecture: an instruction set architecture. [all …]
|
/Zephyr-latest/soc/ |
D | Kconfig.v1 | 3 # SPDX-License-Identifier: Apache-2.0 5 config SOC config 8 SoC name. The value of this setting must be defined by the selected 9 SoC for hw model v2. 14 SoC series. The value of this setting must be defined by the selected 15 SoC if the SoC belongs to a common series. 20 SoC family. The value of this setting must be defined by the selected 21 SoC if the SoC belongs to a SoC family. Usually a SoC family also 22 indicates the vendor of the SoC. 24 # This loads custom SoC root Kconfig (only available if custom SoC root are defined) [all …]
|
D | Kconfig.v2 | 3 # SPDX-License-Identifier: Apache-2.0 6 # SoCs that has transitioned to SoC scheme v2 are promptless, and thus 9 # SoC that are still using scheme v1 are still having a prompt but is loaded as 12 config SOC config 15 SoC name. The value of this setting must be defined by the selected 16 SoC for hw model v2. 21 SoC series. The value of this setting must be defined by the selected 22 SoC if the SoC belongs to a common series. 27 SoC family. The value of this setting must be defined by the selected 28 SoC if the SoC belongs to a SoC family. Usually a SoC family also [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: Apache-2.0 3 # Only v1 model has choice for SoC selection, therefore the optional source 4 # Sourced here and not in Kconfig.v1 to keep current SoC/CPU selection menu 5 # side-by-side with "Hardware Configuration" in the menu structure. 12 # Source Zephyr Kconfig specifics from SoC roots. 13 osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig" 16 osource "soc/common/Kconfig" 18 module = SOC 19 module-str = SOC 57 This hidden option is set in the SoC configuration and indicates [all …]
|
D | CMakeLists.txt | 1 # SPDX-License-Identifier: Apache-2.0 3 # FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally. 5 # Limit warning of shadow variables to in-tree SoC files for now. 16 --------------------------------------------------------------------- 17 --- WARNING: Functionality to describe SoCs in HWMv1 is --- 18 --- deprecated and should be replaced with HWMv2, including --- 19 --- boards. HWMv1 SoCs support remains only to ease the migration --- 20 --- of out-of-tree SoCs and associated boards. It will not be --- 21 --- possible to build using HWMv1 SoCs at all in future releases. --- 22 ---------------------------------------------------------------------" [all …]
|
D | Kconfig.v1.choice | 3 # SPDX-License-Identifier: Apache-2.0 6 prompt "SoC/CPU/Configuration Selection" 8 # This loads custom SoC root Kconfig (only available if custom SoC root are defined) 9 osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig.soc.choice"
|
/Zephyr-latest/modules/ |
D | Kconfig.mcux | 5 # SPDX-License-Identifier: Apache-2.0 24 Set if the 12B1MSPS SAR ADC module is present in the SoC. 29 Set if the 12-bit ADC (ADC12) module is present in the SoC. 34 Set if the 16-bit ADC (ADC16) module is present in the SoC. 39 Set if the LPADC module is present in the SoC. 44 Set if the L1 or L2 cache is present in the SoC. 49 Set if the clock control module (CCM) module is present in the SoC. 54 Set if the revision 2 of clock control module (CCM) module is present in the SoC. 55 This is present in SoC's such as RT1170 60 Set if the syscon module is present in the SoC. [all …]
|
D | Kconfig.vega | 2 # SPDX-License-Identifier: Apache-2.0 11 Set if the low power uart (LPUART) module is present in the SoC. 16 Set if the low power i2c (LPI2C) module is present in the SoC. 21 Set if the low power spi (LPSPI) module is present in the SoC. 26 Set if the Timer/PWM (TPM) module is present in the SoC. 32 the SoC.
|
/Zephyr-latest/include/zephyr/platform/ |
D | hooks.h | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief Soc and Board hooks 14 * zephyr architecture and initialization code and the SoC and board specific logic 15 * that resides under boards/ and soc/ 17 * @note These are all standard soc and board interfaces that are exported from 18 * soc and board specific logic to OS internal logic. These should never be accessed 24 * @brief SoC hook executed at the beginning of the reset vector. 26 * This hook is implemented by the SoC and can be used to perform any 27 * SoC-specific initialization. 32 * @brief SoC hook executed after the reset vector. [all …]
|
/Zephyr-latest/cmake/modules/ |
D | soc_v1.cmake | 1 # SPDX-License-Identifier: Apache-2.0 5 # Configure SoC settings based on Kconfig settings and SoC root. 8 # on Kconfig settings and selected SoC. 10 # If no implementation is available for the selected SoC an error will be raised. 15 # - SOC_NAME: Name of the SoC in use, identical to CONFIG_SOC 16 # - SOC_SERIES: Name of the SoC series in use, identical to CONFIG_SOC_SERIES 17 # - SOC_FAMILY: Name of the SoC family, identical to CONFIG_SOC_FAMILY 18 # - SOC_PATH: Path fragment defined by either SOC_NAME or SOC_FAMILY/SOC_SERIES. 19 # - SOC_DIR: Directory containing the SoC implementation 20 # - SOC_ROOT: SOC_ROOT with ZEPHYR_BASE appended [all …]
|
D | hwm_v2.cmake | 1 # SPDX-License-Identifier: Apache-2.0 6 # all archs and SoC implementations defined in the Zephyr build system. 11 # The following files are generated in '<kconfig-binary-dir>/soc' 12 # - Kconfig.defconfig: Contains references to SoC defconfig files for Zephyr integration. 13 # - Kconfig: Contains references to regular SoC Kconfig files for Zephyr integration. 14 # - Kconfig.soc: Contains references to generic SoC Kconfig files. 15 # - Kconfig.sysbuild: Contains references to SoC sysbuild Kconfig files. 17 # The following file is generated in '<kconfig-binary-dir>/arch' 18 # - Kconfig: Contains references to regular arch Kconfig files for Zephyr integration. 39 # implementations may be found. It always includes ${ZEPHYR_BASE}/[arch|soc] [all …]
|
D | soc_v2.cmake | 1 # SPDX-License-Identifier: Apache-2.0 5 # Configure SoC settings based on Kconfig settings. 8 # on Kconfig settings for the selected SoC. 13 # - SOC_NAME: Name of the SoC in use, identical to CONFIG_SOC 14 # - SOC_SERIES: Name of the SoC series in use, identical to CONFIG_SOC_SERIES 15 # - SOC_FAMILY: Name of the SoC family, identical to CONFIG_SOC_FAMILY 18 # use only and may be removed, renamed, or re-purposed without prior notice. 30 set(SOC_FULL_DIR ${SOC_V2_DIR} CACHE PATH "Path to the SoC directory." FORCE) 32 "List of SoC directories for SoC (${SOC_NAME})" FORCE 35 set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${dir}/soc.yml)
|
/Zephyr-latest/kernel/ |
D | Kconfig.init | 4 # SPDX-License-Identifier: Apache-2.0 7 menu "SoC and Board Hooks" 10 bool "Run early SoC reset hook" 12 Run an early SoC reset hook. 15 startup code (__start). soc_reset_hook() must be implemented by the SoC. 18 bool "Run early SoC preparation hook" 20 Run an early SoC preparation hook. 23 c prep code (prep_c). soc_prep_hook() must be implemented by the SoC. 26 bool "Run early SoC hook" 28 Run an early SoC initialization hook. [all …]
|
/Zephyr-latest/scripts/ |
D | list_hardware.py | 4 # SPDX-License-Identifier: Apache-2.0 21 SOC_SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'soc-schema.yml') 25 ARCH_SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'arch-schema.yml') 29 SOC_YML = 'soc.yml' 54 socs = [(Soc(soc['name'], 55 [c['name'] for c in soc.get('cpuclusters', [])], 57 for soc in s.get('socs', [])] 63 socs = [(Soc(soc['name'], 64 [c['name'] for c in soc.get('cpuclusters', [])], 66 for soc in f.get('socs', [])] [all …]
|
/Zephyr-latest/boards/native/native_sim/ |
D | board_soc.h | 5 * SPDX-License-Identifier: Apache-2.0 8 * @file Extra definitions provided by the board to soc.h 11 * The POSIX ARCH/SOC/board layering is different than in normal archs 12 * The "SOC" does not provide almost any of the typical SOC functionality 14 * Device code may rely on the soc.h defining some things (like the interrupts 16 * Therefore this file is included from the inf_clock soc.h to allow a board 17 * to define that kind of SOC related snippets
|
/Zephyr-latest/soc/nordic/nrf92/ |
D | Kconfig.soc | 4 # SPDX-License-Identifier: Apache-2.0 7 # SiP (System-in-Package) consisting of the nRF9230 SoC and 10 # to the nRF54h20 SoC. 13 # be represented by nRF9280 "SoC" in top-level SoC definitions 14 # and user-configurable Kconfigs, since that's what visible to users. 16 # Keep a nRF9230 Kconfig for the SoC under the hood, complete with 18 # as build target, and so that its definition can also be re-used 37 # The SiP selects the actual SoC complete with engineer revision and appropriate CPU 46 # The CPU select the "SoC" (SiP) 65 config SOC config
|
/Zephyr-latest/soc/espressif/esp32c2/ |
D | soc_irq.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <soc/rtc_cntl_reg.h> 8 #include <soc/timer_group_reg.h> 9 #include <soc/ext_mem_defs.h> 10 #include <soc/gpio_reg.h> 11 #include <soc/syscon_reg.h> 12 #include <soc/system_reg.h> 14 #include <soc/interrupt_reg.h> 15 #include <soc/periph_defs.h> 21 #include <soc.h> [all …]
|
/Zephyr-latest/soc/espressif/esp32c3/ |
D | soc_irq.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <soc/rtc_cntl_reg.h> 8 #include <soc/timer_group_reg.h> 9 #include <soc/ext_mem_defs.h> 10 #include <soc/gpio_reg.h> 11 #include <soc/syscon_reg.h> 12 #include <soc/system_reg.h> 14 #include <soc/interrupt_reg.h> 15 #include <soc/periph_defs.h> 21 #include <soc.h> [all …]
|
/Zephyr-latest/boards/native/native_posix/ |
D | board_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 7 * @file Extra definitions provided by the board to soc.h 10 * The POSIX ARCH/SOC/board layering is different than in normal archs 11 * The "SOC" does not provide almost any of the typical SOC functionality 13 * Device code may rely on the soc.h defining some things (like the interrupts 15 * Therefore this file is included from the inf_clock soc.h to allow a board 16 * to define that kind of SOC related snippets
|
/Zephyr-latest/soc/nxp/imx/imx8m/ |
D | Kconfig.defconfig.mimx8ml8_m7 | 1 # MIMX8ML8 SoC defconfig 5 # SPDX-License-Identifier: Apache-2.0 22 default $(dt_node_reg_size_int,/soc/itcm@0,0,K) 25 default $(dt_node_reg_addr_hex,/soc/itcm@0) 32 default $(dt_node_reg_size_int,/soc/code@80000000,0,K) 35 default $(dt_node_reg_addr_hex,/soc/code@80000000)
|
/Zephyr-latest/boards/native/nrf_bsim/ |
D | board_soc.h | 4 * SPDX-License-Identifier: Apache-2.0 7 * @file Extra definitions provided by the board to soc.h 10 * The POSIX ARCH/SOC/board layering is different than in normal archs 11 * The "SOC" does not provide almost any of the typical SOC functionality 13 * Device code may rely on the soc.h defining some things (like the interrupts 15 * Therefore this file is included from the inf_clock soc.h to allow a board 16 * to define that kind of SOC related snippets
|
/Zephyr-latest/boards/seeed/seeeduino_xiao/ |
D | pre_dt_board.cmake | 2 # SPDX-License-Identifier: Apache-2.0 5 # - /soc/pinmux@41004400 & /soc/gpio@41004400 6 # - /soc/pinmux@41004480 & /soc/gpio@41004480 7 list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
|
/Zephyr-latest/boards/microchip/ev11l78a/ |
D | pre_dt_board.cmake | 2 # SPDX-License-Identifier: Apache-2.0 5 # - /soc/pinmux@41004400 & /soc/gpio@41004400 6 # - /soc/pinmux@41004480 & /soc/gpio@41004480 7 list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
|
/Zephyr-latest/boards/adafruit/feather_m0_lora/ |
D | pre_dt_board.cmake | 2 # SPDX-License-Identifier: Apache-2.0 5 # - /soc/pinmux@41004400 & /soc/gpio@41004400 6 # - /soc/pinmux@41004480 & /soc/gpio@41004480 7 list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
|
/Zephyr-latest/boards/adafruit/feather_m4_express/ |
D | pre_dt_board.cmake | 2 # SPDX-License-Identifier: Apache-2.0 5 # - /soc/pinmux@41004400 & /soc/gpio@41004400 6 # - /soc/pinmux@41004480 & /soc/gpio@41004480 7 list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
|