1# HW Info driver configuration options
2
3# Copyright (c) 2019 Alexander Wachter
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig HWINFO
7	bool "Hardware Information driver"
8	help
9	  Enable hwinfo driver.
10
11if HWINFO
12
13module = HWINFO
14module-str = HWINFO
15source "subsys/logging/Kconfig.template.log_config"
16
17config HWINFO_SHELL
18	bool "Enable HWINFO Shell"
19	default y
20	depends on SHELL
21	help
22	  Enable hwinfo Shell for testing.
23
24config HWINFO_STM32
25	bool "STM32 hwinfo"
26	default y
27	depends on SOC_FAMILY_STM32
28	help
29	  Enable STM32 hwinfo driver.
30
31config HWINFO_NRF
32	bool "NRF device ID"
33	default y
34	depends on SOC_FAMILY_NRF && !TRUSTED_EXECUTION_NONSECURE
35	help
36	  Enable Nordic NRF hwinfo driver.
37
38config HWINFO_MCUX_RCM
39	bool "NXP kinetis reset cause"
40	default y
41	depends on HAS_MCUX_RCM
42	help
43	  Enable NXP kinetis mcux RCM hwinfo driver.
44
45config HWINFO_MCUX_SIM
46	bool "NXP kinetis SIM device ID"
47	default y
48	depends on HAS_MCUX_SIM
49	help
50	  Enable NXP kinetis mcux SIM hwinfo driver.
51
52config HWINFO_MCUX_SYSCON
53	bool "NXP LPC device ID"
54	default y
55	depends on HAS_MCUX_SYSCON && !SOC_SERIES_LPC54XXX
56	help
57	  Enable NXP LPC mcux hwinfo driver.
58
59config HWINFO_IMXRT
60	bool "NXP i.mx RT device ID"
61	default y
62	depends on SOC_SERIES_IMX_RT
63	help
64	  Enable NXP i.mx RT hwinfo driver.
65
66config HWINFO_SAM
67	bool "Atmel SAM device ID"
68	default y
69	depends on SOC_FAMILY_SAM && !SOC_SERIES_SAM4L
70	help
71	  Enable Atmel SAM hwinfo driver.
72
73config HWINFO_SAM4L
74	bool "Atmel SAM4L device ID"
75	default y
76	depends on SOC_SERIES_SAM4L
77	help
78	  Enable Atmel SAM4L hwinfo driver.
79
80config HWINFO_SAM0
81	bool "Atmel SAM0 device ID"
82	default y
83	depends on SOC_FAMILY_SAM0
84	help
85	  Enable Atmel SAM0 hwinfo driver.
86
87config HWINFO_ESP32
88	bool "ESP32 device ID"
89	default y
90	depends on SOC_ESP32
91	help
92	  Enable ESP32 hwinfo driver.
93
94config HWINFO_LITEX
95	bool "LiteX device ID"
96	default y
97	depends on SOC_RISCV32_LITEX_VEXRISCV
98	help
99	  Enable LiteX hwinfo driver
100
101config HWINFO_PSOC6
102	bool "Cypress PSoC-6 unique device ID"
103	default y
104	depends on SOC_FAMILY_PSOC6
105	help
106	  Enable Cypress PSoC-6 hwinfo driver.
107
108config HWINFO_GECKO
109	bool "GECKO hwinfo"
110	default y
111	depends on SOC_FAMILY_EXX32 && !SOC_SERIES_EFR32MG21
112	select SOC_GECKO_RMU
113	help
114	  Enable Silabs GECKO hwinfo driver.
115
116endif
117