Commit 2949dc44 authored by Moritz Fischer's avatar Moritz Fischer

dt-bindings: fpga: Consolidate bridge properties

Consolidate bridge properties in a single file, instead of duplicating
the same optional property over and over again.
Acked-by: default avatarAlan Tull <atull@kernel.org>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
parent 71d8e94d
...@@ -3,10 +3,7 @@ Altera FPGA To SDRAM Bridge Driver ...@@ -3,10 +3,7 @@ Altera FPGA To SDRAM Bridge Driver
Required properties: Required properties:
- compatible : Should contain "altr,socfpga-fpga2sdram-bridge" - compatible : Should contain "altr,socfpga-fpga2sdram-bridge"
Optional properties: See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
- bridge-enable : 0 if driver should disable bridge at startup
1 if driver should enable bridge at startup
Default is to leave bridge in current state.
Example: Example:
fpga_bridge3: fpga-bridge@ffc25080 { fpga_bridge3: fpga-bridge@ffc25080 {
......
...@@ -10,10 +10,7 @@ Required properties: ...@@ -10,10 +10,7 @@ Required properties:
- compatible : Should contain "altr,freeze-bridge-controller" - compatible : Should contain "altr,freeze-bridge-controller"
- regs : base address and size for freeze bridge module - regs : base address and size for freeze bridge module
Optional properties: See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
- bridge-enable : 0 if driver should disable bridge at startup
1 if driver should enable bridge at startup
Default is to leave bridge in current state.
Example: Example:
freeze-controller@100000450 { freeze-controller@100000450 {
......
...@@ -9,10 +9,7 @@ Required properties: ...@@ -9,10 +9,7 @@ Required properties:
- resets : Phandle and reset specifier for this bridge's reset - resets : Phandle and reset specifier for this bridge's reset
- clocks : Clocks used by this module. - clocks : Clocks used by this module.
Optional properties: See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
- bridge-enable : 0 if driver should disable bridge at startup.
1 if driver should enable bridge at startup.
Default is to leave bridge in its current state.
Example: Example:
fpga_bridge0: fpga-bridge@ff400000 { fpga_bridge0: fpga-bridge@ff400000 {
......
FPGA Bridge Device Tree Binding
Optional properties:
- bridge-enable : 0 if driver should disable bridge at startup
1 if driver should enable bridge at startup
Default is to leave bridge in current state.
Example:
fpga_bridge3: fpga-bridge@ffc25080 {
compatible = "altr,socfpga-fpga2sdram-bridge";
reg = <0xffc25080 0x4>;
bridge-enable = <0>;
};
...@@ -18,12 +18,8 @@ Required properties: ...@@ -18,12 +18,8 @@ Required properties:
- clocks : input clock to IP - clocks : input clock to IP
- clock-names : should contain "aclk" - clock-names : should contain "aclk"
Optional properties: See Documentation/devicetree/bindings/fpga/fpga-region.txt and
- bridge-enable : 0 if driver should disable bridge at startup Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
1 if driver should enable bridge at startup
Default is to leave bridge in current state.
See Documentation/devicetree/bindings/fpga/fpga-region.txt for generic bindings.
Example: Example:
fpga-bridge@100000450 { fpga-bridge@100000450 {
......
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