Copy over the reset data from kernel to DT. Currently, only system reset
has been defined, but rest can be added later once needed.

Signed-off-by: Tero Kristo <t-kri...@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 5d65db9..e299b07 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -199,6 +199,7 @@
                                compatible = "ti,dra7-prm";
                                reg = <0x6000 0x3000>;
                                interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+                               #reset-cells = <5>;
 
                                prm_clocks: clocks {
                                        #address-cells = <1>;
@@ -207,6 +208,12 @@
 
                                prm_clockdomains: clockdomains {
                                };
+
+                               system_reset: system_reset {
+                                       compatible = "ti,system-reset";
+                                       reset-names = "system";
+                                       resets = <&prm 0x1d00 0 0 4 0>;
+                               };
                        };
                };
 
-- 
1.7.9.5

--
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