From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DA5AC43461 for ; Tue, 15 Sep 2020 01:07:30 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9CF2206B6 for ; Tue, 15 Sep 2020 01:07:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B9CF2206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4Br4p72M8vzDqSV for ; Tue, 15 Sep 2020 11:07:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.166.68; helo=mail-io1-f68.google.com; envelope-from=robherring2@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Br4mD1mRqzDqBt for ; Tue, 15 Sep 2020 11:05:48 +1000 (AEST) Received: by mail-io1-f68.google.com with SMTP id j2so2233032ioj.7 for ; Mon, 14 Sep 2020 18:05:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4K8hgYOIozb4eV4tE27z5U4/TuKGwafzOOZVveRuAWg=; b=s5YbpHTk0mZOxylymfg9IcuFkCRSv+rE/XXa4uNnSUKD9YjBkLLJQnF+Gw+NzPTpvu msqOOQ6StVZNcz5ibuk2sAH9I6PRZfSlFS0fN23IoUtn8GaGwSI0WChUot55IFfbYfab r231vZ2ujnSZUortuV5/6UX7cadVM36D7I8dcmqiQiaUwFYbYgrHS8DP+sfu0ykS3uqd aFQ6NI95GX74RXriEJI5acvWXA1JotqOAcktBbhIynSUjiRkcqBrvUx1FX0bUh2wVjv9 kQrX51KvyEam2wQBWndE2wBj5/w2zwH1AiCTVzx5U8GRFpLsoylAmCrKIiTrhVKz6f/+ QCVA== X-Gm-Message-State: AOAM531TFH0NVCJtw+dzQO5+3i9OTMPvVZ/Z82HhMCdaj8J0ZvpfIJKo vlVaxx1mdVIH2sf1Pis2+Q== X-Google-Smtp-Source: ABdhPJyeOrm0wS6VfzxyWw018C3Pfbn90WCq5qB1yjbl7A1oksWUyEkQHM+2EgWsvF1hagglRRZ/7w== X-Received: by 2002:a6b:6e0b:: with SMTP id d11mr13258988ioh.155.1600131945835; Mon, 14 Sep 2020 18:05:45 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id c6sm4023381ils.86.2020.09.14.18.05.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 18:05:45 -0700 (PDT) Received: (nullmailer pid 628112 invoked by uid 1000); Tue, 15 Sep 2020 01:05:43 -0000 Date: Mon, 14 Sep 2020 19:05:43 -0600 From: Rob Herring To: Christian Lamparter Subject: Re: [PATCH v3 2/5] powerpc: apm82181: create shared dtsi for APM bluestone Message-ID: <20200915010543.GB612463@bogus> References: <47109d80c7bd481c7747c949e8a3ecd498d9c039.1599343429.git.chunkeey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47109d80c7bd481c7747c949e8a3ecd498d9c039.1599343429.git.chunkeey@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chris Blake , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sun, Sep 06, 2020 at 12:06:12AM +0200, Christian Lamparter wrote: > This patch adds an DTSI-File that can be used by various device-tree > files for APM82181-based devices. > > Some of the nodes (like UART, PCIE, SATA) are used by the uboot and > need to stick with the naming-conventions of the old times'. > I've added comments whenever this was the case. > > Signed-off-by: Chris Blake > Signed-off-by: Christian Lamparter > --- > rfc v1 -> v2: > - removed PKA (this CryptoPU will need driver) > - stick with compatibles, nodes, ... from either > Bluestone (APM82181) or Canyonlands (PPC460EX). > - add labels for NAND and NOR to help with access. > v2 -> v3: > - nodename of pciex@d.... was changed to pcie@d.. > due to upstream patch. > - use simple-bus on the ebc, opb and plb nodes > --- > arch/powerpc/boot/dts/apm82181.dtsi | 466 ++++++++++++++++++++++++++++ > 1 file changed, 466 insertions(+) > create mode 100644 arch/powerpc/boot/dts/apm82181.dtsi > > diff --git a/arch/powerpc/boot/dts/apm82181.dtsi b/arch/powerpc/boot/dts/apm82181.dtsi > new file mode 100644 > index 000000000000..60283430978d > --- /dev/null > +++ b/arch/powerpc/boot/dts/apm82181.dtsi > @@ -0,0 +1,466 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +/* > + * Device Tree template include for various APM82181 boards. > + * > + * The SoC is an evolution of the PPC460EX predecessor. > + * This is why dt-nodes from the canyonlands EBC, OPB, USB, > + * DMA, SATA, EMAC, ... ended up in here. > + * > + * Copyright (c) 2010, Applied Micro Circuits Corporation > + * Author: Tirumala R Marri , > + * Christian Lamparter , > + * Chris Blake > + */ > + > +#include > +#include > +#include > +#include > + > +/ { > + #address-cells = <2>; > + #size-cells = <1>; > + dcr-parent = <&{/cpus/cpu@0}>; > + > + aliases { > + ethernet0 = &EMAC0; /* needed for BSP u-boot */ > + }; > + > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + CPU0: cpu@0 { > + device_type = "cpu"; > + model = "PowerPC,apm82181"; This doesn't match the existing bluestone dts file. Please separate any restructuring from changes.