From c0c3fed3ae9f725b68c32b7975c8c3fee9f1d80c Mon Sep 17 00:00:00 2001 From: Nicolas Ferre Date: Mon, 4 Oct 2021 14:05:54 +0200 Subject: [PATCH 1/4] ARM: at91: Documentation: add sama7g5 family Add the new SAMA7G5 ARMv7 based SoC family from Microchip to the AT91 documentation. Signed-off-by: Nicolas Ferre --- Documentation/arm/microchip.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/arm/microchip.rst b/Documentation/arm/microchip.rst index 9c013299fd3b..388f69998844 100644 --- a/Documentation/arm/microchip.rst +++ b/Documentation/arm/microchip.rst @@ -137,6 +137,18 @@ the Microchip website: http://www.microchip.com. http://ww1.microchip.com/downloads/en/DeviceDoc/DS60001476B.pdf + * ARM Cortex-A7 based SoCs + - sama7g5 family + + - sama7g51 + - sama7g52 + - sama7g53 + - sama7g54 (device superset) + + * Datasheet + + Coming soon + * ARM Cortex-M7 MCUs - sams70 family From 9da778c5db55a8b7433f740b8de513ae964bae1d Mon Sep 17 00:00:00 2001 From: Kavyasree Kotagiri Date: Mon, 4 Oct 2021 16:29:24 +0530 Subject: [PATCH 2/4] ARM: at91: Documentation: add lan966 family Add the new LAN966 ARMv7 based SoC family from Microchip. Signed-off-by: Kavyasree Kotagiri Acked-by: Alexandre Belloni [nicolas.ferre@microchip.com: move entry as part of new Cortex-A7 core type] Signed-off-by: Nicolas Ferre Link: https://lore.kernel.org/r/20211004105926.5696-3-kavyasree.kotagiri@microchip.com --- Documentation/arm/microchip.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/arm/microchip.rst b/Documentation/arm/microchip.rst index 388f69998844..e721d855f2c9 100644 --- a/Documentation/arm/microchip.rst +++ b/Documentation/arm/microchip.rst @@ -149,6 +149,14 @@ the Microchip website: http://www.microchip.com. Coming soon + - lan966 family + - lan9662 + - lan9668 + + * Datasheet + + Coming soon + * ARM Cortex-M7 MCUs - sams70 family From ee2e07a7afab3964faeb40bce312485bb81ebd65 Mon Sep 17 00:00:00 2001 From: Kavyasree Kotagiri Date: Mon, 4 Oct 2021 16:29:25 +0530 Subject: [PATCH 3/4] dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards Add documentation for Microchip LAN9662 PCB8291 and LAN9668 PCB8290 Evaluation Boards. Signed-off-by: Kavyasree Kotagiri Acked-by: Alexandre Belloni Signed-off-by: Nicolas Ferre Link: https://lore.kernel.org/r/20211004105926.5696-4-kavyasree.kotagiri@microchip.com --- .../devicetree/bindings/arm/atmel-at91.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation/devicetree/bindings/arm/atmel-at91.yaml index fba071b9af1d..aad351706117 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml +++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml @@ -150,6 +150,18 @@ properties: - const: microchip,sama7g5 - const: microchip,sama7 + - description: Microchip LAN9662 PCB8291 Evaluation Board. + items: + - const: microchip,lan9662-pcb8291 + - const: microchip,lan9662 + - const: microchip,lan966 + + - description: Microchip LAN9668 PCB8290 Evaluation Board. + items: + - const: microchip,lan9668-pcb8290 + - const: microchip,lan9668 + - const: microchip,lan966 + - items: - enum: - atmel,sams70j19 From 3efc443121180c2acc987929b3b7b86ca83e3ee5 Mon Sep 17 00:00:00 2001 From: Kavyasree Kotagiri Date: Tue, 31 Aug 2021 15:51:38 +0530 Subject: [PATCH 4/4] ARM: at91: add basic support for new SoC family lan966 This patch introduces Microchip LAN966 ARMv7 based SoC family of multiport gigabit AVB/TSN-capable ethernet switches. It supports two SKUs: 4-port LAN9662 with multiprotocol processing support and 8-port LAN9668 switch. LAN966 family includes copper and serial ethernet interfaces, peripheral interfaces such as PCIe, USB, TWI, SPI, UART, QSPI, SD/eMMC, Parallel Interface (PI) as well as synchronization and trigger inputs/outputs. Signed-off-by: Kavyasree Kotagiri Acked-by: Alexandre Belloni [nicolas.ferre@microchip.com: merged patches for this SoC introduction] Signed-off-by: Nicolas Ferre Link: https://lore.kernel.org/r/20210831102138.2476-1-kavyasree.kotagiri@microchip.com Link: https://lore.kernel.org/r/20211004105926.5696-5-kavyasree.kotagiri@microchip.com --- arch/arm/mach-at91/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index b09bb2279f7f..02f6b108fd5d 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -67,6 +67,15 @@ config SOC_SAMA7G5 help Select this if you are using one of Microchip's SAMA7G5 family SoC. +config SOC_LAN966 + bool "ARMv7 based Microchip LAN966 SoC family" + depends on ARCH_MULTI_V7 + select DW_APB_TIMER_OF + select ARM_GIC + select MEMORY + help + This enables support for ARMv7 based Microchip LAN966 SoC family. + config SOC_AT91RM9200 bool "AT91RM9200" depends on ARCH_MULTI_V4T