From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF76FC433FE for ; Mon, 31 Jan 2022 12:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378285AbiAaM50 (ORCPT ); Mon, 31 Jan 2022 07:57:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239213AbiAaM5Y (ORCPT ); Mon, 31 Jan 2022 07:57:24 -0500 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 341DCC061714; Mon, 31 Jan 2022 04:57:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=a4c0lJULIYhZL9lSY0iYSY6PkI9m9JaIMExgqqqU4N0=; b=GkaD/SxJ9buika23MArYqvcBBq 7/TF3Z14dg3YGX5m6IqyrAtIMqVKEBOJGsr5gagrr6LZzr4FgJzzhjvjxNMCM9YeJpZxzouT5jPSH iUOOXcOFg54FEERYqWbnM61Dim/sINEfz/CilGpD5CS5r3w7S7DREUC8RCBjHApuByt0=; Received: from p200300daa71e0b007047aa2ce81d99ce.dip0.t-ipconnect.de ([2003:da:a71e:b00:7047:aa2c:e81d:99ce] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nEWF8-0005lH-5M; Mon, 31 Jan 2022 13:57:14 +0100 Message-ID: <04c91b4e-e7c8-ac6a-f60a-0453a49122fa@nbd.name> Date: Mon, 31 Jan 2022 13:57:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v9 03/13] ARM: Add basic support for Airoha EN7523 SoC Content-Language: en-US To: Luka Perkov Cc: Russell King , Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Linux ARM , John Crispin , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Robert Marko References: <20220130145116.88406-1-nbd@nbd.name> <20220130145116.88406-4-nbd@nbd.name> From: Felix Fietkau In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31.01.22 11:51, Luka Perkov wrote: > Hello Felix, > > On Sun, Jan 30, 2022 at 3:56 PM Felix Fietkau wrote: >> >> From: John Crispin >> >> EN7523 is an armv8 based silicon used inside broadband access type devices >> such as xPON and xDSL. It shares various silicon blocks with MediaTek >> silicon such as the MT7622. >> >> Add basic support for Airoha EN7523, enough for booting to console. >> >> The UART is basically 8250-compatible, except for the clock selection. >> A clock-frequency value is synthesized to get this to run at 115200 bps. >> >> Signed-off-by: John Crispin >> Signed-off-by: Bert Vermeulen >> Signed-off-by: Felix Fietkau >> --- >> index 000000000000..ea23b5abb478 >> --- /dev/null >> +++ b/arch/arm/mach-airoha/airoha.c >> @@ -0,0 +1,16 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> +/* >> + * Device Tree support for Airoha SoCs >> + * >> + * Copyright (c) 2022 Felix Fietkau >> + */ >> +#include >> + >> +static const char * const airoha_board_dt_compat[] = { >> + "airoha,en7523", >> + NULL, >> +}; >> + >> +DT_MACHINE_START(MEDIATEK_DT, "Airoha Cortex-A53 (Device Tree)") > > Since this is Cortex-A53 core is there a reason why this is not placed > within arm64 directory? From what I can tell, it's a stripped-down core that only runs in 32-bit mode. - Felix