[PATCH v2 2/2] ARM: shmobile: henninger: add CAN0 DT support

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Thu Jul 3 12:40:15 PDT 2014


Define the Henninger board dependent part of the CAN0 device node.

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

---
 arch/arm/boot/dts/r8a7791-henninger.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -125,6 +125,11 @@
 				 "msiof0_tx";
 		renesas,function = "msiof0";
 	};
+
+	can0_pins: can0 {
+		renesas,groups = "can0_data_a", "can_clk_d";
+		renesas,function = "can0";
+	};
 };
 
 &scif0 {
@@ -175,6 +180,12 @@
 	status = "okay";
 };
 
+&can0 {
+	pinctrl-0 = <&can0_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
 &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	pinctrl-names = "default";




More information about the linux-arm-kernel mailing list