22# Copyright 2019 Analog Devices Inc.
33%YAML 1.2
44---
5- $id : http://devicetree.org/schemas/bindings/ media/adi,adi-fb.yaml#
5+ $id : http://devicetree.org/schemas/media/adi,adi-axi -fb.yaml#
66$schema : http://devicetree.org/meta-schemas/core.yaml#
77
8- title : Analog Devices AXI Frame Buffer Device Tree Bindings
8+ title : Analog Devices AXI Frame Buffer
99
1010maintainers :
1111 -
Bogdan Togorean <[email protected] > @@ -16,29 +16,38 @@ description: |
1616 https://wiki.analog.com/resources/fpga/docs/axi_dmac
1717 First example is used when FB is stored in PS RAM and second for PL RAM.
1818
19+ additionalProperties : false
20+
1921properties :
2022 compatible :
2123 enum :
22- - adi,axi-framebuffer-1.00.a
24+ - adi,axi-framebuffer-1.00.a
2325
2426 memory-region :
2527 description :
2628 Phandle to a node used to specify reserved memory for video frame buffers.
2729 If not used, frame buffer address and size should be specified using reg
2830 property.
29- allOf :
30- - $ref : /schemas/types.yaml#/definitions/phandle-array
3131
3232 reg :
3333 minItems : 2
3434 maxItems : 3
3535
36+ reg-names :
37+ oneOf :
38+ - items :
39+ - const : tx_dma
40+ - const : rx_dma
41+ - items :
42+ - const : fb_mem
43+ - const : tx_dma
44+ - const : rx_dma
45+
3646 adi,flock-resolution :
3747 description :
3848 (u32, u32) tuple setting resolution of input/output image in pixels.
3949 <horizontal> <vertical>
40- allOf :
41- - $ref : /schemas/types.yaml#/definitions/uint32-array
50+ $ref : /schemas/types.yaml#/definitions/uint32-array
4251 minItems : 2
4352 maxItems : 2
4453
@@ -85,10 +94,11 @@ properties:
8594required :
8695 - compatible
8796 - reg
97+ - reg-names
8898
8999examples :
90100 - |
91- adi-fb {
101+ framebuffer@43000000 {
92102 compatible = "adi,axi-framebuffer-1.00.a";
93103 memory-region = <&reserved>;
94104 reg = <0x43000000 0x1000>, <0x43c20000 0x1000>;
@@ -112,7 +122,7 @@ examples:
112122 };
113123
114124 - |
115- adi-fb {
125+ framebuffer@1c000000 {
116126 compatible = "adi,axi-framebuffer-1.00.a";
117127 reg = <0x1C000000 0x2000>, <0x43000000 0x1000>, <0x43c20000 0x1000>;
118128 reg-names = "fb_mem", "tx_dma", "rx_dma";
0 commit comments