Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp894892pxb; Tue, 1 Feb 2022 12:39:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJcCkAZBuN3R+8mTddGUSFeaQDPA+qI9m9Bc/FR7FXXTCJujSqu5NrCXoyCdaJyL6+/vQ/ X-Received: by 2002:a17:90b:1bc9:: with SMTP id oa9mr4282006pjb.217.1643747947307; Tue, 01 Feb 2022 12:39:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643747947; cv=none; d=google.com; s=arc-20160816; b=r++GV8enZdp9brfpc9QIByN2LFaLij1Mk/dC+JMWz32ITUs6WbNHXRy5Bdo4d8CNZD O+d/a5pZwHoedgQ36zSE9FBxjJaMi3XoWscbViZSk3y/VY0VK3/54lXNnFFbgeZdShI3 5sJuVdFYOZGk5efk8bEc0D8KW8fMtOUjzoWqqcY5fdTJMJKij8/YmdGtTbvJNhby7raM Hbg16WmiFID7JIHtXNzeQsKi2/hGaYBmcyA6nOOCBuwLX0tQeuyvOXLMyl6e1vUzjJ0J is5wa8aNR92WtIES97iTukKW4pQGY7DPBixgiKXAHxiQ3VITFRRGC+cjC63RwhnZBe8c C9RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=+f+qxb/2JG/2Zqg3oidf2ZmRyUP2goi1go4c4DbA7Lw=; b=dMOTQs7r4wi/c+Y0GZpWO+S2jqVapWLc09LUKrAu6NHVXD6aOb5MR8KM8q361XSnDL xZmT8SFr7edy7cwg1IeURl5ThnPXMbDirkub+YAax1uHRqDwqg5bwt3i9dNzjuAc2iXN ouveMTtiBUsFPr1i2wX8+6Uo63xcCY1IT4GQVtFIlBvDnwru4S3qaZZGz6uxuP7ZFyS1 9mWpq0Fy929L5RrNP+TUzpg6gajJhp4S6Fu/BMQFKBgLT5XHiLpthqwpy6WdeAzAv8L8 tuy+2ZH+X+smafNycWC8QjGqmBAF8Q7cCCuZ+rdi3F/WtJs+kpcpvIwsxuOOPjgBuoZ3 ndGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w22si16992176pfu.333.2022.02.01.12.38.45; Tue, 01 Feb 2022 12:39:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378573AbiAaNMv (ORCPT + 99 others); Mon, 31 Jan 2022 08:12:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378798AbiAaNMu (ORCPT ); Mon, 31 Jan 2022 08:12:50 -0500 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5DAAC061714; Mon, 31 Jan 2022 05:12:49 -0800 (PST) Received: from [2a04:4540:1400:f600:38a4:8fb:af3f:40b1] by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nEWU3-0006KS-Hy; Mon, 31 Jan 2022 14:12:39 +0100 Message-ID: Date: Mon, 31 Jan 2022 14:12:39 +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-GB To: Robert Marko , Felix Fietkau Cc: Luka Perkov , Russell King , Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Linux ARM , Linux Kernel Mailing List , devicetree References: <20220130145116.88406-1-nbd@nbd.name> <20220130145116.88406-4-nbd@nbd.name> <04c91b4e-e7c8-ac6a-f60a-0453a49122fa@nbd.name> From: John Crispin 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 14:00, Robert Marko wrote: > On Mon, Jan 31, 2022 at 1:57 PM Felix Fietkau wrote: >> >> >> 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. > > Hmm, this is new for me that you could do that to an ARMv8 (A53) core. > I know that you can run ARMv7 code but not that you can reduce it to > 32 bit only. > > Regards, > Robert the bootrom and vendor bootloader do not support 64bit more. John