plat/stm32mp1: fdt helpers for secure aware gpio bank
New helper functions to get GPIO banks configuration from the FDT.

stm32_get_gpio_bank_pinctrl_node() allows stm32mp platforms to
differentiate specific GPIO banks when these are defined with a specific
path in the FDT.

fdt_get_gpio_bank_pin_count() returns the number of pins in a GPIO bank
as it depends on the SoC variant.

Change-Id: I4481774152b3c6bf35bf986f58e357c2f9c19176
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent c0ea3b1 commit ccc199eddaa6f5545e5c375be258b6ba686205ff
@Etienne Carriere Etienne Carriere authored on 25 Apr 2020
Showing 4 changed files
View
plat/st/common/include/stm32mp_common.h
View
plat/st/common/include/stm32mp_dt.h
View
plat/st/common/stm32mp_dt.c
View
plat/st/stm32mp1/stm32mp1_private.c