Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9887076rwr; Fri, 12 May 2023 00:12:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5iuAR1H9EanP61PVkZXqyvFYg/c8SaOfUCziUSvvQov72MbdaheGjkWAkv4AtzM80WgBnJ X-Received: by 2002:a17:903:244d:b0:1a5:2540:729 with SMTP id l13-20020a170903244d00b001a525400729mr31585894pls.56.1683875552567; Fri, 12 May 2023 00:12:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683875552; cv=pass; d=google.com; s=arc-20160816; b=JsQhc6Ya3gRIqhf5AkRV3O3uSDs8HPe9F92d6PZhodsDbq2H7AXhq/aVvriHOet737 PElKCu/MQpI/7x51sjvt8aBfHnCLELABBkhQx5aBuU++SmYzDW65Qg+vXwdEYUqipglN 1p8iOtrf9U7ilXhVKjjEQg5Ibxw5cOsHzjTKZfQqLwkwO9lwkuqBVWJmFp6e4+XvotG/ D5T4KAC2c1wyrKs6gboRhno3pUc9lyykuxAw+E45c2tqzgAy+InV3zQKxKaOHBgcRDUN eG6SfMw6Xt5RzbGS7xa6ZqqJAUPHvj5AIaM+pAxEvz3DK/0nTzaE/2/bt/22jP2bBLTV ullA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=AYf9MkzLlI9UHuY0kmi5781fqnXNqXjrqCdSN4OQ+No=; b=ECaR+ZuYD7SxJZsh1OKUaiGCdt38QG0Id9pV5o4kebXG/CzYCjUAFq2ba6wqqi50G5 gOSiUE36EPpvYMv5gVJziTnzS/DhOQhCMaK6N//BzFx62oRqNhdctzo4l6SISGG3ZrTe E/zJYIey4bHTp1YK0rCBWKJPtvO/jflnHVLBst8UODKDGvrtvVhGBirArbN/WJPeL5FH V/0r2/t1+Nb+HkaL3Toubmp7pwBAgvpn8R3Rs1pIEysvJE/EngMMfFNNGPokbKB2XZMa clx3kdBuw0YfzejIZxOo3KCg5GL8z9SYSUN5+7gifwkndR3j/seK31jG7iTGlTpqqiFj 4Tww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=eDOefBAV; arc=pass (i=1 spf=pass spfdomain=amlogic.com dkim=pass dkdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a24-20020a170902b59800b001ac3f74f488si8401992pls.79.2023.05.12.00.12.20; Fri, 12 May 2023 00:12:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=eDOefBAV; arc=pass (i=1 spf=pass spfdomain=amlogic.com dkim=pass dkdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240076AbjELHEw (ORCPT + 99 others); Fri, 12 May 2023 03:04:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240062AbjELHEp (ORCPT ); Fri, 12 May 2023 03:04:45 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2095.outbound.protection.outlook.com [40.107.117.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC2A2D2CC; Fri, 12 May 2023 00:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hJmc13D2+kfthVMKwfWSXrFYs1XXROh7qEwHYa+4BrKIF9WSufjacdiuEUjWX/DOf9opEu30HW6/P+9CVwOVvRFLN5XHHsMro+yerg9v6TWdQ1PkVrU/ZOmpR9rnAK6kraDvLybMgL0/fmdjTGqA1W9sJeDLZyNy8gF6qUWs0rssFB2xO2IkGIevuNMSImEFnfXVP2a/EnSp2ar+d4nDeTMs/J3hg9bBXsjtvNHYPcNrcVeOSfcqSsphZcr4Pg7oPWyN4snlrYZAjPSRt7+7mHXhs5hLBhDm853EKWIAmjF7a1H/vI6K+VCTRkYWCs+GgHwWO1PTIwQXxgaP8CdCXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AYf9MkzLlI9UHuY0kmi5781fqnXNqXjrqCdSN4OQ+No=; b=M19bxxgHmSfB3W9oREDCE7dcW64TBEOiUHKuHpVqG411a09B0Fd8pw8lSvNq1E1v8vSrIBC0FPpMkmkssCmeUjfP5zcxGA6CftdcWHq/qorP2bdqlMf7W/XbXZDpPIm7oI77zVy9B1voJseGyFlvjo85sIcY6R8tTcV6Wxz1S5jOF2WiUwT2wJO+zrxTBu8/E2ghfcfDU7ImtCf0swRl3dXQLXJaAYMJ0XBYEvA0hrFheq9pxLkwZqBJUy39lo9VWqIQC1PDCtcgEcPweXj2cW2ZDyCZaN1hLBf8muNiXjkGdv9mvgA1d9INpYHzVMdxEWEOoZGevp04MUj7mMKXAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amlogic.com; dmarc=pass action=none header.from=amlogic.com; dkim=pass header.d=amlogic.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amlogic.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AYf9MkzLlI9UHuY0kmi5781fqnXNqXjrqCdSN4OQ+No=; b=eDOefBAV+cm7bDLQUA1PMZDA7191Y0ejmZ6unCiN94iLOEXUtViIVWAqoUlyh2tGDhzr4jkAFIM2PzUHvtlQmF7RW2QzaQoKaUgc8oVjQpHT+kPbskEXkd5dwA9tXQ3Di3/7U5+OKVLRh0WnzLaH89EXwfm32m1WCyHJlMbyznad4ZU6EI/MNaLH4uvIJwkD60cOl+SkVsf4HpmcqCx/gtb+Ow+CRYwzEhK53i7GZw84FoqlADHCtZVyKFccAih3wnfNciqF3Tarh/iCAjeyC0tfIdHubn3TuPYalQlOvWG0ajq/akPbg3HDPzVl1QRq1ajQTyk8yq52wC9SetTCkg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amlogic.com; Received: from SG2PR03MB2734.apcprd03.prod.outlook.com (2603:1096:3:21::22) by KL1PR03MB6921.apcprd03.prod.outlook.com (2603:1096:820:bb::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.23; Fri, 12 May 2023 07:03:45 +0000 Received: from SG2PR03MB2734.apcprd03.prod.outlook.com ([fe80::9c6d:3128:b370:5fb4]) by SG2PR03MB2734.apcprd03.prod.outlook.com ([fe80::9c6d:3128:b370:5fb4%6]) with mapi id 15.20.6387.023; Fri, 12 May 2023 07:03:45 +0000 Message-ID: Date: Fri, 12 May 2023 15:03:26 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH V4] arm64: dts: add support for C3 based Amlogic AW409 Content-Language: en-US To: neil.armstrong@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Kevin Hilman , Rob Herring , Krzysztof Kozlowski References: <20230510091129.151669-1-xianwei.zhao@amlogic.com> From: "xianwei.zhao" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: TY2PR06CA0005.apcprd06.prod.outlook.com (2603:1096:404:42::17) To SG2PR03MB2734.apcprd03.prod.outlook.com (2603:1096:3:21::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR03MB2734:EE_|KL1PR03MB6921:EE_ X-MS-Office365-Filtering-Correlation-Id: af6c3fe2-a8a2-4e8f-fa53-08db52b70711 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QDvwTMYjQk/hi1zAyqm0r8qIl01uHyISQjyYo3T/PKpC+Alixequ393yJv3+9IEEkTVbvh4bdvzvG0CY4irS727OSsmDlm9LJP2zzk8Q4K3qLzqpFmW0KrNVlntYetieeGrzR4y1+LoS51dRwbyFUT6gR5vEqCBvgcagfe1OmyhqOJXZc1a68GSLeDVzjCXw8x0dC1MR5N0zQZYMNohU71xdv/pmRgqhhwlzjeG/fQ5iCjY71ICp+nTANHb7AS866S+vyDai/F5gXer6Wp6llSaweTbk+Ky5aOCjFNRXK+pZmaqjfX6Zi3X894Dt8VDCtOuvp18EGY+tRKovQX7NpYE249Ql9Nqnf0pB4vmplUuNAtRQRP+OEuAZDn0YYrrjIS4tVkeB0Z7l/pysYRoWxP6rhVlidbfjWSz/wBsnoJROPkDwRN3WNkpcsur/373XMEN+qD7IDkWtwLimPEHeTtTf2No243LG71+qnSkady8sKaK9XnTf5bldy7dVxIHaxI94f160l7WvxrR97SOqZNUFdJKFCqzjtU/4gyVQ0goaoDYOSECflcmuXVVf5MRPAVWRB/IXJaaoUznLlqoWl+CTuICl/I+q4BRSi516+ew5AXehEVIcLcwvVrFZ+T+PYo0VwdcQRfLMMvOgzjU1LsZcQwPpTkjGeUPXU59oVMWdnVcriwnBLD5Sir9HIa0u X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR03MB2734.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(39850400004)(396003)(346002)(366004)(451199021)(31686004)(966005)(4326008)(66556008)(66946007)(66476007)(478600001)(6486002)(316002)(54906003)(86362001)(31696002)(36756003)(83380400001)(26005)(186003)(6512007)(6506007)(53546011)(2616005)(8676002)(5660300002)(8936002)(7416002)(2906002)(41300700001)(6666004)(38100700002)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N3A1cXdsY1lFN000c0NkdkJaT1RxL2pkZkhncFZ2RnNUZGRQd1FkT2NOeUZN?= =?utf-8?B?MC8xRTg0eTVvZXRrUXZaK0pNUCtKR09HdmRjaVljUFl3WEl3bThtc3plUVRF?= =?utf-8?B?SzVTd2M0MkQwUldVUGRRLzBNTHdKbGZQMzNVMkZjV1BRV1l6M2N3ZTB3TUdo?= =?utf-8?B?Zm1PUWxyRGI3NXpYUUVndjA0ZVEyTjY4L003NWRoSnYxaHBDYU1UQmhiSHRo?= =?utf-8?B?L1ZaeWFBS1BzbzRNRXEydUpGdzlyN3RyQmxab1l5b3ZYMHJQSjY2MEZTWERZ?= =?utf-8?B?M3VONFIzMk9FS3FCWlA1Rklqd3plb29wSmNKYUgvQ3FxeFRzRTMwcEQyTmRC?= =?utf-8?B?MC93ZFM1UVlTQmlxb2ZWWXFaUzlGRm9Id3NVSTlDOEpPYXZvSFpsWEEyTzVh?= =?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?REE9PQ==?= X-OriginatorOrg: amlogic.com X-MS-Exchange-CrossTenant-Network-Message-Id: af6c3fe2-a8a2-4e8f-fa53-08db52b70711 X-MS-Exchange-CrossTenant-AuthSource: SG2PR03MB2734.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2023 07:03:45.6456 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0df2add9-25ca-4b3a-acb4-c99ddf0b1114 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b0RMFalTUeLHpdPGqGVcI1CVJKtE1E3k23ffkjFkP2uxHk6auuqRQnQ3NBvCxJXVTOs1ztpNsQq/t4POhKurPH4yAz9lR0O08m7O+mMIoNg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR03MB6921 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Neil, Thank you for your reply. On 2023/5/11 16:39, Neil Armstrong wrote: > [ EXTERNAL EMAIL ] > > Hi, > > On 10/05/2023 11:11, Xianwei Zhao wrote: >> Amlogic C3 is an advanced edge AI processor designed for smart IP camera >> applications. >> >> Add basic support for the C3 based Amlogic AW409 board, which describes >> the following components: CPU, GIC, IRQ, Timer, UART. It's capable of >> booting up into the serial console. >> >> Signed-off-by: Xianwei Zhao >> --- >> Link: >> https://lore.kernel.org/all/20230407102704.1055152-1-kelvin.zhang@amlogic.com >> Link: >> https://lore.kernel.org/all/20230307222651.2106615-2-martin.blumenstingl@googlemail.com >> >> V3 -> V4: Move Link under the --- before the changelog. >> V2 -> V3: Remove '256m' from filename; >>            Keep alphabetical order of Makefile. >> V1 -> V2: Remove new arch, and use ARCH_MESON; >>            Modify node name, and delete superfluous blank line. >> --- >>   arch/arm64/boot/dts/amlogic/Makefile          |  1 + >>   .../dts/amlogic/amlogic-c3-c302x-aw409.dts    | 29 +++++++ >>   arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi   | 86 +++++++++++++++++++ >>   3 files changed, 116 insertions(+) >>   create mode 100644 >> arch/arm64/boot/dts/amlogic/amlogic-c3-c302x-aw409.dts >>   create mode 100644 arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi >> >> diff --git a/arch/arm64/boot/dts/amlogic/Makefile >> b/arch/arm64/boot/dts/amlogic/Makefile >> index cd1c5b04890a..6f61798a109f 100644 >> --- a/arch/arm64/boot/dts/amlogic/Makefile >> +++ b/arch/arm64/boot/dts/amlogic/Makefile >> @@ -1,4 +1,5 @@ >>   # SPDX-License-Identifier: GPL-2.0 >> +dtb-$(CONFIG_ARCH_MESON) += amlogic-c3-c302x-aw409.dtb >>   dtb-$(CONFIG_ARCH_MESON) += meson-a1-ad401.dtb >>   dtb-$(CONFIG_ARCH_MESON) += meson-axg-jethome-jethub-j100.dtb >>   dtb-$(CONFIG_ARCH_MESON) += meson-axg-jethome-jethub-j110-rev-2.dtb >> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3-c302x-aw409.dts >> b/arch/arm64/boot/dts/amlogic/amlogic-c3-c302x-aw409.dts >> new file mode 100644 >> index 000000000000..edce8850b338 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3-c302x-aw409.dts >> @@ -0,0 +1,29 @@ >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) >> +/* >> + * Copyright (c) 2021 Amlogic, Inc. All rights reserved. >> + */ >> + >> +/dts-v1/; >> + >> +#include "amlogic-c3.dtsi" >> + >> +/ { >> +     model = "Amlogic C302 aw409 Development Board"; >> +     compatible = "amlogic,aw409", "amlogic,c3"; >> +     interrupt-parent = <&gic>; >> +     #address-cells = <2>; >> +     #size-cells = <2>; >> + >> +     aliases { >> +             serial0 = &uart_b; >> +     }; >> + >> +     memory@0 { >> +             device_type = "memory"; >> +             reg = <0x0 0x0 0x0 0x10000000>; >> +     }; >> +}; >> + >> +&uart_b { >> +     status = "okay"; >> +}; >> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi >> b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi >> new file mode 100644 >> index 000000000000..93b335aef605 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi >> @@ -0,0 +1,86 @@ >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) >> +/* >> + * Copyright (c) 2021 Amlogic, Inc. All rights reserved. >> + */ >> + >> +#include >> +#include >> +#include >> + >> +/ { >> +     cpus { >> +             #address-cells = <2>; >> +             #size-cells = <0>; >> + >> +             cpu0: cpu@0 { >> +                     device_type = "cpu"; >> +                     compatible = "arm,cortex-a35"; >> +                     reg = <0x0 0x0>; >> +                     enable-method = "psci"; >> +             }; >> + >> +             cpu1: cpu@1 { >> +                     device_type = "cpu"; >> +                     compatible = "arm,cortex-a35"; >> +                     reg = <0x0 0x1>; >> +                     enable-method = "psci"; >> +             }; >> +     }; >> + >> +     timer { >> +             compatible = "arm,armv8-timer"; >> +             interrupts = > IRQ_TYPE_LEVEL_LOW)>, >> +                          > IRQ_TYPE_LEVEL_LOW)>, >> +                          > IRQ_TYPE_LEVEL_LOW)>, >> +                          > IRQ_TYPE_LEVEL_LOW)>; >> +     }; >> + >> +     psci { >> +             compatible = "arm,psci-1.0"; >> +             method = "smc"; >> +     }; >> + >> +     xtal: xtal-clk { >> +             compatible = "fixed-clock"; >> +             clock-frequency = <24000000>; >> +             clock-output-names = "xtal"; >> +             #clock-cells = <0>; >> +     }; >> + >> +     soc { >> +             compatible = "simple-bus"; >> +             #address-cells = <2>; >> +             #size-cells = <2>; >> +             ranges; >> + >> +             gic: interrupt-controller@fff01000 { >> +                     compatible = "arm,gic-400"; >> +                     #interrupt-cells = <3>; >> +                     #address-cells = <0>; >> +                     interrupt-controller; >> +                     reg = <0x0 0xfff01000 0 0x1000>, >> +                           <0x0 0xfff02000 0 0x2000>, >> +                           <0x0 0xfff04000 0 0x2000>, >> +                           <0x0 0xfff06000 0 0x2000>; >> +                     interrupts = > | IRQ_TYPE_LEVEL_HIGH)>; >> +             }; >> + >> +             apb4: bus@fe000000 { >> +                     compatible = "simple-bus"; >> +                     reg = <0x0 0xfe000000 0x0 0x480000>; >> +                     #address-cells = <2>; >> +                     #size-cells = <2>; >> +                     ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; >> + >> +                     uart_b: serial@7a000 { >> +                             compatible = "amlogic,meson-g12a-uart"; > > This should be: > >        compatible = "amlogic,meson-g12a-uart", "amlogic,meson-gx-uart" > > to match the amlogic,meson-uart.yaml bindings. > I will use strings 'amlogic,meson-s4-uart' instead of these, because of board C3 is only use 12M clock source for serial, the same as s4 series. > Please run : > make CHECK_DTBS=1 amlogic/amlogic-c3-c302x-aw409.dtb > > With that fixed, please add on v5: Will do. > > Reviewed-by: Neil Armstrong > >> +                             reg = <0x0 0x7a000 0x0 0x18>; >> +                             interrupts = > IRQ_TYPE_EDGE_RISING>; >> +                             status = "disabled"; >> +                             clocks = <&xtal>, <&xtal>, <&xtal>; >> +                             clock-names = "xtal", "pclk", "baud"; >> +                     }; >> + >> +             }; >> +     }; >> +}; >> >> base-commit: ae68fb187b59bc8645974320808ab2d7c41b1833 >