diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2016-08-29 23:11:26 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-09-05 14:32:41 +0200 |
commit | 4ea71e6df8c22f90665394476c433cad3b4394b6 (patch) | |
tree | d35ef29e6688c1ff6f2069c34b3772764ed6ddd7 /arch/arm/boot/dts/r8a7792-wheat.dts | |
parent | 059baea1d33a64e752af201140ef122e29f2a19a (diff) | |
download | lwn-4ea71e6df8c22f90665394476c433cad3b4394b6.tar.gz lwn-4ea71e6df8c22f90665394476c433cad3b4394b6.zip |
ARM: dts: wheat: add CAN support
Define the Wheat board dependent part of the CAN0/1 device nodes...
Based on the original (and large) patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7792-wheat.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7792-wheat.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7792-wheat.dts b/arch/arm/boot/dts/r8a7792-wheat.dts index e214d707f81d..65d13c83d424 100644 --- a/arch/arm/boot/dts/r8a7792-wheat.dts +++ b/arch/arm/boot/dts/r8a7792-wheat.dts @@ -76,6 +76,16 @@ function = "lbsc"; }; }; + + can0_pins: can0 { + groups = "can0_data"; + function = "can0"; + }; + + can1_pins: can1 { + groups = "can1_data"; + function = "can1"; + }; }; &scif0 { @@ -84,3 +94,17 @@ status = "okay"; }; + +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&can1 { + pinctrl-0 = <&can1_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; |