From patchwork Sat Mar 9 09:32:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13587558 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 81657C54798 for ; Sat, 9 Mar 2024 09:33:04 +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=KmxeeOlZIUaz+G/quyexhEqyyEr+CAQucGMHOlt5NEE=; b=bOmV7H5hLRFKMc KRezaUF3QJDZ9SMgYfYBa6t/jsEKjDs5fuFNOzej5Dxl6XgUbdSv7nFbD3gUD4asa3YUjGgiRgiC6 374oKXDbfcXaU7UXUe81DNk6TT6vZWEMz2an+DvC8eiy6Dyf5KifcxvB0wFL60B5rsCRhBZWGfhxD XOkGzf7/URqor4bkXfsX7YGyst8eDMNiS2EQ10vxeFZkdtY1l7Z5vR+dl7Zw9Ef4Vg7vg19S/tUfp pqbBz3QaAqExRb/oWXFs8ZVK8Q3cIw5dXejulLTIw3NoheEM35vXduqu8XOHvd9T8O2MZVAGFr5jr mYpHK98C3eIroyPXJNvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rit4T-0000000D0QJ-05f0; Sat, 09 Mar 2024 09:32:49 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rit4O-0000000D0PO-3Snd for linux-arm-kernel@lists.infradead.org; Sat, 09 Mar 2024 09:32:46 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 608B4602F4; Sat, 9 Mar 2024 09:32:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 877B8C433C7; Sat, 9 Mar 2024 09:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709976764; bh=51IkfJUdDbep8bKDV1NsL+iKRnWKcY4feKhjP1/tvoI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lQomdCuwRMm3DeJEDx7MZlr/Up22GYXUl3NwuHNpWRagY0vmjKAhGP/AcjP3jNuvj q7BZZzMr10ODCATU0NA6U0SvJDNCw2jwQRkUrkSeTym51qillwR/BQzJNwjgtFf8Zx 7RJ6+o8kcEiEkW/MvEnqASnmUvGP6rOWN3bx5mZIxvw6peBctyQmHFfV/kwAaln1/Y 9iafaU2zJRpdjcN5ntn5GVBxxO1QJMtojQW/8/FJoD0PmzX+54zhub9B6eqkaRQlBa sgqNxWVgXkyo1FshTHpElHoThe2i5NUPloBfS+4aEimxEJZXYaYlENEUFgyyio662/ 6ew1ElWcRvGeA== 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 v4 1/4] dt-bindings: arm64: dts: airoha: Add en7581 entry Date: Sat, 9 Mar 2024 10:32:14 +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-20240309_013244_922275_D01BD460 X-CRM114-Status: UNSURE ( 7.56 ) 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 Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Lorenzo Bianconi --- 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 Sat Mar 9 09:32:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13587559 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 724FBC54E41 for ; Sat, 9 Mar 2024 09:33:05 +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=o3iGhusY9++ZvmXbLopfWKSHy/OrnjrOlyhyt2btbgY=; b=BXVOHhdTzuVlGH +bxA0AdTw3UOrOeuPICbEUExNrvRkSn+2bfgxlntjdjPTFFvRelqUZ6+cmg39IzuZPeZ7u9iATyC1 FXnMedoqwif8E7omquktT2zvC+iQmqK4SXgyfn+qva3ERWdNcKs114VGP6iD/2rLyp9x4cDOG8NdP V3GFndV1ZfzQBBAsDc4ioc/gfmtF1PzLSJ/I4iGQfIknU+FwV6CjMdwwpGSKq26aUksGnj7c9nSQK 31QIncGgwraLbTeK26atLgYLvOoPEWh+pnRuKpIS3S/6vpoHcHQ/gbOsfaRCWGc0AeTaRsdrSmPXK EFsyhmw2VMFL4D8m6Rxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rit4X-0000000D0Rq-360c; Sat, 09 Mar 2024 09:32:53 +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 1rit4U-0000000D0QP-1lwf for linux-arm-kernel@lists.infradead.org; Sat, 09 Mar 2024 09:32:51 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 805E9CE022B; Sat, 9 Mar 2024 09:32:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68CB4C433F1; Sat, 9 Mar 2024 09:32:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709976767; bh=BRH4Qmjjbw0kBo+08DFm4B7vnOQHxcAgq93btXOaRko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q11u6Jr3leuBnmkfA+dzUcmOXJ9t/8SELWURGk/m8DscxQvst278h0jk11nE/vxOy 1d753+25n6OF1XacB/HBtwbQy2RIEuDO4DWcss9IjKN7S/5XRnZlYi718tUSZgbxHP tXW4LmvOwMNjAyEqI5z6sassTC/c/2oG8YkXLv4FtlX5N+P5uzkddHh+v9A1NF1lHX 6rbCu8oNlGpc5iN/IjQZODQuD0cSZ+qx5c0wINDa31QGOYtr+3wr5Ev+3eWWs0n9eV VsK9zP+Z1RbTiXOiurBoR/c7eCd8zc9Xxerfh6jxiR4nk1PnoFQTiMqfIdQ7ky2vQH yFQolw8a/OwCQ== 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 v4 2/4] arm64: dts: Add Airoha EN7581 SoC and EN7581 Evaluation Board Date: Sat, 9 Mar 2024 10:32:15 +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-20240309_013250_856551_8B09C788 X-CRM114-Status: GOOD ( 13.06 ) 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. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Daniel Danzberger Co-developed-by: Lorenzo Bianconi Signed-off-by: Lorenzo Bianconi --- 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..55eb1762fb11 --- /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 Sat Mar 9 09:32:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13587560 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 AB146C54E4A for ; Sat, 9 Mar 2024 09:33:07 +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=OTdk3qOr90OV8BWhNTKPcU5+rq7I0y79flhM1gDPSJo=; b=lYNoefcct7g5wF 043RgUBXWybLgXnA/DNYqdYRalmEc0FvC4OzPlCQ22jp8SCN4zS7mwI5yY5OdTv3ORTRGxQiMKlgr Q5VOJn+S4lGnV7fnMA+AeHF6e1bZ6O/NuKIf8kzQluiaCQbekhVIcFPt9bACDNv/Bx+zYi7Wgnqp2 HAQbt9gmZXTgb+WmYpynRxnxzofYdnZguLiw5BNKlj8XYmDH2sBac4LJREc99STy4I7lmZXcu0ezY UTvaA6Q0PVPeHltTfWZlVOlN/90Kjaumkoo+66MOj/fYdAgHcCJYSU0uzqxK9+UxLiP38e78MQFyE aekNoBJISgTVGKwunJYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rit4b-0000000D0Sv-18pr; Sat, 09 Mar 2024 09:32:57 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rit4W-0000000D0Qy-26er for linux-arm-kernel@lists.infradead.org; Sat, 09 Mar 2024 09:32:53 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E8211602DC; Sat, 9 Mar 2024 09:32:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46988C433F1; Sat, 9 Mar 2024 09:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709976771; bh=tiqq5KY1TM1krZfjrPNbb2ZILJ3i52ym+y5lcEj0Xmo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rTC1W0suSSxkLbg5K1Hq/0KO+wajOs2zIa2ZBIeTz9zS2T9dZ9v4qRPNmNtaFdyxM pvCQguxgGq7an6HA4NLwB1MPtYI7qlGWSspI19uUn7Rh1yXoYXlA4VLdRIHc8yUdJX e8arqSXBLmAebasLZlSQAcn8FG78NQDyqR1m7tgGv7aPxkI+lsw10T6HiJeTvHIw/a goTDpsMzE1GUkMdpRYpT1vNvVSGwvkTv9sNg9J3pZe2hhJz8JDWd06tTYABHphVJ7Z 0mXLFZa6FK/Lv2GSFW42wLL8hONX8reIEkL32Z0J8e+WjD1z9urIenRIb57wahyFe1 IkRJSy1jCtmJA== 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 v4 3/4] arm64: add Airoha EN7581 platform Date: Sat, 9 Mar 2024 10:32:16 +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-20240309_013252_621078_98558543 X-CRM114-Status: UNSURE ( 7.91 ) 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 Co-developed-by: Lorenzo Bianconi Signed-off-by: Lorenzo Bianconi --- arch/arm64/Kconfig.platforms | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 24335565bad5..36604db205a4 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -8,6 +8,13 @@ config ARCH_ACTIONS help This enables support for the Actions Semiconductor S900 SoC family. +config ARCH_AIROHA + bool "Airoha SoC Support" + select ARM_PSCI + select HAVE_ARM_ARCH_TIMER + help + This enables support for the ARM64 based Airoha SoCs. + config ARCH_SUNXI bool "Allwinner sunxi 64-bit SoC Family" select ARCH_HAS_RESET_CONTROLLER From patchwork Sat Mar 9 09:32:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13587562 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 8F818C54798 for ; Sat, 9 Mar 2024 09:33:11 +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=P3bLhQEuXtOjgU yFzQdHqU1ODHPGI1qz0KxN5CDszbju/HBjqQHeB3OmIK3TpZylas7RD5Ld1pqRwMAl3lJEx6/Joa7 CqcZi28lS8jqZMCczOwXrFKHITwpT4+6ubNjG5BD5aA+8BStVKNT1BbLKBnDSzxpBsYuWxzvBhh6s vbXe5OXaVoAQcuJzzQoaqiFgeIec2Kmmlczdfap8GbwxhSfueb2+cTmDDBr3UG0mfAbaJVk5wYEC9 0GTdKzVEOk/qIQfWcRpCKHWcKUlNcEQoGdwfuJfZdYc0W7U4eGA6DgPdAmoh8JU2eX7xS9wB8bQ+z DAVKJypZzekHChBLEdhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rit4f-0000000D0Ub-1Btu; Sat, 09 Mar 2024 09:33:01 +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 1rit4c-0000000D0St-1vh1 for linux-arm-kernel@lists.infradead.org; Sat, 09 Mar 2024 09:32:59 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 1CA13CE0226; Sat, 9 Mar 2024 09:32:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 035EDC433C7; Sat, 9 Mar 2024 09:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709976775; bh=y2M8JkoMn7TZca4U85J5bTy+l7rxHSAX7foeqXZJaYw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A+Bt/kDDCl2gxkQtUoPOW6RU39nSYddFxJ/46XHQsEkkbcf/iMkZRPrB/2ziVh7+A xf5gsCnG9uUW5BmKBG5KgK4dnsV+oI8vSfG7pNGKKBR/guB4tDpgJPGymAj01CpIPh EIpF0cRqvNd7gGLFrGeUsqimzAyFMZacQe+JUtUU5MRiOhRZssnMNmkX7QrhYEQNLQ UT2TRJQfTp4fwcdmYzF+DZrV1ldZzyqDAb8+GdDgPA2v5jSKDVhAsV8+by3xZpcnh9 Fbi0KnZKS09iNMYudHEKuhDFnKYAaDoClim19SV14Lo3wpoaGUp2HNod5kVGDYkAZE 2BN/0ijgDHO3g== 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 v4 4/4] arm64: defconfig: enable Airoha platform Date: Sat, 9 Mar 2024 10:32:17 +0100 Message-ID: <65737ca5506371ef84c3a055e68d280f314e3b41.1709975956.git.lorenzo@kernel.org> 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-20240309_013258_703209_B109FD96 X-CRM114-Status: UNSURE ( 7.57 ) 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