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 18, 2022

Subsystems (2)

v6 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v6 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.

---
v5 -> v6:
- Renamed dts file to lan966x-pcb8291.dts file.
- Disabled optional watchdog in dtsi file and enabled it in dts file.

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-pcb8291.dts |  64 +++++++
 arch/arm/boot/dts/lan966x.dtsi        | 238 ++++++++++++++++++++++++++
 3 files changed, 304 insertions(+)
 create mode 100644 arch/arm/boot/dts/lan966x-pcb8291.dts
 create mode 100644 arch/arm/boot/dts/lan966x.dtsi
arch/arm/boot/dts/Makefile +2 -0
index 235ad559acb2..c17a7308ff44 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-pcb8291.dts new file +64 -0

64 lines not on this page · raw message

arch/arm/boot/dts/lan966x.dtsi new file +238 -0

238 lines not on this page · raw message

Signature · 1 line
2.17.1