linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Crispin <john@phrozen.org>
To: Robert Marko <robert.marko@sartura.hr>, Felix Fietkau <nbd@nbd.name>
Cc: Luka Perkov <luka.perkov@sartura.hr>,
	Russell King <linux@armlinux.org.uk>,
	Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
	soc@kernel.org, Rob Herring <robh+dt@kernel.org>,
	linux-mediatek@lists.infradead.org,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	devicetree <devicetree@vger.kernel.org>
Subject: Re: [PATCH v9 03/13] ARM: Add basic support for Airoha EN7523 SoC
Date: Mon, 31 Jan 2022 14:12:39 +0100	[thread overview]
Message-ID: <e3ac8800-e0b8-7c7b-a5b9-e32dfa795731@phrozen.org> (raw)
In-Reply-To: <CA+HBbNE5nRmFAR44gYMW+Uqi_5e4s+4wBGoQTUbnhC0Pdkc6iw@mail.gmail.com>



On 31.01.22 14:00, Robert Marko wrote:
> On Mon, Jan 31, 2022 at 1:57 PM Felix Fietkau <nbd@nbd.name> wrote:
>>
>>
>> On 31.01.22 11:51, Luka Perkov wrote:
>>> Hello Felix,
>>>
>>> On Sun, Jan 30, 2022 at 3:56 PM Felix Fietkau <nbd@nbd.name> wrote:
>>>>
>>>> From: John Crispin <john@phrozen.org>
>>>>
>>>> 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 <john@phrozen.org>
>>>> Signed-off-by: Bert Vermeulen <bert@biot.com>
>>>> Signed-off-by: Felix Fietkau <nbd@nbd.name>
>>>> ---
>>>> 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 <nbd@nbd.name>
>>>> + */
>>>> +#include <asm/mach/arch.h>
>>>> +
>>>> +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

  reply	other threads:[~2022-01-31 13:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220130145116.88406-1-nbd@nbd.name>
2022-01-30 14:51 ` [PATCH v9 01/13] dt-bindings: Add vendor prefix for Airoha Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 02/13] dt-bindings: arm: airoha: Add binding for EN7523 SoC and EVB Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 03/13] ARM: Add basic support for Airoha EN7523 SoC Felix Fietkau
2022-01-31 10:51   ` Luka Perkov
2022-01-31 12:57     ` Felix Fietkau
2022-01-31 13:00       ` Robert Marko
2022-01-31 13:12         ` John Crispin [this message]
2022-01-30 14:51 ` [PATCH v9 04/13] ARM: multi_v7_defconfig: Add " Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 05/13] dt-bindings: Add en7523-scu device tree binding documentation Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 06/13] clk: en7523: Add clock driver for Airoha EN7523 SoC Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 07/13] ARM: dts: add clock support for Airoha EN7523 Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 08/13] dt-bindings: PCI: Add support for Airoha EN7532 Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 09/13] PCI: mediatek: Allow building for ARCH_AIROHA Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 10/13] ARM: dts: Add PCIe support for Airoha EN7523 Felix Fietkau
2022-01-30 14:51 ` [PATCH v9 11/13] dt-bindings: arm: airoha: Add binding for Airoha GPIO controller Felix Fietkau
2022-02-02  9:16   ` Bartosz Golaszewski
2022-01-30 14:51 ` [PATCH v9 12/13] gpio: Add support for Airoha EN7523 " Felix Fietkau
2022-01-31 11:13   ` Linus Walleij
2022-02-02  9:17   ` Bartosz Golaszewski
2022-01-30 14:51 ` [PATCH v9 13/13] ARM: dts: add GPIO support for Airoha EN7523 Felix Fietkau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e3ac8800-e0b8-7c7b-a5b9-e32dfa795731@phrozen.org \
    --to=john@phrozen.org \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=luka.perkov@sartura.hr \
    --cc=nbd@nbd.name \
    --cc=olof@lixom.net \
    --cc=robert.marko@sartura.hr \
    --cc=robh+dt@kernel.org \
    --cc=soc@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).