2019-11-20 15:53:36

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH 0/6] STM32 DT: Updates for SOC diversity



On 11/20/19 3:41 PM, Alexandre Torgue wrote:
> This series updates stm32mp device tree files in order to handle the STM32MP15
> part numbers diversity. STM32MP15 part numbers are built in this way:
>
> -STM32MP15X: X = [1, 3, 7] for IPs diversity:
> -STM32MP151 = basic part
> -STM32MP153 = STM32MP153 + a second CPU A7 + MCAN(x2)

Sorry for typo: -STM32MP153 = STM32MP151 + a second CPU A7 + MCAN(x2)

> -STM32MP157 = STM32MP153 + DSI + GPU
>
> -STMM32MP15xY: Y = [a, c] for security diversity:
> -STM32MP15xA: basic part.
> -STM32MP15xC: adds crypto IP.
>
> -STM32MP15xxZZ: ZZ = [aa, ab, ac, ad] for packages (IO) diversity:
> -STM32MP15xxAA: TFBGA448 18x18
> -STM32MP15xxAB: LFBGA354 16x16
> -STM32MP15xxAC: TFBGA361 12x12
> -STM32MP15xxAD: TFBGA257 10x10
>
> New device tree files are created and some existing are renamed to match with
> this split.
>
> In this way it is easy to assemble (by inclusion) those files to match with the
> SOC partnumber used on board, and then it's simpler for users to create their
> own device tree board file using the correct SOC.
>
> For more details:
>
> See STM32MP151 [1], STM32MP153 [2], STM32MP157 [3] reference manuals:
> [1] https://www.st.com/resource/en/reference_manual/dm00366349.pdf
> [2] https://www.st.com/resource/en/reference_manual/dm00366355.pdf
> [3] https://www.st.com/resource/en/reference_manual/dm00327659.pdf
>
> Product family:
> https://www.st.com/en/microcontrollers-microprocessors/stm32-arm-cortex-mpus.html#products
>
> regards
> Alex
>
> Alexandre Torgue (6):
> ARM: dts: stm32: Adapt stm32mp157 pinctrl to manage STM32MP15xx SOCs
> family
> ARM: dts: stm32: Update stm32mp157 pinctrl files
> ARM: dts: stm32: Introduce new STM32MP15 SOCs: STM32MP151 and
> STM32MP153
> ARM: dts: stm32: Manage security diversity for STM32M15x SOCs
> ARM: dts: stm32: Adapt STM32MP157 DK boards to stm32 DT diversity
> ARM: dts: stm32: Adapt STM32MP157C ED1 board to STM32 DT diversity
>
> arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 1087 +++++++++++++++
> .../dts/{stm32mp157c.dtsi => stm32mp151.dtsi} | 218 ++-
> arch/arm/boot/dts/stm32mp153.dtsi | 45 +
> arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 1240 -----------------
> arch/arm/boot/dts/stm32mp157.dtsi | 31 +
> arch/arm/boot/dts/stm32mp157a-avenger96.dts | 5 +-
> arch/arm/boot/dts/stm32mp157a-dk1.dts | 604 +-------
> arch/arm/boot/dts/stm32mp157c-dk2.dts | 6 +-
> arch/arm/boot/dts/stm32mp157c-ed1.dts | 6 +-
> arch/arm/boot/dts/stm32mp157xaa-pinctrl.dtsi | 90 --
> arch/arm/boot/dts/stm32mp157xab-pinctrl.dtsi | 62 -
> arch/arm/boot/dts/stm32mp157xac-pinctrl.dtsi | 78 --
> arch/arm/boot/dts/stm32mp157xad-pinctrl.dtsi | 62 -
> arch/arm/boot/dts/stm32mp15xc.dtsi | 18 +
> arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 606 ++++++++
> arch/arm/boot/dts/stm32mp15xxaa-pinctrl.dtsi | 85 ++
> arch/arm/boot/dts/stm32mp15xxab-pinctrl.dtsi | 57 +
> arch/arm/boot/dts/stm32mp15xxac-pinctrl.dtsi | 73 +
> arch/arm/boot/dts/stm32mp15xxad-pinctrl.dtsi | 57 +
> 19 files changed, 2232 insertions(+), 2198 deletions(-)
> create mode 100644 arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> rename arch/arm/boot/dts/{stm32mp157c.dtsi => stm32mp151.dtsi} (91%)
> create mode 100644 arch/arm/boot/dts/stm32mp153.dtsi
> delete mode 100644 arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp157.dtsi
> delete mode 100644 arch/arm/boot/dts/stm32mp157xaa-pinctrl.dtsi
> delete mode 100644 arch/arm/boot/dts/stm32mp157xab-pinctrl.dtsi
> delete mode 100644 arch/arm/boot/dts/stm32mp157xac-pinctrl.dtsi
> delete mode 100644 arch/arm/boot/dts/stm32mp157xad-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp15xc.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp15xxaa-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp15xxab-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp15xxac-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp15xxad-pinctrl.dtsi
>