diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2019-06-14 12:53:34 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-07-29 15:36:00 +0200 |
commit | 816c5248df0fdcee33e56444232394d597a1894b (patch) | |
tree | 912c8e4e466ea100e8d7f072e9e547e541c8aa4f /arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi | |
parent | 5b971c71dd64c08c73c37f754f60a7d777ea70e9 (diff) |
arm64: dts: renesas: hihope-rzg2-ex: Enable CAN interfaces
This patch enables both CAN0 and CAN1, both exposed via
connectors found on the expansion board.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi index 07a6eeaed12e..4280b190dc68 100644 --- a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi +++ b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi @@ -31,6 +31,18 @@ }; }; +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&can1 { + pinctrl-0 = <&can1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &pciec0 { status = "okay"; }; @@ -60,4 +72,14 @@ drive-strength = <12>; }; }; + + can0_pins: can0 { + groups = "can0_data_a"; + function = "can0"; + }; + + can1_pins: can1 { + groups = "can1_data"; + function = "can1"; + }; }; |