Consolidate bridge properties in a single file, instead of duplicating the same optional property over and over again.
Unified · Split
| @@ -3,10 +3,7 @@ Altera FPGA To SDRAM Bridge Driver · 2 unmodified lines | |||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible : Should contain "altr,socfpga-fpga2sdram-bridge" | 4 | - compatible : Should contain "altr,socfpga-fpga2sdram-bridge" |
| 5 | 5 | ||
| 6 | Optional properties: | 6 | See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings. |
| 7 | - bridge-enable : 0 if driver should disable bridge at startup | ||
| 8 | 1 if driver should enable bridge at startup | ||
| 9 | Default is to leave bridge in current state. | ||
| 10 | 7 | ||
| 11 | Example: | 8 | Example: |
| 12 | fpga_bridge3: fpga-bridge@ffc25080 { | 9 | fpga_bridge3: fpga-bridge@ffc25080 { |
| @@ -10,10 +10,7 @@ Required properties: · 9 unmodified lines | |||
| 10 | - compatible : Should contain "altr,freeze-bridge-controller" | 10 | - compatible : Should contain "altr,freeze-bridge-controller" |
| 11 | - regs : base address and size for freeze bridge module | 11 | - regs : base address and size for freeze bridge module |
| 12 | 12 | ||
| 13 | Optional properties: | 13 | See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings. |
| 14 | - bridge-enable : 0 if driver should disable bridge at startup | ||
| 15 | 1 if driver should enable bridge at startup | ||
| 16 | Default is to leave bridge in current state. | ||
| 17 | 14 | ||
| 18 | Example: | 15 | Example: |
| 19 | freeze-controller@100000450 { | 16 | freeze-controller@100000450 { |
| @@ -9,10 +9,7 @@ Required properties: · 8 unmodified lines | |||
| 9 | - resets : Phandle and reset specifier for this bridge's reset | 9 | - resets : Phandle and reset specifier for this bridge's reset |
| 10 | - clocks : Clocks used by this module. | 10 | - clocks : Clocks used by this module. |
| 11 | 11 | ||
| 12 | Optional properties: | 12 | See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings. |
| 13 | - bridge-enable : 0 if driver should disable bridge at startup. | ||
| 14 | 1 if driver should enable bridge at startup. | ||
| 15 | Default is to leave bridge in its current state. | ||
| 16 | 13 | ||
| 17 | Example: | 14 | Example: |
| 18 | fpga_bridge0: fpga-bridge@ff400000 { | 15 | fpga_bridge0: fpga-bridge@ff400000 { |
| @@ -0,0 +1,13 @@ | |||
| 1 | FPGA Bridge Device Tree Binding | ||
| 2 | |||
| 3 | Optional properties: | ||
| 4 | - bridge-enable : 0 if driver should disable bridge at startup | ||
| 5 | 1 if driver should enable bridge at startup | ||
| 6 | Default is to leave bridge in current state. | ||
| 7 | |||
| 8 | Example: | ||
| 9 | fpga_bridge3: fpga-bridge@ffc25080 { | ||
| 10 | compatible = "altr,socfpga-fpga2sdram-bridge"; | ||
| 11 | reg = <0xffc25080 0x4>; | ||
| 12 | bridge-enable = <0>; | ||
| 13 | }; | ||
| @@ -18,12 +18,8 @@ Required properties: · 17 unmodified lines | |||
| 18 | - clocks : input clock to IP | 18 | - clocks : input clock to IP |
| 19 | - clock-names : should contain "aclk" | 19 | - clock-names : should contain "aclk" |
| 20 | 20 | ||
| 21 | Optional properties: | 21 | See Documentation/devicetree/bindings/fpga/fpga-region.txt and |
| 22 | - bridge-enable : 0 if driver should disable bridge at startup | 22 | Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings. |
| 23 | 1 if driver should enable bridge at startup | ||
| 24 | Default is to leave bridge in current state. | ||
| 25 | |||
| 26 | See Documentation/devicetree/bindings/fpga/fpga-region.txt for generic bindings. | ||
| 27 | 23 | ||
| 28 | Example: | 24 | Example: |
| 29 | fpga-bridge@100000450 { | 25 | fpga-bridge@100000450 { |