diff mbox

[v2,12/12] ARM: dts: am33xx: Add dcan raminit bits

Message ID 1410274534-22826-13-git-send-email-rogerq@ti.com
State New
Headers show

Commit Message

Roger Quadros Sept. 9, 2014, 2:55 p.m. UTC
Add RAMINIT specific bits into the DCAN nodes.
Also rename can nodes from "d_can" to "can" to be compliant
with the ePAPR specs.

Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 arch/arm/boot/dts/am33xx.dtsi | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 492c043..0661cdd 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -334,20 +334,26 @@ 
 			interrupts = <91>;
 		};
 
-		dcan0: d_can@481cc000 {
+		dcan0: can@481cc000 {
 			compatible = "bosch,d_can";
 			ti,hwmods = "d_can0";
 			reg = <0x481cc000 0x2000
-				0x44e10644 0x4>;
+				0x644 0x4>; /* index to RAMINIT reg within syscon */
+			ti,raminit-syscon = <&am33xx_control_module>;
+			ti,raminit-start-bit = <0>;
+			ti,raminit-done-bit = <8>;
 			interrupts = <52>;
 			status = "disabled";
 		};
 
-		dcan1: d_can@481d0000 {
+		dcan1: can@481d0000 {
 			compatible = "bosch,d_can";
 			ti,hwmods = "d_can1";
 			reg = <0x481d0000 0x2000
-				0x44e10644 0x4>;
+				0x644 0x4>; /* index to RAMINIT reg within syscon */
+			ti,raminit-syscon = <&am33xx_control_module>;
+			ti,raminit-start-bit = <1>;
+			ti,raminit-done-bit = <9>;
 			interrupts = <55>;
 			status = "disabled";
 		};