Commit 1a94acf8 authored by Dinh Nguyen's avatar Dinh Nguyen Committed by Dinh Nguyen

ARM: socfpga: dts: add "altr,modrst-offset" property

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: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
parent 007bb689
...@@ -3,6 +3,7 @@ Altera SOCFPGA Reset Manager ...@@ -3,6 +3,7 @@ Altera SOCFPGA Reset Manager
Required properties: Required properties:
- compatible : "altr,rst-mgr" - compatible : "altr,rst-mgr"
- reg : Should contain 1 register ranges(address and length) - reg : Should contain 1 register ranges(address and length)
- altr,modrst-offset : Should contain the offset of the first modrst register.
- #reset-cells: 1 - #reset-cells: 1
Example: Example:
...@@ -10,4 +11,5 @@ Example: ...@@ -10,4 +11,5 @@ Example:
#reset-cells = <1>; #reset-cells = <1>;
compatible = "altr,rst-mgr"; compatible = "altr,rst-mgr";
reg = <0xffd05000 0x1000>; reg = <0xffd05000 0x1000>;
altr,modrst-offset = <0x10>;
}; };
...@@ -752,6 +752,7 @@ rst: rstmgr@ffd05000 { ...@@ -752,6 +752,7 @@ rst: rstmgr@ffd05000 {
#reset-cells = <1>; #reset-cells = <1>;
compatible = "altr,rst-mgr"; compatible = "altr,rst-mgr";
reg = <0xffd05000 0x1000>; reg = <0xffd05000 0x1000>;
altr,modrst-offset = <0x10>;
}; };
usbphy0: usbphy@0 { usbphy0: usbphy@0 {
......
...@@ -588,6 +588,7 @@ rst: rstmgr@ffd05000 { ...@@ -588,6 +588,7 @@ rst: rstmgr@ffd05000 {
#reset-cells = <1>; #reset-cells = <1>;
compatible = "altr,rst-mgr"; compatible = "altr,rst-mgr";
reg = <0xffd05000 0x100>; reg = <0xffd05000 0x100>;
altr,modrst-offset = <0x20>;
}; };
scu: snoop-control-unit@ffffc000 { scu: snoop-control-unit@ffffc000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment