Hi Johannes,

On Tue, Apr 19, 2016 at 5:12 AM, Johannes Kuhn <[email protected]> wrote:
> Add can0 blocks for sun4i_can support to the A20 dtsi
>
> Signed-off-by: Johannes Kuhn <[email protected]>
> ---
>  arch/arm/boot/dts/sun7i-a20.dtsi | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi 
> b/arch/arm/boot/dts/sun7i-a20.dtsi
> index bf5d056..d199f34 100644
> --- a/arch/arm/boot/dts/sun7i-a20.dtsi
> +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
> @@ -56,6 +56,7 @@
>
>         aliases {
>                 ethernet0 = &gmac;
> +               can0 = &can0;
>         };
>
>         chosen {
> @@ -1212,6 +1213,14 @@
>                                 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
>                                 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
>                         };
> +
> +                       can0_pins_a: can0@0 {
> +                               allwinner,pins = "PH20","PH21";
> +                               allwinner,function = "can";
> +                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> +                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> +                       };
> +

Extra line.

Thanks,

-- 
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to