Skip to contentSkip to conversation

ARM: dts: add DT for lan966 SoC and 2-port board pcb8291

PATCH Superseded Kavyasree Kotagiri 1 participant 1 message Feb 10, 2022

Subsystems (2)

v5 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 ARM: dts: add DT for lan966 SoC and 2-port board pcb8291

This patch adds basic DT for Microchip lan966x SoC and associated board pcb8291(2-port EVB). Adds peripherals required to allow booting: Interrupt Controller, Clock, Generic ARMv7 Timers, Synopsys Timer, Flexcoms, GPIOs. Also adds other peripherals like crypto(AES/SHA), DMA, Watchdog Timer, TRNG and MCAN0.

---
v4 -> v5:
- Modified AES, SHA, TRNG node names as per generic names recommended.

v3 -> v4:
- Removed character 'x' from compatible string.
- Removed memory node as handled by bootloader.
- Renamed flexcom3 usart0 to usart3
- Added /chosen and /aliases nodes in dts file.

v2 -> v3:
- Enabling trng in dtsi itself.
- Removed "status=okay" dma0.
- Add gpio pin settings for can0(missed adding this in previous version)

v1 -> v2:
- Moved flx3 usart0 node to dtsi file.
- Removed status="okay" for dma0 to maintain consistency across nodes (which means enabling dma0 by default)

 arch/arm/boot/dts/Makefile            |   2 +
 arch/arm/boot/dts/lan966x.dtsi        | 237 ++++++++++++++++++++++++++
 arch/arm/boot/dts/lan966x_pcb8291.dts |  61 +++++++
 3 files changed, 300 insertions(+)
 create mode 100644 arch/arm/boot/dts/lan966x.dtsi
 create mode 100644 arch/arm/boot/dts/lan966x_pcb8291.dts
arch/arm/boot/dts/Makefile +2 -0
index 235ad559acb2..2040a990f08c 100644
@@ -735,6 +735,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \
 dtb-$(CONFIG_SOC_IMX7ULP) += \
 	imx7ulp-com.dtb \
 	imx7ulp-evk.dtb
+dtb-$(CONFIG_SOC_LAN966) += \
+	lan966x_pcb8291.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
 	ls1021a-moxa-uc-8410a.dtb \
 	ls1021a-qds.dtb \
arch/arm/boot/dts/lan966x.dtsi new file +237 -0

237 lines not on this page · raw message

arch/arm/boot/dts/lan966x_pcb8291.dts new file +61 -0

61 lines not on this page · raw message

Signature · 1 line
2.17.1