Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1905891rwa; Sun, 21 Aug 2022 20:54:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR4wmBaz+HA0YVSCOfJq/qNSC6ueKeC2cjOZlQD1J76yBQgwIkzlY70Aupv4j10zhmvvj4bl X-Received: by 2002:a05:6402:5289:b0:43b:69a9:38c8 with SMTP id en9-20020a056402528900b0043b69a938c8mr14996087edb.263.1661140493260; Sun, 21 Aug 2022 20:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661140493; cv=none; d=google.com; s=arc-20160816; b=rrdesEKUB8SjCJwSBopHj+Y5/tM19Bw/k3SyirUKoi/RdZbmeI/ycSdeIWuVz2xLio VTm4185fwaZUGBgcaboq+w5aVj0dLE9JJ77BnNvCIRR2h3sfXAecM5zFxtULVfKuWDjX 4OcQl2hXdtrnaRd9EtesNr5bxv75lApA9Mg4W5OTJ+/w6PwGnpYoICJURqcGZZ+Zf7Um 9OFfTcQDVdi4tZXYpw286Im0f3fcPEVr1LaBLjaQXkvkMc1oOcaBhvVK1gzz5txd2jP7 wjVHeOz5ul9ccvK+MO6SY+e/8nNap/J5dZiSQMy2sAJfnfrptPJE+o2vq4GQqS1ctwxA xxYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kTjqaX/zNSQv4PwNL+aRzrex5wzts4PvhLf8nWQ5FSA=; b=bDz/QEHqfc0BrTVacDJqvJt4o0czA/5p6MirwacZCWRmCO52+sUzsAq1h5T5EHA7SA uvIuFmNzDOVUaamU6gm6aXBd5GJuE/d/Sv6PInASa78Uf4tp9eQ7iUD/roQ5Zcn26TMn V3ORqgbHau+Rc2ZiNxQBr07yAqri4a1df1rxNx6aObJpq6X5IeDedjWmkIsr/GTl1Eyq Y3TVt/IAmcy9GshJFMgrqSlwjH6BMRnZpMUoHt47juXf3LxxE+xlggfD/dkG2iAPewu5 gtUHiXV/mO9uube+AwgMGjHb7q2yop2ICIYfcn5tX+yAVfQ1a7ShFb1vXytpFqtbVU+j a0aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FGMxNHjn; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a05640250c600b0044660f40ed5si6529283edb.256.2022.08.21.20.54.27; Sun, 21 Aug 2022 20:54:53 -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=@kernel.org header.s=k20201202 header.b=FGMxNHjn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232143AbiHVDq6 (ORCPT + 99 others); Sun, 21 Aug 2022 23:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbiHVDq4 (ORCPT ); Sun, 21 Aug 2022 23:46:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D8652495F; Sun, 21 Aug 2022 20:46:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D2BC1B80E72; Mon, 22 Aug 2022 03:46:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94DACC433C1; Mon, 22 Aug 2022 03:46:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661140012; bh=RFNZNQQXYq+W/Ztgxu7x4hbjSIwxCSoZZrUPT41imIc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FGMxNHjn3gG/7V0VA+yKPhFhWlDsBcgfxKxV9wuJkzusw8Nh00Jkf1LCh+bk1uBNV Va1C/uvFXwhsHF/jCNyD8/4FQJsqtWOit/WJT2+31FNftgDNOZPQoi6xK+K26vrtNE DRmoOK7QPrHFGrpxE3AK8dQYuFGtIirUy5XMP6dYtrFtJTBRRuac63ZtJ3kTdMXFkc Uig5pbzkIxgEla2JdpfO4qFiYYUni2/TTLDOXDCK9ZBPYjCXKzrg+n8JV7lNLTg9U9 i5VXUMhox3AGX73fx4SaVf3LSYFvs6bneBvGssGUwmIK5f+Pp91ASUY+B1RrNM47MC 8i5wUynVflSrg== Date: Mon, 22 Aug 2022 11:46:46 +0800 From: Shawn Guo To: Li Yang Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Priyanka Jain , Santan Kumar , Tao Yang , Yogesh Gaur , Abhimanyu Saini Subject: Re: [PATCH v2 4/6] arm64: dts: ls2081a-rdb: Add DTS for NXP LS2081ARDB Message-ID: <20220822034646.GT149610@dragon> References: <20220817204357.21753-1-leoyang.li@nxp.com> <20220817204357.21753-5-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220817204357.21753-5-leoyang.li@nxp.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Wed, Aug 17, 2022 at 03:43:55PM -0500, Li Yang wrote: > From: Priyanka Jain > > This patch adds support for NXP LS2081ARDB board which has LS2081A SoC. > > LS2081A SoC is 40-pin derivative of LS2088A SoC. From functional > perspective both are same. Hence, LS2088a SoC dtsi file is included > from LS2081ARDB dts. > > Signed-off-by: Priyanka Jain > Signed-off-by: Santan Kumar > Signed-off-by: Tao Yang > Signed-off-by: Yogesh Gaur > Signed-off-by: Abhimanyu Saini > Signed-off-by: Li Yang > --- > arch/arm64/boot/dts/freescale/Makefile | 1 + > .../boot/dts/freescale/fsl-ls2081a-rdb.dts | 131 ++++++++++++++++++ > 2 files changed, 132 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts > > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile > index 2cf55534c162..bf7c448fa817 100644 > --- a/arch/arm64/boot/dts/freescale/Makefile > +++ b/arch/arm64/boot/dts/freescale/Makefile > @@ -36,6 +36,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-ten64.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb > +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2081a-rdb.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts > new file mode 100644 > index 000000000000..0148f8c93442 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts > @@ -0,0 +1,131 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Device Tree file for NXP LS2081A RDB Board. > + * > + * Copyright 2017 NXP > + * > + * Priyanka Jain > + * > + */ > + > +/dts-v1/; > + > +#include "fsl-ls2088a.dtsi" > + > +/ { > + model = "NXP Layerscape 2081A RDB Board"; > + compatible = "fsl,ls2081a-rdb", "fsl,ls2081a"; > + > + aliases { > + serial0 = &serial0; > + serial1 = &serial1; > + }; > + > + chosen { > + stdout-path = "serial1:115200n8"; > + }; > +}; > + > +&dspi { > + status = "okay"; > + > + n25q512a: flash@0 { > + compatible = "jedec,spi-nor"; > + #address-cells = <1>; > + #size-cells = <1>; > + spi-max-frequency = <3000000>; > + reg = <0>; > + }; > +}; > + > +&esdhc { > + status = "okay"; > +}; > + > +&ifc { > + status = "disabled"; > +}; > + > +&i2c0 { > + status = "okay"; > + > + pca9547: mux@75 { > + compatible = "nxp,pca9547"; > + reg = <0x75>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + i2c@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x1>; Have a newline between properties and child node. Shawn > + rtc@51 { > + compatible = "nxp,pcf2129"; > + reg = <0x51>; > + }; > + }; > + > + i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x2>; > + > + ina220@40 { > + compatible = "ti,ina220"; > + reg = <0x40>; > + shunt-resistor = <500>; > + }; > + }; > + > + i2c@3 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x3>; > + > + adt7481@4c { > + compatible = "adi,adt7461"; > + reg = <0x4c>; > + }; > + }; > + }; > +}; > + > +&qspi { > + status = "okay"; > + > + s25fs512s0: flash@0 { > + compatible = "jedec,spi-nor"; > + #address-cells = <1>; > + #size-cells = <1>; > + spi-rx-bus-width = <4>; > + spi-tx-bus-width = <4>; > + spi-max-frequency = <20000000>; > + reg = <0>; > + }; > + > + s25fs512s1: flash@1 { > + compatible = "jedec,spi-nor"; > + #address-cells = <1>; > + #size-cells = <1>; > + spi-rx-bus-width = <4>; > + spi-tx-bus-width = <4>; > + spi-max-frequency = <20000000>; > + reg = <1>; > + }; > +}; > + > +&sata0 { > + status = "okay"; > +}; > + > +&sata1 { > + status = "okay"; > +}; > + > +&usb0 { > + status = "okay"; > +}; > + > +&usb1 { > + status = "okay"; > +}; > -- > 2.37.1 >