Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Dinh Nguyen <dinguyen@opensource.altera.com>

authored by

Dinh Nguyen and committed by
Dinh Nguyen
1a94acf8 007bb689

+4
+2
Documentation/devicetree/bindings/reset/socfpga-reset.txt
··· 3 3 Required properties: 4 4 - compatible : "altr,rst-mgr" 5 5 - reg : Should contain 1 register ranges(address and length) 6 + - altr,modrst-offset : Should contain the offset of the first modrst register. 6 7 - #reset-cells: 1 7 8 8 9 Example: ··· 11 10 #reset-cells = <1>; 12 11 compatible = "altr,rst-mgr"; 13 12 reg = <0xffd05000 0x1000>; 13 + altr,modrst-offset = <0x10>; 14 14 };
+1
arch/arm/boot/dts/socfpga.dtsi
··· 752 752 #reset-cells = <1>; 753 753 compatible = "altr,rst-mgr"; 754 754 reg = <0xffd05000 0x1000>; 755 + altr,modrst-offset = <0x10>; 755 756 }; 756 757 757 758 usbphy0: usbphy@0 {
+1
arch/arm/boot/dts/socfpga_arria10.dtsi
··· 588 588 #reset-cells = <1>; 589 589 compatible = "altr,rst-mgr"; 590 590 reg = <0xffd05000 0x100>; 591 + altr,modrst-offset = <0x20>; 591 592 }; 592 593 593 594 scu: snoop-control-unit@ffffc000 {