Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1656568pxb; Sun, 17 Jan 2021 17:40:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1WLYuOGi7Q43Fm9nFA1yiodE3u+fOFoTT03Gbvf/0zni1N3fj5dkPfgbHNSwmWPm08BtW X-Received: by 2002:aa7:d3c5:: with SMTP id o5mr17603645edr.122.1610934047845; Sun, 17 Jan 2021 17:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610934047; cv=none; d=google.com; s=arc-20160816; b=zaLzymqySp2d/w9eRtxFnqB8yVyCCcjAIymtf+tXQ6lcHBO+RM1wF2/ZmOb30H/eEw voGefiosNrXATACEKLegIJLWI5wlsE3kr93liV6WWZLmqu+kUuaOx+Z5xNLRTe0YEjiF Tqrsoz0wRLP3W1hrfI3GrjBSRC7cOEwzUwHsc/IPXlbaSUu36NPN5YsZnw8+j0EnVhdW 0OnHt6njSHZNtL8XtHYqb8JIxx/q0q4J1XEAi5s5gWWkf/WnQHfBSsS/J/ob9UNiX+VF NgkvZFYjK7OpuFp+XkMwsFve/VT4OVqnma3i+MCJJvmpSp44vpJp+CWNu1xMno2lhke0 g0Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=N5NPelkQ0kqWzyMVcM2toBQDxOpM8D+DV33F3Oarzf8=; b=IBGlZCq4SY8vYFzBfu3glxv/JY81Ec49/sMdUMx+jWoBPxTlT8agFNSNxKVO9A46to 93NBUK88i3DUc7NdprfhfkBXGes3Ixn6GUQbm7ToUP2bkWdBBwBAGSk4bs+vO+0xx8+h QKTxDrrICD557Gk5wmZJO4NwKJ0mYm817zvY/MR3JGZCkWYMp39hWNR1C0ZZdx6DRebu Falyk0y/dEa5hSfO6wFo9Rx3FKqQl6bt6x4c/xXKf56OquNNeUg3vELsKewZjLPLWvdm 6raNfLVmhvFm0MRLhsjWAt8cb6becpTqv7tbxChzNvOHisixVyo5SlPly0e9JXQ+Kw/5 MrEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ex2ghdkz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j26si5701102eds.457.2021.01.17.17.40.23; Sun, 17 Jan 2021 17:40:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ex2ghdkz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730778AbhARBib (ORCPT + 99 others); Sun, 17 Jan 2021 20:38:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:43944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726592AbhARBi3 (ORCPT ); Sun, 17 Jan 2021 20:38:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E3FC20770; Mon, 18 Jan 2021 01:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610933869; bh=cCm+JVvnQAgF1evJgKFLFRJplHjdh61BaTGyRO4FUPE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ex2ghdkzguXFgFWur/exr6FzzVopk8TQcrhugsytJx3ibnsdTttMUGXP+qSTOC3J3 n4+llnkjbrON96cBpWNs+b66lcdbESjAIJ9BLphNfnLV8mZGQqO+6hjW/YpexDMjry jY/3IrCThT584SoBpmbQPWmXQUBhSil9l1Hrg9//JOb3DKfPbLrIlte2bBDZQ7GTmL KjQUohqWrEIF4XY7eUJ+VCJ4ck7/L3S4pHxmHgfcphJjEBTZ+0qtFCn+m6zvOf7ZiO LhOZ8IflVKcCZcjW3i2XB7tYyOP9n+IJ8/9PCaAoTxzUfg1HyG6FeMsl4mhrAdHEMT DB/a9oQQMcV7w== Date: Mon, 18 Jan 2021 09:37:44 +0800 From: Shawn Guo To: Kuldeep Singh Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Joakim Zhang Subject: Re: [PATCH 1/3] arm64: dts: lx2160a: Add flexcan support Message-ID: <20210118013744.GG28365@dragon> References: <1610350729-21287-1-git-send-email-kuldeep.singh@nxp.com> <1610350729-21287-2-git-send-email-kuldeep.singh@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1610350729-21287-2-git-send-email-kuldeep.singh@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 01:08:47PM +0530, Kuldeep Singh wrote: > LX2160A supports two flexcan controllers. Add the support. > Enable support further for LX2160A-RDB/QDS. > > Signed-off-by: Kuldeep Singh > --- > arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 8 ++++++++ > arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 ++++++++++++++++ > arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 20 ++++++++++++++++++++ > 3 files changed, 44 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > index 16ae3b0..d858d9c 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > @@ -33,6 +33,14 @@ > }; > }; > > +&can0 { > + status = "okay"; > +}; > + > +&can1 { > + status = "okay"; > +}; > + > &crypto { > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > index 6f82759..5dbf274 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > @@ -89,6 +89,22 @@ > }; > }; > > +&can0 { > + status = "okay"; > + > + can-transceiver { > + max-bitrate = <5000000>; > + }; > +}; > + > +&can1 { > + status = "okay"; > + > + can-transceiver { > + max-bitrate = <5000000>; > + }; > +}; > + > &esdhc0 { > sd-uhs-sdr104; > sd-uhs-sdr50; > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > index 0d4bce1..63a3ef6 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > @@ -878,6 +878,26 @@ > status = "disabled"; > }; > > + can0: can@2180000 { > + compatible = "fsl,lx2160ar1-flexcan"; > + reg = <0x0 0x2180000 0x0 0x10000>; > + interrupts = ; > + clocks = <&clockgen 4 7>, <&sysclk>; Can defines in dt-bindings/clock/fsl,qoriq-clockgen.h be useful? Shawn > + clock-names = "ipg", "per"; > + fsl,clk-source = <0>; > + status = "disabled"; > + }; > + > + can1: can@2190000 { > + compatible = "fsl,lx2160ar1-flexcan"; > + reg = <0x0 0x2190000 0x0 0x10000>; > + interrupts = ; > + clocks = <&clockgen 4 7>, <&sysclk>; > + clock-names = "ipg", "per"; > + fsl,clk-source = <0>; > + status = "disabled"; > + }; > + > uart0: serial@21c0000 { > compatible = "arm,sbsa-uart","arm,pl011"; > reg = <0x0 0x21c0000 0x0 0x1000>; > -- > 2.7.4 >