Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp618428rwr; Fri, 5 May 2023 02:18:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5pQGVQ/msRWSUXi4czGldP4Cy4Z8B2/cb95BBg5HmZEDDPVon4J4RHaAQOUCOJbsAocbxO X-Received: by 2002:a05:6a21:920d:b0:f8:ea21:7c37 with SMTP id tl13-20020a056a21920d00b000f8ea217c37mr884578pzb.20.1683278328412; Fri, 05 May 2023 02:18:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683278328; cv=pass; d=google.com; s=arc-20160816; b=Ea4NNOkn98uwDvHIbMIXSsjdGmQV/MFyqYN5Dc3aoRiMgLGErbgBOKlseGVwYNKxS7 D9MddV7Ye8d/558XirpZ93ArdIbh5/sRMMQeeZunBB3eecpVtqG3WIrsGsSa/tn8NXzz Dj0TvJCKzxpjTdt1X6gEj6gXbl7F0MdK7xx+uoibmR656YKYvT07P6IdDxSx7AYVOwVR vGC103Ntfs/VVIJapSe7S/e/H/BJIj1+5M0PaDk8hJydi4kp7E0Eva2EiNHbVtOt2Uk0 RuVMPUc/8oqYaXaLUUced+lTpgV3A5W8X3hMs7mGXVXx4JP+AuEoufDefyQs73ZoRtoR Rtgg== 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=KQLz2FeLekfyJ9KI2uhEn3jn0wOBP0TwalQKvwcugqE=; b=P1rPplosrZv2oMZrgbLvDgC60kUnbxYMGQ0aNbLRkwU1+TEwTkWL3c+m85N6iZBvRV OF60RFYGqGrB5Dt5SaW7gif8yYoKxcrGCODqR1Ri3LzI/GTiE8tL7ZXQzgkDNUvBGt/t DDgGponqd8uzoQaqAmLdirIfpN/O0Ht1ChCmdat/GzUl1vk3lMljCMFRFBruH1JRaViz y/Ik9XYIB4VMtT4Z4+TyfW6y7WEVeu4P5abj+aP+3ltHmzhQqqUeJQpBqTRS8PE1bKcK 9En1OYkcEzFD7c86z0/2NTKmmnQR+UUx5Ssojx53pIn1xg1Obu8Tf1OUc6xVGNtH81R5 wW7Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=gj9VEP1i; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020a637e50000000b0050ac7d1b32asi1509340pgn.603.2023.05.05.02.18.33; Fri, 05 May 2023 02:18:48 -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=gj9VEP1i; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231267AbjEEJMi (ORCPT + 99 others); Fri, 5 May 2023 05:12:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230478AbjEEJMg (ORCPT ); Fri, 5 May 2023 05:12:36 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2124.outbound.protection.outlook.com [40.107.255.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71ADC5FDF; Fri, 5 May 2023 02:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JmHpaOd5z5HJNrmTfP+mLJzp3eGsDgdz7upf6gR/EZGRGtP5aiPGpWoXIPbcAk+0YEkWvkoU2sECaW/JZrlDRUhmq/gjbd8hy+gnp+SLuV8SUHbQ4WRrOE+k7v1iiDldJv1CmWT/wvo219wRccc0omb6DolBwcTy8SHLs+fkbx77Y384Yaow5ZMR7200mDluun60H5DezUa+jSuE4IlvbVpOjq9VYwgK3C9BtokxuZ5SrH9bLHg68YH2j0YbdypiCjqDXOO086qTA0uoj7CkzLaOOFBw7b1ZrNhv6inxGlqcc4fRFqFU6ptCjdx27+cE/F98v2eNOSv5ldic1EU/Cg== 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=KQLz2FeLekfyJ9KI2uhEn3jn0wOBP0TwalQKvwcugqE=; b=C93xbUKQrjIMVtKzn9Vuldnxq37od+4d20Jc8v4hSBykzfeWGqqPlThF1yGvbo4s5z4YQLYNRl3+JGyykmaQTNgXnP+CooH+IQoY9Y8vlDKwAMGTy7SpdVwAy7HoPr7f1BahR5hijWhj2k3WNL8mhbiytnWY0otOW9WqoMIEXdwxiRUbRMxDjqKnKmjm2AkWlKcn+s5A00+sqv94kyOsDPg2bNhrPTsJcVVYxEQiqDmlo0RhwOXN0TTPVADzrwqHLcN3jfoT+99KCjb5BA18wKj/keMqdgMCJo39NyVeC/e1uZC4AKaiPE7+6XmDgH/npPk2kZjcPXalQFODC+2Mmg== 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=KQLz2FeLekfyJ9KI2uhEn3jn0wOBP0TwalQKvwcugqE=; b=gj9VEP1ih1eF5xlG8RieeSxBX66k+4dbOr8PjhvtOzHRDuT2pgBy9TgTfuKtj+VCSTD2Jt/y1KluLWi3DorecBhr8G32dlsiqh+CtVIq3yw5qQ/EVWChnHc7e5oKY0MXpH8hXsjTvYEiUMGTZ9aV+Z0OSyRrgbQJp3hNcIYtHNyTdyUgAKt6IUiv7sncyv8SS9ekUSCPSeBo8ynHazLbyGbBwY1adfQShu0SHUhIGE998lgR/rsM9Is4ReIRG8ZO7o06QCUeFdxtqQUnjoCta0s6q/rNUg6a7IXtknBZrXdipSjjjWKDgEIJ0P99/LLTpldRODe35kjl/eeekGrPLg== 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 TYZPR03MB5200.apcprd03.prod.outlook.com (2603:1096:400:37::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.26; Fri, 5 May 2023 09:11:44 +0000 Received: from SG2PR03MB2734.apcprd03.prod.outlook.com ([fe80::9c6d:3128:b370:5fb4]) by SG2PR03MB2734.apcprd03.prod.outlook.com ([fe80::9c6d:3128:b370:5fb4%3]) with mapi id 15.20.6363.026; Fri, 5 May 2023 09:11:43 +0000 Message-ID: <41bb29b4-979b-3851-a7ea-5399f1edfe95@amlogic.com> Date: Fri, 5 May 2023 17:11:38 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH V3] 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: <20230505071254.2571429-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: SG2PR04CA0169.apcprd04.prod.outlook.com (2603:1096:4::31) To SG2PR03MB2734.apcprd03.prod.outlook.com (2603:1096:3:21::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR03MB2734:EE_|TYZPR03MB5200:EE_ X-MS-Office365-Filtering-Correlation-Id: 7126d30f-2c16-4f44-ec29-08db4d48bdf0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: joPYvZgl59sSVtCuCDaEWu0TWMMA2rlMzwuNFAfulfta46U0zz5i4uOheZyGTdJlTqWHJ5rmDCwbX+CPfSZoqXbvTij6MkMPT54o1roCmNSWzPpUDemh/AysQoB5r9f9wT+DLxM17I+WA80cs+SgumwRJrpkfONl5LmjYXD99BriIl451Ye7pBr6Gei1cW2fFTbRNHWDYvrV2Kw1zHHM1zz5wqs4bpyr9jWX5GgeZ2KfKQophDqgfQQdOCdIdxF0VoWbU7ys5pzeoEWU+oEyk7pUgZXfO03JYhvLpDVBbJyRcdfU7c4dql4zj/d9rxt8s+2Prs0ocq529kkZtayGMFlZPsJocYD7Zebd+yb5LyO5l92lZqAkcS3eTL/Zv/v5YwkTB+tEPJrQ681SNiGiQwGAqoHZcQmb68T9oVZNuZHJLfT3YkqLSotc1miyn0m1DUslnEyd8UQPPuChl13GkPCq9hbRYlJTIynwopM4OnE5pL0FcOp9+fMXJTZbmsgbFW46+E+jbgsXCY9uzfyfmFTk9w4syDJhcQRRk4xtVq+WzsmtCWxmJl13cx/DGlEPPuQM72Elhth3ithdXPBXSjB2vvGbrfnpGSaq908eILjCci5p1VkOabSAy2IYZzgaP+YlYxK4vWttL6vF+7pIvQ== 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)(396003)(376002)(346002)(136003)(366004)(39850400004)(451199021)(7416002)(478600001)(966005)(38100700002)(5660300002)(8676002)(8936002)(26005)(6666004)(31696002)(86362001)(66556008)(66946007)(66476007)(36756003)(4326008)(83380400001)(6486002)(6506007)(316002)(53546011)(186003)(2906002)(41300700001)(6512007)(2616005)(54906003)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cVRIUFJTMUpxVk80UE82ZTdjc2Q3cHVXTnBlcGpEYnZtU1RGL3JSSmdHM21W?= =?utf-8?B?Z0ZBKzcxSExvZno3V1ROSjExZnlqa3B6Mkw2bHowOS8wb1VRbEREK2tqTXMx?= =?utf-8?B?bGd4Q2VVRGo4R2ltSW1zaVFNWTRscjVJUnhMWXh6bjFNTHBSL3BseStKSDdy?= =?utf-8?B?RmVZYkNVdEdLdW9zSld2UWlRRFZiWTJVQ0x3MFkrMXU2SVFYNVhPMDZNSjda?= =?utf-8?B?Qks1QnN0Z3Z4cENvU1ZmN1NpTC84c08rUWc3d0lvR1hXUitWcmY0Q2haU0Z2?= =?utf-8?B?S0tQZVFWZlM1S1JXemVTSFAwMFFqK2FJS05QT3lMRmFzR29Uc2JTRzNsUmxF?= =?utf-8?B?S2h4MTdGVm15NUFCUnk0cXNGTmxYcDVIQmJTSjZPRW1aeU5nSUpaMkQrT0Rj?= =?utf-8?B?MnkxVEhYRDB4aUlrUitPZ2J0TEpuMFlOUUk0MU00b2JSdzlrR2pNV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-08db4d48bdf0 X-MS-Exchange-CrossTenant-AuthSource: SG2PR03MB2734.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 09:11:42.6527 (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: ergoPd0qpTyBImLK6hQiMrwcyrwukAfMsSU/B6kFjC2zju/jHHIkqKku7yeksnH2h2osiwtPfVC9F3EAgQ3OjAYqVr8PcWSd+INmN4RZv/0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR03MB5200 X-Spam-Status: No, score=-6.4 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 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 On 2023/5/5 17:05, Neil Armstrong wrote: > [ EXTERNAL EMAIL ] > > On 05/05/2023 09:12, 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 > > What are those links ? If they are dependencies, please add them under > the --- before the changelog. > Will do, thanks. > Thanks, > Neil > >> --- >> 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"; >> +                             reg = <0x0 0x7a000 0x0 0x18>; >> +                             interrupts = > IRQ_TYPE_EDGE_RISING>; >> +                             status = "disabled"; >> +                             clocks = <&xtal>, <&xtal>, <&xtal>; >> +                             clock-names = "xtal", "pclk", "baud"; >> +                     }; >> + >> +             }; >> +     }; >> +}; >> >> base-commit: ae68fb187b59bc8645974320808ab2d7c41b1833 >