From: Shawn Guo <shawnguo@kernel.org>
To: Kuldeep Singh <kuldeep.singh@nxp.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Joakim Zhang <qiangqing.zhang@nxp.com>
Subject: Re: [PATCH 1/3] arm64: dts: lx2160a: Add flexcan support
Date: Mon, 18 Jan 2021 09:37:44 +0800 [thread overview]
Message-ID: <20210118013744.GG28365@dragon> (raw)
In-Reply-To: <1610350729-21287-2-git-send-email-kuldeep.singh@nxp.com>
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 <kuldeep.singh@nxp.com>
> ---
> 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 = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
> + 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 = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
> + 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
>
next prev parent reply other threads:[~2021-01-18 1:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-11 7:38 [PATCH 0/3] Enable flexcan support in LS1028A/LX2160A Kuldeep Singh
2021-01-11 7:38 ` [PATCH 1/3] arm64: dts: lx2160a: Add flexcan support Kuldeep Singh
2021-01-18 1:37 ` Shawn Guo [this message]
2021-01-18 6:45 ` [EXT] " Kuldeep Singh
2021-01-11 7:38 ` [PATCH 2/3] arm64: dtsi: ls1028a: Update flexcan properties Kuldeep Singh
2021-01-11 7:38 ` [PATCH 3/3] arm64: dts: ls1028a: Enable flexcan support for LS1028A-RDB/QDS Kuldeep Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210118013744.GG28365@dragon \
--to=shawnguo@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kuldeep.singh@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=qiangqing.zhang@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.