Browse Source

ARM: shmobile: henninger: add CAN0 DT support

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

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Sergei Shtylyov 10 years ago
parent
commit
457acc4a6c
1 changed files with 11 additions and 0 deletions
  1. 11 0
      arch/arm/boot/dts/r8a7791-henninger.dts

+ 11 - 0
arch/arm/boot/dts/r8a7791-henninger.dts

@@ -141,6 +141,11 @@
 		renesas,groups = "vin0_data8", "vin0_clk";
 		renesas,function = "vin0";
 	};
+
+	can0_pins: can0 {
+		renesas,groups = "can0_data";
+		renesas,function = "can0";
+	};
 };
 
 &scif0 {
@@ -307,3 +312,9 @@
 		};
 	};
 };
+
+&can0 {
+	pinctrl-0 = <&can0_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};