ARM: socfpga: dts: add "altr,modrst-offset" property
authorDinh Nguyen <dinguyen@opensource.altera.com>
Fri, 24 Jul 2015 19:05:06 +0000 (14:05 -0500)
committerDinh Nguyen <dinh.linux@gmail.com>
Mon, 10 Aug 2015 02:58:46 +0000 (21:58 -0500)
The "altr,modrst-offset" property represents the offset into the reset manager
that is the first register to be used by the driver to bring peripherals out
of reset.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Documentation/devicetree/bindings/reset/socfpga-reset.txt
arch/arm/boot/dts/socfpga.dtsi
arch/arm/boot/dts/socfpga_arria10.dtsi

index 32c1c8b..98c9f56 100644 (file)
@@ -3,6 +3,7 @@ Altera SOCFPGA Reset Manager
 Required properties:
 - compatible : "altr,rst-mgr"
 - reg : Should contain 1 register ranges(address and length)
+- altr,modrst-offset : Should contain the offset of the first modrst register.
 - #reset-cells: 1
 
 Example:
@@ -10,4 +11,5 @@ Example:
                #reset-cells = <1>;
                compatible = "altr,rst-mgr";
                reg = <0xffd05000 0x1000>;
+               altr,modrst-offset = <0x10>;
        };
index 80f924d..ed185b9 100644 (file)
                        #reset-cells = <1>;
                        compatible = "altr,rst-mgr";
                        reg = <0xffd05000 0x1000>;
+                       altr,modrst-offset = <0x10>;
                };
 
                usbphy0: usbphy@0 {
index 4779b07..1d341dc 100644 (file)
                        #reset-cells = <1>;
                        compatible = "altr,rst-mgr";
                        reg = <0xffd05000 0x100>;
+                       altr,modrst-offset = <0x20>;
                };
 
                scu: snoop-control-unit@ffffc000 {