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 <rog...@ti.com>
---
 arch/arm/boot/dts/am33xx.dtsi | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

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";
                };
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to