All of lore.kernel.org
 help / color / mirror / Atom feed
From: mkl@pengutronix.de (Marc Kleine-Budde)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] arm/dts: Add nodes for flexcan devices present on LS1021A SoC
Date: Thu, 09 Apr 2015 17:01:24 +0200	[thread overview]
Message-ID: <55269444.7050707@pengutronix.de> (raw)
In-Reply-To: <1428591087-12831-2-git-send-email-bhupesh.sharma@freescale.com>

On 04/09/2015 04:51 PM, Bhupesh Sharma wrote:
> From: Sakar Arora <Sakar.Arora@freescale.com>
> 
> This patch adds the device nodes for flexcan controller(s) present
> on LS1021A SoC.
> 
> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
> Signed-off-by: Sakar Arora <Sakar.Arora@freescale.com>
> ---
>  arch/arm/boot/dts/ls1021a-qds.dts |    8 ++++++++
>  arch/arm/boot/dts/ls1021a.dtsi    |   20 ++++++++++++++++++++
>  2 files changed, 28 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts
> index 9c5e16b..1641a04 100644
> --- a/arch/arm/boot/dts/ls1021a-qds.dts
> +++ b/arch/arm/boot/dts/ls1021a-qds.dts
> @@ -238,3 +238,11 @@
>  &uart1 {
>  	status = "okay";
>  };
> +
> +&can0 {
> +	status = "okay";
> +};
> +
> +&can1 {
> +	status = "okay";
> +};
> diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
> index c70bb27..c44661b 100644
> --- a/arch/arm/boot/dts/ls1021a.dtsi
> +++ b/arch/arm/boot/dts/ls1021a.dtsi
> @@ -332,6 +332,26 @@
>  			status = "disabled";
>  		};
>  
> +		can0: can at 2a70000 {
> +			compatible = "fsl,ls1021a-flexcan";
> +			reg = <0x0 0x2a70000 0x0 0x1000>;
> +			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&platform_clk 1>;
> +			clock-frequency = <150000000>;

Please don't use clock-frequency, it's only needed for powerpcs without
proper clock support.

> +			clock-names = "per";

Please provide a per and ipg clock, otherwise the driver will not work
properly.

> +			little-endian;
> +		};

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150409/ad99c47c/attachment.sig>

  reply	other threads:[~2015-04-09 15:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 14:51 [PATCH 1/2] doc/bindings: Add 'endianess' optional-property for FlexCAN controller Bhupesh Sharma
2015-04-09 14:51 ` [PATCH 2/2] arm/dts: Add nodes for flexcan devices present on LS1021A SoC Bhupesh Sharma
2015-04-09 14:51 ` Bhupesh Sharma
2015-04-09 15:01   ` Marc Kleine-Budde [this message]
2015-04-09 15:31     ` bhupesh.sharma at freescale.com
2015-04-09 15:31     ` bhupesh.sharma
2015-04-09 14:58 ` [PATCH 1/2] doc/bindings: Add 'endianess' optional-property for FlexCAN controller Marc Kleine-Budde
2015-04-09 15:41   ` bhupesh.sharma at freescale.com

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=55269444.7050707@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.