stm32mp1: add some syscon drivers for syscfg and etpzc
Add SYSCON driver for syscfg and etpzc and reorder in alphabetics order Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
a53d9f8f90
commit
6c09eb9e7e
@ -754,7 +754,7 @@
|
||||
};
|
||||
|
||||
syscfg: system-config@50020000 {
|
||||
compatible = "st,stm32-syscfg", "syscon";
|
||||
compatible = "st,stm32mp157-syscfg", "syscon";
|
||||
reg = <0x50020000 0x400>;
|
||||
};
|
||||
|
||||
|
@ -37,8 +37,10 @@
|
||||
/* enumerated used to identify the SYSCON driver instance */
|
||||
enum {
|
||||
STM32MP_SYSCON_UNKNOWN,
|
||||
STM32MP_SYSCON_STGEN,
|
||||
STM32MP_SYSCON_ETZPC,
|
||||
STM32MP_SYSCON_PWR,
|
||||
STM32MP_SYSCON_STGEN,
|
||||
STM32MP_SYSCON_SYSCFG,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -9,10 +9,11 @@
|
||||
#include <asm/arch/stm32.h>
|
||||
|
||||
static const struct udevice_id stm32mp_syscon_ids[] = {
|
||||
{ .compatible = "st,stm32-stgen",
|
||||
.data = STM32MP_SYSCON_STGEN },
|
||||
{ .compatible = "st,stm32mp1-pwr",
|
||||
.data = STM32MP_SYSCON_PWR },
|
||||
{ .compatible = "st,stm32mp1-etzpc", .data = STM32MP_SYSCON_ETZPC },
|
||||
{ .compatible = "st,stm32mp1-pwr", .data = STM32MP_SYSCON_PWR },
|
||||
{ .compatible = "st,stm32-stgen", .data = STM32MP_SYSCON_STGEN },
|
||||
{ .compatible = "st,stm32mp157-syscfg",
|
||||
.data = STM32MP_SYSCON_SYSCFG },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user