diff options
author | Michal Simek <michal.simek@amd.com> | 2024-01-09 16:32:39 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2024-01-12 00:50:56 +0300 |
commit | 22439cf4d1ca4861820b825f4f07958bdaed12d6 (patch) | |
tree | 133e59db365a38e4f463b050d1fae6bb5ff24b23 /Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml | |
parent | 36a7c96b3f265fd2bc5f518ae2fc60bed578da30 (diff) | |
download | linux-22439cf4d1ca4861820b825f4f07958bdaed12d6.tar.xz |
dt-bindings: fpga: altera: Convert bridge bindings to yaml
Convert Altera's bridges to yaml with using fpga-bridge.yaml.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/07d646a6d82cc21b100e45ced7cae3ef05faa2cc.1704807147.git.michal.simek@amd.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml new file mode 100644 index 000000000000..22b58453c5ff --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/altr,socfpga-fpga2sdram-bridge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera FPGA To SDRAM Bridge + +maintainers: + - Xu Yilun <yilun.xu@intel.com> + +allOf: + - $ref: fpga-bridge.yaml# + +properties: + compatible: + const: altr,socfpga-fpga2sdram-bridge + + reg: + maxItems: 1 + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + fpga-bridge@ffc25080 { + compatible = "altr,socfpga-fpga2sdram-bridge"; + reg = <0xffc25080 0x4>; + bridge-enable = <0>; + }; |