Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2514614rwb; Sun, 4 Sep 2022 18:17:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5MaI0R6wENSoR0jKJgGrQuuQCuEx05/YidmKj7hlXTZzaqAGWklARN27QpNE7TpL0ITAy0 X-Received: by 2002:a63:6c88:0:b0:430:662:e24c with SMTP id h130-20020a636c88000000b004300662e24cmr22638309pgc.318.1662340647853; Sun, 04 Sep 2022 18:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662340647; cv=none; d=google.com; s=arc-20160816; b=nQ73ql4kOD00knifnacfW4jcTwVszmfdJ/OeoPgMfBhYrh6gSGBOPD/rOiZBHGuDoW NBrwBIQ8SdWG3yNPfWCwHaow58mqgK+LUxKuImz/wAvLQ5e1wHj+XR7CNJwLjNNSoAyC CxiufqOJ35NOlwcCpGoBWl+97g3oFeD553tyNLOOiVSUyt8Ufj+q0DaXYg0cfVYOPjIT oPokDYvTxmt3W60c0xfcPlnwkKXeDIYSGcBf3WAXpakzBK0cqz75V/UGlDkNozKTB2wb oaUq0xaWw2O8NMbtwtHo6OZfDN0H9vIBdaX32m1ExAFnX0KISw76WxAPigUwqSjKNs30 ptOQ== 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=U9Ahs26mKzs3ozZrbcPMyq53ROMPG7tm+66xLIPMNHU=; b=v2DJlJH9kP8nJ20O32cgEpwwLK4U3KVhb7bxGv175uM/MEbCj0huo7mioA4KdbwCPr 50ewJZDP0/1uupGc8vy8v4srvJ8tzq7jmSt9N1qGtFWehTSG91YT30KVsafeJLSkPQvj KUeAghmwqTMNrndo5eiP6mG6UCYpL+tBJw1tW5VOgZDPXT8v/m54KS+DEpZyXVb0L95N wy6kFO5WDYxMMen7fmtSgspbY7LVAq5rsSHdAMB1P1FlNW/4lXQfw4M/VkcW8buMpLNJ goxTCF93Y7kDkEIss4hXP1AjhQewsUUvS9m7bEzEFSFLCgN1WfmeSRy4rR193bOBz9mq 28mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sJtqSTou; 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 v1-20020a634801000000b0042b0398057esi9092354pga.135.2022.09.04.18.17.14; Sun, 04 Sep 2022 18:17:27 -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=sJtqSTou; 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 S231989AbiIEArz (ORCPT + 99 others); Sun, 4 Sep 2022 20:47:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiIEArx (ORCPT ); Sun, 4 Sep 2022 20:47:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E88C123142; Sun, 4 Sep 2022 17:47:51 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 7357260FCB; Mon, 5 Sep 2022 00:47:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D338DC433D7; Mon, 5 Sep 2022 00:47:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662338870; bh=0ISkgDpBocmb554mn9Xsxf+y8I7y2rmxX94tQy2sVs0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sJtqSToupmQfMornX9qx6FLStcpWGdWe9rLce1pc+joAx7ilCtREWkmSVhOfVhY85 PvY4IQgoczSK8kqLi6eclk/Yr4XDNFz1eYLu3STlJdp6Zkx8lY7Idd01iPyjC9HlFq WAp6Ex1WkwEUocgsfjW/z7Jd8sNbs0whRhgU1OEHB6lB5E/dDUGfffRcpWSFkayKx4 TGqmKXqfz+6OGbwWgPHRexxnbNMltcsmAtuBY2ca3OcXs8YdkObb6xr7goFHBU82L0 pduiOB0iBITga9Igd7fImu54YmUsZ0IIgl9XdDtQrlg9dRaIk5XDlfzgTTdsEEnG6D dUHMe0jr6N/Cw== Date: Mon, 5 Sep 2022 08:47:44 +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 v3 3/5] arm64: dts: ls2081a-rdb: Add DTS for NXP LS2081ARDB Message-ID: <20220905004744.GN1728671@dragon> References: <20220823234913.30325-1-leoyang.li@nxp.com> <20220823234913.30325-4-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220823234913.30325-4-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 Tue, Aug 23, 2022 at 06:49:11PM -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 | 132 ++++++++++++++++++ > 2 files changed, 133 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..44e955d2db12 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts > @@ -0,0 +1,132 @@ > +// 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 { In alphabetic order, ifc should go after i2c0. Shawn > + 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>; > + > + 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 >