diff mbox

[2/2] arm64: dts: renesas: eagle: add CAN-FD support

Message ID 87aa94b9-5f5f-f23e-3852-b71caeeae7b5@cogentembedded.com (mailing list archive)
State Accepted
Commit bb8d20331f051a920df21aaf263a189e2ede20e6
Delegated to: Simon Horman
Headers show

Commit Message

Sergei Shtylyov April 26, 2018, 8:34 p.m. UTC
Define the Eagle board dependent part of the CAN-FD device node.

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Ramesh Shanmugasundaram April 27, 2018, 12:35 p.m. UTC | #1
> Subject: [PATCH 2/2] arm64: dts: renesas: eagle: add CAN-FD support

> 

> Define the Eagle board dependent part of the CAN-FD device node.

> 

> Based on the original (and large) patch by Vladimir Barinov.

> 

> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>

> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

> 


Acked-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>


Thanks,
Ramesh
Simon Horman May 2, 2018, 9:33 a.m. UTC | #2
On Fri, Apr 27, 2018 at 12:35:05PM +0000, Ramesh Shanmugasundaram wrote:
> > Subject: [PATCH 2/2] arm64: dts: renesas: eagle: add CAN-FD support
> > 
> > Define the Eagle board dependent part of the CAN-FD device node.
> > 
> > Based on the original (and large) patch by Vladimir Barinov.
> > 
> > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> > 
> 
> Acked-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>

Thanks, applied.
diff mbox

Patch

Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
===================================================================
--- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
+++ renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
@@ -95,6 +95,16 @@ 
 	};
 };
 
+&canfd {
+	pinctrl-0 = <&canfd0_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	channel0 {
+		status = "okay";
+	};
+};
+
 &extal_clk {
 	clock-frequency = <16666666>;
 };
@@ -156,6 +166,11 @@ 
 		function = "avb0";
 	};
 
+	canfd0_pins: canfd0 {
+		groups = "canfd0_data_a";
+		function = "canfd0";
+	};
+
 	i2c0_pins: i2c0 {
 		groups = "i2c0";
 		function = "i2c0";