mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-07 21:33:54 +00:00

Three packages exist for stm32mp25 dies. As ball-out is different between them, this patch covers those differences by introducing dedicated pinctrl dtsi files. Each dtsi pinctrl package file describes the package ball-out through gpio-ranges. Available packages are: STM32MP25xAI: 18*18/FCBGA 172 ios STM32MP25xAK: 14*14/FCBGA 144 ios STM32MP25xAL: 10*10/TFBGA 144 ios It includes also the common file used for pin groups definition. Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I8500ccccb7a96748f36ffc80edc91da8595f4da8
69 lines
1.2 KiB
Text
69 lines
1.2 KiB
Text
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
|
|
/*
|
|
* Copyright (C) 2023, STMicroelectronics - All Rights Reserved
|
|
* Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
|
|
*/
|
|
|
|
&pinctrl {
|
|
gpioa: gpio@44240000 {
|
|
status = "okay";
|
|
ngpios = <16>;
|
|
gpio-ranges = <&pinctrl 0 0 16>;
|
|
};
|
|
|
|
gpiob: gpio@44250000 {
|
|
status = "okay";
|
|
ngpios = <16>;
|
|
gpio-ranges = <&pinctrl 0 16 16>;
|
|
};
|
|
|
|
gpioc: gpio@44260000 {
|
|
status = "okay";
|
|
ngpios = <14>;
|
|
gpio-ranges = <&pinctrl 0 32 14>;
|
|
};
|
|
|
|
gpiod: gpio@44270000 {
|
|
status = "okay";
|
|
ngpios = <16>;
|
|
gpio-ranges = <&pinctrl 0 48 16>;
|
|
};
|
|
|
|
gpioe: gpio@44280000 {
|
|
status = "okay";
|
|
ngpios = <16>;
|
|
gpio-ranges = <&pinctrl 0 64 16>;
|
|
};
|
|
|
|
gpiof: gpio@44290000 {
|
|
status = "okay";
|
|
ngpios = <16>;
|
|
gpio-ranges = <&pinctrl 0 80 16>;
|
|
};
|
|
|
|
gpiog: gpio@442a0000 {
|
|
status = "okay";
|
|
ngpios = <16>;
|
|
gpio-ranges = <&pinctrl 0 96 16>;
|
|
};
|
|
|
|
gpioh: gpio@442b0000 {
|
|
status = "okay";
|
|
ngpios = <12>;
|
|
gpio-ranges = <&pinctrl 2 114 12>;
|
|
};
|
|
|
|
gpioi: gpio@442c0000 {
|
|
status = "okay";
|
|
ngpios = <12>;
|
|
gpio-ranges = <&pinctrl 0 128 12>;
|
|
};
|
|
};
|
|
|
|
&pinctrl_z {
|
|
gpioz: gpio@46200000 {
|
|
status = "okay";
|
|
ngpios = <10>;
|
|
gpio-ranges = <&pinctrl_z 0 400 10>;
|
|
};
|
|
};
|