Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3910712rwb; Tue, 20 Sep 2022 06:29:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7WIBFlKKZ9wq6gyswkp7+8UY653ACXPMOCyrap65IGCihRZI8aSlvNxDNnychJZZczz87T X-Received: by 2002:a17:90b:4c46:b0:203:7c2a:defe with SMTP id np6-20020a17090b4c4600b002037c2adefemr4010490pjb.40.1663680575986; Tue, 20 Sep 2022 06:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663680575; cv=none; d=google.com; s=arc-20160816; b=BFhT2LxQsYytMYV5haZ0JtSBD0ZIHC1Cr5md7Cr36BrWTK4k58MWhhfKXJRdIb/h/3 OU+G3P7Nj1VgIQn3EWqhmYI4CY4wde6VYwL/6ehh7ZxO/G+HDEncapJ2FgLTTymoRkI3 GVoQcTDeF55GxRJSKarDBDP74EXVBF74Ki6piKFcmSDNsRBMkRJXftRz0R+UJOTfQcKF 3a2e/jViOOdomyJVJMppNclWGBh9fHyYVO9Vxs5cWby4Wjv6kQHk7LXex7gEOJVdQQpT wbU6IfCVRKExZao/oKAqVRPszj5IHleBvVv5ARmpvW4A8HSeqn6Wv/kMCCYNgouWzLNi 9Qzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Wf+OpOOgKm2MQUZNT6fzDTc2lerh5dFGABEYb4COJ4Y=; b=m04FEV8mHlY7h+CekCRrC9416nWuW8ebowNLxiEMu+/gsvYZK1E4hlFdzlkT7sEznE E/2n/7dLeVijtXWOmwjuEPc8b6FDUpwa5zHbV+weZDH5siX/xJwh4qGw+nsIKtVtDD1H 6MYg+bXg1EkIaF2+cxzid/1Q9Nq97lOtdWPqxMfQ9AHTrI4CV1RPvEdSdkLiGqfSU2A7 dzK2GbgESv7/zstFherhw67YHuMi6ElQpWS4PWFtSMVPhh/NbsLgbt4GeqgKxzju5Y5g XamEVc3gX6lHjHdGi1neSsW2g04UHa89848QqelFOzzw9eLXeMfnXpT37DxrclEDEYTJ IYCg== 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 mw18-20020a17090b4d1200b001fd7d02c976si17746439pjb.87.2022.09.20.06.29.23; Tue, 20 Sep 2022 06:29:35 -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 S231271AbiITMcw (ORCPT + 99 others); Tue, 20 Sep 2022 08:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231272AbiITMcn (ORCPT ); Tue, 20 Sep 2022 08:32:43 -0400 Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC032753B2; Tue, 20 Sep 2022 05:32:39 -0700 (PDT) Received: by mail-qv1-f54.google.com with SMTP id m9so1861750qvv.7; Tue, 20 Sep 2022 05:32:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Wf+OpOOgKm2MQUZNT6fzDTc2lerh5dFGABEYb4COJ4Y=; b=oPJtUACPa+yeG10enZMgNzR4vA9vJARWIAbZcucDDNSzYHQ6QJKvomdVKAlYREF9kr ZVWOo+2VQ90xxvW7Gcj3OjQ5XGWiD/wZosqBLN+QkeX1Ikp0fwwvIo0QJX3Ymd9fgOVb W9mUT5E9wLPMRdWlpWXa1bUDqeN2omfHc4S75y8SoxmDxCzrpMQbWdefmve39sIzXUE8 C8zdqlc9QHSSDgd2RtNUxcZ/BjZ9pGu9vFg9I2KhyztXP0SOBIM1smIviKkdjZ+mb/p8 0KhoggbQmEiggnug9OVJ/ogbGsP1lwoBoVGqWIpBu+6XRb3GFfU02K4yuel82XjT78VS /kWA== X-Gm-Message-State: ACrzQf2XHcxdD2/CYITzUYk47xfCR9pTQpfagQf9HO+cMxKK/vQOQg+s PvplZV6hwVgB6tKfn3Eq2sTKIPadcJgTFA== X-Received: by 2002:a05:6214:27ed:b0:4ac:7fd7:7d8b with SMTP id jt13-20020a05621427ed00b004ac7fd77d8bmr18620641qvb.129.1663677158499; Tue, 20 Sep 2022 05:32:38 -0700 (PDT) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com. [209.85.128.180]) by smtp.gmail.com with ESMTPSA id bn35-20020a05620a2ae300b006cbc00db595sm53521qkb.23.2022.09.20.05.32.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 05:32:37 -0700 (PDT) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-333a4a5d495so24781107b3.10; Tue, 20 Sep 2022 05:32:37 -0700 (PDT) X-Received: by 2002:a81:6756:0:b0:345:525e:38 with SMTP id b83-20020a816756000000b00345525e0038mr19491451ywc.47.1663677157058; Tue, 20 Sep 2022 05:32:37 -0700 (PDT) MIME-Version: 1.0 References: <20220915181558.354737-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220915181558.354737-9-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20220915181558.354737-9-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Tue, 20 Sep 2022 14:32:25 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 08/10] riscv: dts: renesas: Add minimal DTS for Renesas RZ/Five SMARC EVK To: Prabhakar Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Stuebner , Atish Patra , Conor Dooley , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Biju Das , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Prabhakar, On Thu, Sep 15, 2022 at 8:17 PM Prabhakar wrote: > From: Lad Prabhakar > > Enable the minimal blocks required for booting the Renesas RZ/Five > SMARC EVK with initramfs. > > Below are the blocks enabled: > - CPG > - CPU0 > - DDR (memory regions) > - PINCTRL > - PLIC > - SCIF0 > > Note we have deleted the nodes from the DT for which support needs to be > added for RZ/Five SoC and are enabled by RZ/G2UL SMARC EVK SoM/carrier > board DTS/I. > > Signed-off-by: Lad Prabhakar > --- > v2->v3 > * Dropped RB tags from Conor and Geert > * Now re-using the SoM and carrier board DTS/I from RZ/G2UL Thanks for the update! > --- /dev/null > +++ b/arch/riscv/boot/dts/renesas/r9a07g043f01-smarc.dts > @@ -0,0 +1,27 @@ > +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +/* > + * Device Tree Source for the RZ/Five SMARC EVK > + * > + * Copyright (C) 2022 Renesas Electronics Corp. > + */ > + > +/dts-v1/; > + > +/* > + * DIP-Switch SW1 setting > + * 1 : High; 0: Low > + * SW1-2 : SW_SD0_DEV_SEL (0: uSD; 1: eMMC) > + * SW1-3 : SW_ET0_EN_N (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1) > + * Please change below macros according to SW1 setting on SoM "on the SoM" (like in r9a07g043u11-smarc.dts)? > --- /dev/null > +++ b/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi > @@ -0,0 +1,42 @@ > +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +/* > + * Device Tree Source for the RZ/Five SMARC EVK SOM > + * > + * Copyright (C) 2022 Renesas Electronics Corp. > + */ > + > +#include > + > +/ { > + aliases { > + /delete-property/ ethernet0; > + /delete-property/ ethernet1; OK > + }; > + > + chosen { > + bootargs = "ignore_loglevel"; > + }; > +}; > + > +#if (SW_SW0_DEV_SEL) > +/delete-node/ &adc; > +#endif > + > +#if (!SW_ET0_EN_N) > +/delete-node/ ð0; > +#endif > +/delete-node/ ð1; > + > +/delete-node/ &ostm1; > +/delete-node/ &ostm2; Given they are all placeholders, do you really need to delete them? (more below) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds