From: Fabrizio Castro Date: Fri, 14 Jun 2019 11:53:34 +0000 (+0100) Subject: arm64: dts: renesas: hihope-rzg2-ex: Enable CAN interfaces X-Git-Tag: v5.4-rc1~184^2~34^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=816c5248df0fdcee33e56444232394d597a1894b;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Chris Paterson Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi index 07a6eea..4280b19 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"; + }; };