Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp50973rwl; Tue, 4 Apr 2023 18:41:35 -0700 (PDT) X-Google-Smtp-Source: AKy350YleywIdPRVzyuYwsZSTCSF4PlXdXTWwO8XlO5E1GFYrsMgglUslQJ4OWknV7ROV+S/7zSt X-Received: by 2002:a17:902:ea03:b0:19a:7758:e5e6 with SMTP id s3-20020a170902ea0300b0019a7758e5e6mr5889345plg.48.1680658894771; Tue, 04 Apr 2023 18:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680658894; cv=none; d=google.com; s=arc-20160816; b=S5ZGGV58PKY9NNc3PI+UoueXqzhK1BnNDgX1AQRbOGXzJ1j2JZ7KZgGaWTxt4XZoWT 3+Q1vXgoUhfep0IVxBHgWPKj6mIrzkNmCI+qTGuXG8FfJnIA+ymEawoxAT8j5xrTY5I2 lnz5iqWjkhUmJxaM1596g+nLPAkN5YO40yfgTDh0aNacmSsux4Mr+sthiqOdGVpPCQeL t/jTVb4MOkRyoX98I243JiNs/e43KT/UHvGfLvVwD3T5VKF4Qjf1YB4tjxIQ9o90SnAO 7x5LbNUfK46j7N+a33jfY0mDwUtisEnnVtbO0zhbhPhG/WzSbtxt4p4aBBzgsRGY4HqJ V4cQ== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=8Yr0nY82r8XKolBUv8UFxHxmJ9wEXGFZJmsPDZ024+I=; b=0l7OyBpu0DvByux67DqKHn/jNAaIdQilKUt3cpglEBmFwxxZ4M3vc5eLY/wjBnuIRe 4jTUKv9JfRillJqhBpbLtDZur2mijSy8oamnk3sybFoVQ9BrN+vXTHLnmE5+pfiT+sE5 CCgI4n+WGLo6a84IHjadHGdrVIdjmoDej3LOd9EJSoxqA0Vavkxl+OGPJvMNeU7igJn6 iI6iToFoiKqmndv755vFVvylbi3gn7bxJRZCTXOuii+s27TsyWShOCiehdHx7V8Oi8AP ffDG+PIg98ju92Kuwk/fsX6OCvXwId+vIAYuhpvdu4zoc2kROk5k7DrnxYvbfbbOh1Py uZjw== ARC-Authentication-Results: i=1; mx.google.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 m11-20020a170902bb8b00b001a216fddd03si10643577pls.649.2023.04.04.18.41.23; Tue, 04 Apr 2023 18:41:34 -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; 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 S236688AbjDEBkj convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Apr 2023 21:40:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230489AbjDEBkh (ORCPT ); Tue, 4 Apr 2023 21:40:37 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4FB32D6A; Tue, 4 Apr 2023 18:40:34 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id A5D6724DBFD; Wed, 5 Apr 2023 09:40:27 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 5 Apr 2023 09:40:27 +0800 Received: from [172.16.16.231] (183.27.98.171) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 5 Apr 2023 09:40:26 +0800 Message-ID: <39a2c174-c7f5-cb0f-5430-87b859a2ea5c@starfivetech.com> Date: Wed, 5 Apr 2023 09:40:27 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v7 21/22] riscv: dts: starfive: Add StarFive JH7110 VisionFive 2 board device tree To: Shengyu Qu , , , CC: Stephen Boyd , Michael Turquette , Philipp Zabel , "Rob Herring" , Krzysztof Kozlowski , Conor Dooley , "Palmer Dabbelt" , Paul Walmsley , Albert Ou , Ben Dooks , "Daniel Lezcano" , Thomas Gleixner , Marc Zyngier , Emil Renner Berthing , References: <20230401111934.130844-1-hal.feng@starfivetech.com> <20230401111934.130844-22-hal.feng@starfivetech.com> Content-Language: en-US From: Hal Feng In-Reply-To: Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [183.27.98.171] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Wed, 5 Apr 2023 02:38:25 +0800, Shengyu Qu wrote: > Hi Hal, > >> +    aliases { >> +        i2c0 = &i2c0; >> +        i2c2 = &i2c2; >> +        i2c5 = &i2c5; >> +        i2c6 = &i2c6; >> +        serial0 = &uart0; >> +    }; >> + >> +    chosen { >> +        stdout-path = "serial0:115200n8"; >> +    }; >> + >> +    cpus { >> +        timebase-frequency = <4000000>; > > Is mtime frequency on JH7110 could be modified?  If not, I think it's better > > to put it into jh7110.dtsi. This frequency is from (osc / 6). This is based on the frequency of the crystal oscillator on the board. So we set it here. Best regards, Hal > >> +    }; >> + >> +    memory@40000000 { >> +        device_type = "memory"; >> +        reg = <0x0 0x40000000 0x1 0x0>; >> +    }; >> + >> +    gpio-restart { >> +        compatible = "gpio-restart"; >> +        gpios = <&sysgpio 35 GPIO_ACTIVE_HIGH>; >> +        priority = <224>; >> +    }; >> +}; >> + > > Best regards, > > Shengyu >