From patchwork Thu Mar 7 00:11:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13584923 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46E44C5475B for ; Thu, 7 Mar 2024 00:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TohGBMVe+HHG2QclkCqqEh8o5d1sdpqYwtn+pmfY8oQ=; b=Yk+FYgDHTOmknr mhfeEZDtZwIu49UFDqXpHZACj45zbHCXd3bZu80N9+xHvnMThzU+Cb6N7MBb8316UOqlg7pNI+jxE xa1Bup1fn2jfoC3mldD2yKKHjGXJc6UjaCUhKafuGU23UdVuHlItNBwE/NCNqP1+LUC+Oxw/QyYbm 0lCaF4se9PcxHgdBlqxgWdg2kIgbhX3A4tpjLTwKjbKS4ZL4S0r1Qa06/gjMgbYPdcYaZ5niarvhu LlvY/Vj53CWxBQ69GcMkEq0Zwnbb9CwcIP23X/putkp0S2tCD3QpAUqHVWdhrj4q9knuNrG/lFmxS xOIciRE7hIT/jLstTJOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1MH-00000002MG6-0KCs; Thu, 07 Mar 2024 00:11:37 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1MD-00000002MF3-2olG for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 00:11:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 04CA5CE23AE; Thu, 7 Mar 2024 00:11:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E10DDC43390; Thu, 7 Mar 2024 00:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709770291; bh=i5Iy82Vx71pxX2IFrQ3UutzjBxuNP99cZz6xqyd/3UQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nDQh2OD6Ya3fZkb7UZIzZIVW1ce9uIjIUY3rIG9XbyffUFdUXk81xrlMf8cyS08lz gEAwUFlbSokvmVzUrXxBT+GKV7d7A07IGqyEwREV8yu46XXlUsBseU8/fGLJXmVZHE qrKfxzUCObeVyMM6MyhddV/e7KsFjRv8yS0a0vzvEik4phscae46rKtyh7CfvQVlzj cn3h9uj1McbaBrvAxhty9F2Sx83o9P9sTfj558wKZ31ioXzcnGuI6efsrtD0kCZR6D IxtBo4CB+0gg1S50ECp9gM3em0cni5XFVg7xiLlvdMEm6flyeJpq6A1ihZRTuMY3gR 8Y5iFJpoiKH6Q== From: Lorenzo Bianconi To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nbd@nbd.name, john@phrozen.org, devicetree@vger.kernel.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, lorenzo.bianconi83@gmail.com, angelogioacchino.delregno@collabora.com Subject: [PATCH v3 1/4] dt-bindings: arm64: dts: airoha: Add en7581 entry Date: Thu, 7 Mar 2024 01:11:10 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_161133_901099_3C278235 X-CRM114-Status: UNSURE ( 8.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Introduce Airoha EN7581 entry in Airoha dts binding. Acked-by: Krzysztof Kozlowski Signed-off-by: Lorenzo Bianconi Reviewed-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/arm/airoha.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/airoha.yaml b/Documentation/devicetree/bindings/arm/airoha.yaml index 3292c669ee11..7c38c08dbf3f 100644 --- a/Documentation/devicetree/bindings/arm/airoha.yaml +++ b/Documentation/devicetree/bindings/arm/airoha.yaml @@ -22,6 +22,10 @@ properties: - enum: - airoha,en7523-evb - const: airoha,en7523 + - items: + - enum: + - airoha,en7581-evb + - const: airoha,en7581 additionalProperties: true From patchwork Thu Mar 7 00:11:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13584926 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E396AC54E58 for ; Thu, 7 Mar 2024 00:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=a+gTr52S28fTsbRqi7mBd0c6yqrgF/H6DROxcwLv5+4=; b=hNTV64KvYjYXsd Vd4G4b0wDPH8+J/GHkx8/5wg3MbwK5y0Rn5eMkBzOFAVSZsb7UwbYRm/lwoGLhUzIMvJhfmNJTSBb eSasEZ45s4/ArKGYzT1uCCF3IPdIIxtPRL9q0EsA0fV5WTPyhbMiQWdBBgcgYNdXVkC+0mPFXVw7t OvO00gDFuDdzgvixqnY41edTHbcS1nt5c6tUBj9HaiXaTbV6fjET5P37VR0KbFrkK8c9aIMyVxpxM qWDBqlmY0ZKP9ZqFwvup26MjfIAWKjoX+dH5P7lK0mKcqhHfuGh5eNaIXzFn80sT7zCyFRx7l8K6K ar2YUYvGrYna8yg9sg0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1MI-00000002MH3-4B7q; Thu, 07 Mar 2024 00:11:39 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1MG-00000002MFU-1Ts7 for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 00:11:37 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6F09761A6C; Thu, 7 Mar 2024 00:11:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA543C433C7; Thu, 7 Mar 2024 00:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709770295; bh=L4vVeHTBO/VY4Q1UNjurkimszNkTnXTXyrey7li0qmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rU9oX6LrnrKg8be/tvP1/R2M58BhZKouir5ZeKGuDpAFXmZo74EzrXoQXx86TfFJo jklcAtD2SbwTgn43g5n988/lfbLU2zG2ZzYsp5raMtgoBF9GSZXzuyGHcdAMZtdDLA +9Ij4WVaM28v2HC+EPx54XHxboYHrYbFx6mDAbefpGSZ5RM6gGGq60uMYCNX0lTB1x zmaNzASxHzlCQOasXv15Vy6B+r8gNaCXt/79gLXzjELb4Rbfy2XZkhkOL9dDG0NSxM 4PfrBBw4zWlU3jWZBgfJWCMXBGnlnJycCaw3+z8CzfinF/0UqHHuThANGqkunqJRZI riiTynTypHsbQ== From: Lorenzo Bianconi To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nbd@nbd.name, john@phrozen.org, devicetree@vger.kernel.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, lorenzo.bianconi83@gmail.com, angelogioacchino.delregno@collabora.com Subject: [PATCH v3 2/4] arm64: dts: Add Airoha EN7581 SoC and EN7581 Evaluation Board Date: Thu, 7 Mar 2024 01:11:11 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_161136_568442_F575853E X-CRM114-Status: GOOD ( 13.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Daniel Danzberger Introduce the Airoha EN7581 SoC's dtsi and the Airoha EN7581 Evaluation Board's dts file, as well as the required Makefiles. Signed-off-by: Daniel Danzberger Co-developed-by: Lorenzo Bianconi Signed-off-by: Lorenzo Bianconi Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/airoha/Makefile | 2 + arch/arm64/boot/dts/airoha/en7581-evb.dts | 26 ++++ arch/arm64/boot/dts/airoha/en7581.dtsi | 154 ++++++++++++++++++++++ 4 files changed, 183 insertions(+) create mode 100644 arch/arm64/boot/dts/airoha/Makefile create mode 100644 arch/arm64/boot/dts/airoha/en7581-evb.dts create mode 100644 arch/arm64/boot/dts/airoha/en7581.dtsi diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index 30dd6347a929..21cd3a87f385 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 subdir-y += actions +subdir-y += airoha subdir-y += allwinner subdir-y += altera subdir-y += amazon diff --git a/arch/arm64/boot/dts/airoha/Makefile b/arch/arm64/boot/dts/airoha/Makefile new file mode 100644 index 000000000000..ebea112ce1d7 --- /dev/null +++ b/arch/arm64/boot/dts/airoha/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_AIROHA) += en7581-evb.dtb diff --git a/arch/arm64/boot/dts/airoha/en7581-evb.dts b/arch/arm64/boot/dts/airoha/en7581-evb.dts new file mode 100644 index 000000000000..cf58e43dd5b2 --- /dev/null +++ b/arch/arm64/boot/dts/airoha/en7581-evb.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/dts-v1/; + +/* Bootloader installs ATF here */ +/memreserve/ 0x80000000 0x200000; + +#include "en7581.dtsi" + +/ { + model = "Airoha EN7581 Evaluation Board"; + compatible = "airoha,en7581-evb", "airoha,en7581"; + + aliases { + serial0 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x2 0x00000000>; + }; +}; diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi new file mode 100644 index 000000000000..732080cf6f2b --- /dev/null +++ b/arch/arm64/boot/dts/airoha/en7581.dtsi @@ -0,0 +1,154 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +#include +#include + +/ { + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + npu-binary@84000000 { + no-map; + reg = <0x0 0x84000000 0x0 0xA00000>; + }; + + npu-flag@84B0000 { + no-map; + reg = <0x0 0x84B00000 0x0 0x100000>; + }; + + npu-pkt@85000000 { + no-map; + reg = <0x0 0x85000000 0x0 0x1A00000>; + }; + + npu-phyaddr@86B00000 { + no-map; + reg = <0x0 0x86B00000 0x0 0x100000>; + }; + + npu-rxdesc@86D00000 { + no-map; + reg = <0x0 0x86D00000 0x0 0x100000>; + }; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + + core1 { + cpu = <&cpu1>; + }; + + core2 { + cpu = <&cpu2>; + }; + + core3 { + cpu = <&cpu3>; + }; + }; + }; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0>; + enable-method = "psci"; + clock-frequency = <80000000>; + next-level-cache = <&l2>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x1>; + enable-method = "psci"; + clock-frequency = <80000000>; + next-level-cache = <&l2>; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x2>; + enable-method = "psci"; + clock-frequency = <80000000>; + next-level-cache = <&l2>; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x3>; + enable-method = "psci"; + clock-frequency = <80000000>; + next-level-cache = <&l2>; + }; + + l2: l2-cache { + compatible = "cache"; + cache-size = <0x80000>; + cache-line-size = <64>; + cache-level = <2>; + cache-unified; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gic: interrupt-controller@9000000 { + compatible = "arm,gic-v3"; + interrupt-controller; + #interrupt-cells = <3>; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x0 0x09000000 0x0 0x20000>, + <0x0 0x09080000 0x0 0x80000>, + <0x0 0x09400000 0x0 0x2000>, + <0x0 0x09500000 0x0 0x2000>, + <0x0 0x09600000 0x0 0x20000>; + interrupts = ; + }; + + uart1: serial@1fbf0000 { + compatible = "ns16550"; + reg = <0x0 0x1fbf0000 0x0 0x30>; + reg-io-width = <4>; + reg-shift = <2>; + interrupts = ; + clock-frequency = <1843200>; + }; + }; +}; From patchwork Thu Mar 7 00:11:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13584924 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6CC46C54E5C for ; Thu, 7 Mar 2024 00:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QUKi+AeyuK9QXLqXXaFw1xVvg9/xepXSWZmWAU2m774=; b=4u/oXaNYZh6Et7 JAyFrDKaH4OBFjpAZjJLwkle32ly9p/gtdc4dDQWIpa/jFmJUUVSAG07f9iLmq51Pl3ewLdZklnUH a0uML+fWnxQlVTlNLxrJvdZct5FfB8L0XDXl9FeiCDN2/zKogWP8kvyl7VaWuWUW5RguEYRnEgdD0 OQZKaMouRh27Yk/sVPawIsug+7l6AM285gG24RMUcSSRYI5g+wiA9bMgYSFmDF8pu98pHBI+vX/Ac 7HPB2yW1f4Umsgb7GvQlha5vNYtNyIQc7MkHLJBKmjVL14iEzFvbgwtlAo5HfkSesxvx87seQdyo2 C1SjdrW2t6iVopP4M9ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1MN-00000002MJ9-3q6L; Thu, 07 Mar 2024 00:11:43 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1ML-00000002MHo-1KVu for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 00:11:42 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 83E3BCE21C0; Thu, 7 Mar 2024 00:11:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6945EC433F1; Thu, 7 Mar 2024 00:11:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709770298; bh=tkgMvmfM4Ev+quUP/UBgA3JD1BvYmD9imiGAqjSU3c8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nqk6OteB4fnGN6ueyhP9k6GA26DzxWd1gpkk7TQxM1YCcmUv5zXPCY91BHvWm1uWz ExPua0AtIIXdJgxyiuXf1c7Ea1vqp7GSYJFWhdAiHyVOT3T4NyWubE4HUSPBQdBm3o smszIzlafXLERNa8fbm7c6MXik1fnaRzJCU2BpHggTYcR+2AA6UFNRYq/BhWThOy3c e2/sLbtQRDVbn3NFYlvClwfubCfV8AAbk4GYSOyaXyjipfkzka62ThNPrf7ld57YcL mqwJzwgtHUoGozqqXCg4BvSC4ppBawbM5U1zqTelCAM4s1B8u+cFPIUes/Vw61VLgm O6fDbYLttY5FA== From: Lorenzo Bianconi To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nbd@nbd.name, john@phrozen.org, devicetree@vger.kernel.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, lorenzo.bianconi83@gmail.com, angelogioacchino.delregno@collabora.com Subject: [PATCH v3 3/4] arm64: add Airoha EN7581 platform Date: Thu, 7 Mar 2024 01:11:12 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_161141_649005_0755B533 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Daniel Danzberger Introduce the Kconfig entry for the Airoha EN7581 multicore architecture available in the Airoha EN7581 evaluation board. Signed-off-by: Daniel Danzberger Signed-off-by: Lorenzo Bianconi --- arch/arm64/Kconfig.platforms | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 24335565bad5..bbe61e233034 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -8,6 +8,19 @@ config ARCH_ACTIONS help This enables support for the Actions Semiconductor S900 SoC family. +config ARCH_AIROHA + bool "Airoha SoC Support" + select ARM_AMBA + select ARM_GIC + select ARM_GIC_V3 + select ARM_PSCI + select HAVE_ARM_ARCH_TIMER + select COMMON_CLK + help + This enables support for Airoha EN7581 multicore architecture + available on the following SoCs: + - Airoha EN7581 Evaluation Board + config ARCH_SUNXI bool "Allwinner sunxi 64-bit SoC Family" select ARCH_HAS_RESET_CONTROLLER From patchwork Thu Mar 7 00:11:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13584925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E77AFC54E5E for ; Thu, 7 Mar 2024 00:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sIg1BgcG/Dn5S6EjOYQhwPL/BBfS2nABOIW2z+4ldm4=; b=c3tNxJbg9glXai dHd3dQZIs2SYZQZMYYYqHw9uCix5A9VZoDfDoPRIs0hlcc2mYePwiAniHPzin8i+im3+o45cdDnyp SzsKGky69ABoLKmW8jfmKmWoIzc0QxwkiXG0AOkhcELf1QmETey6G79WmD73pjUfaXyWtVqv0Q9mC kB+dBSlv4Zm1nQvhPyJEpKevJQlBNSkJvWdXJASHgggokYXC7JppF0dwpyCz2TkUo/1HEeVIdLQ87 XMsiB4wHTGC4jZ0Xqin4peJGFhylRkPi7qPGQJOPnSJZWnBK/1knqckEs+XV16l/WPRi5HNdyNt5E 1U30fhTyoNf9VfRJ74YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1MS-00000002MKy-0UYr; Thu, 07 Mar 2024 00:11:48 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1MO-00000002MJ0-3WTu for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 00:11:46 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 19C3FCE23A6; Thu, 7 Mar 2024 00:11:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1E5FC433F1; Thu, 7 Mar 2024 00:11:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709770302; bh=y2M8JkoMn7TZca4U85J5bTy+l7rxHSAX7foeqXZJaYw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KTMaWIiUJl24BHCHerhyNvT910mipAdBvJJmqwgWMqDsBJazNjgpDwmFsyCw4/y4G aF3Jmi1EnHshx55N97EoiAjcFDz2AyuLd0Dd5/8wEkQ48cLvfrAXf4trLoRKXJrks/ fpNsBkDxLTzUEcfS9Md6IBtOJp1sRBp3E/bNs/Ff1dNmkQ6za2+hjleNS/5uL2GCXl Vu7b4jjvh1abJVHFSUAqze2EghjjV7zSE7sxpDjoy46NuFOA440NsnXDw6TUU929bL T0OKMbjnIor3GIdFg0eJ8p8GazkeVDi59KxFegD8RGC65dxOI7gg7EAdhLiEgXwDcg jnkm2HB2SK96g== From: Lorenzo Bianconi To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nbd@nbd.name, john@phrozen.org, devicetree@vger.kernel.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, lorenzo.bianconi83@gmail.com, angelogioacchino.delregno@collabora.com Subject: [PATCH v3 4/4] arm64: defconfig: enable Airoha platform Date: Thu, 7 Mar 2024 01:11:13 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_161145_118491_4F2052D2 X-CRM114-Status: UNSURE ( 8.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Daniel Danzberger Enables the ARCH_AIROHA config by default. Signed-off-by: Daniel Danzberger Signed-off-by: Lorenzo Bianconi --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e6cf3e5d63c3..aa44791a47e6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -34,6 +34,7 @@ CONFIG_KEXEC=y CONFIG_KEXEC_FILE=y CONFIG_CRASH_DUMP=y CONFIG_ARCH_ACTIONS=y +CONFIG_ARCH_AIROHA=y CONFIG_ARCH_SUNXI=y CONFIG_ARCH_ALPINE=y CONFIG_ARCH_APPLE=y