Skip to content

Commit

Permalink
ARM: socfpga: dts: add "altr,modrst-offset" property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dinh Nguyen authored and Dinh Nguyen committed Aug 10, 2015
1 parent 007bb68 commit 1a94acf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/reset/socfpga-reset.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ 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:
rstmgr@ffd05000 {
#reset-cells = <1>;
compatible = "altr,rst-mgr";
reg = <0xffd05000 0x1000>;
altr,modrst-offset = <0x10>;
};
1 change: 1 addition & 0 deletions arch/arm/boot/dts/socfpga.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@
#reset-cells = <1>;
compatible = "altr,rst-mgr";
reg = <0xffd05000 0x1000>;
altr,modrst-offset = <0x10>;
};

usbphy0: usbphy@0 {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/socfpga_arria10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@
#reset-cells = <1>;
compatible = "altr,rst-mgr";
reg = <0xffd05000 0x100>;
altr,modrst-offset = <0x20>;
};

scu: snoop-control-unit@ffffc000 {
Expand Down

0 comments on commit 1a94acf

Please sign in to comment.