[PATCH 00/16] ARM: dts: at91: sama5d2: Rework Flexcom definitions

From: Tudor.Ambarus
Date: Thu May 14 2020 - 01:03:12 EST


From: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>

Rework the sama5d2 SoC flexcom definitions. The Flexcom IPs are
in the SoC. Move all the flexcom nodes together with their function
definitions in the SoC dtsi. Boards will just fill the pins and enable
the desired functions. With this we remove the duplication of the
flexcom definitions across the sama5d2 boards.

Round the flexcom support and add the missing flexcom definitions.
All the flexcom functions are now defined.

Apart of the aliases and the new flx0 i2c function on sama5d2_xplained,
the only functional change that this patch set adds, is that it uart5,
uart6 and uart7 inherit the atmel,fifo-size = <32>; optional property.
These nodes have both the FIFO size described and the DMA enabled.
uart5 was tested on sama5d27-wlsom1-ek. On uart6 and uart7 a
Bluetooth module can be connected. Tested BT uart7 on sama5d2-icp.

Tudor Ambarus (16):
ARM: dts: at91: sama5d2: Fix the label numbering for flexcom functions
ARM: dts: at91: sama5d2: Move flx4 definitions in the SoC dtsi
ARM: dts: at91: sama5d2: Move flx3 definitions in the SoC dtsi
ARM: dts: at91: sama5d2: Move flx2 definitions in the SoC dtsi
ARM: dts: at91: sama5d2: Move flx1 definitions in the SoC dtsi
ARM: dts: at91: sama5d2: Move flx0 definitions in the SoC dtsi
ARM: dts: at91: sama5d2: Specify the FIFO size for the Flexcom UART
ARM: dts: at91: sama5d2: Add DMA bindings for the SPI and UART flx4
functions
ARM: dts: at91: sama5d2: Add DMA bindings for the flx3 SPI function
ARM: dts: at91: sama5d2: Add DMA bindings for the flx1 I2C function
ARM: dts: at91: sama5d2: Add DMA bindings for the SPI and I2C flx0
functions
ARM: dts: at91: sama5d2: Add missing flexcom definitions
ARM: dts: at91: sama5d2: Remove i2s and tcb aliases from SoC dtsi
ARM: dts: at91: sama5d2_xplained: Add alias for DBGU
ARM: dts: at91: sama5d2_xplained: Describe the flx0 I2C function
ARM: dts: at91: sama5d2_ptc_ek: Add comments to describe the aliases

arch/arm/boot/dts/at91-kizbox3-hs.dts | 4 +-
arch/arm/boot/dts/at91-kizbox3_common.dtsi | 48 +--
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 64 +---
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi | 12 -
arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts | 12 -
arch/arm/boot/dts/at91-sama5d2_icp.dts | 42 +--
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 14 +-
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 42 ++-
arch/arm/boot/dts/sama5d2.dtsi | 295 +++++++++++++++++-
9 files changed, 347 insertions(+), 186 deletions(-)

--
2.23.0