Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/gpu/brcm,bcm-v3d.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Broadcom V3D GPU Bindings
0008 
0009 maintainers:
0010   - Eric Anholt <eric@anholt.net>
0011   - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
0012 
0013 properties:
0014   $nodename:
0015     pattern: '^gpu@[a-f0-9]+$'
0016 
0017   compatible:
0018     enum:
0019       - brcm,2711-v3d
0020       - brcm,7268-v3d
0021       - brcm,7278-v3d
0022 
0023   reg:
0024     items:
0025       - description: hub register (required)
0026       - description: core0 register (required)
0027       - description: GCA cache controller register (if GCA controller present)
0028       - description: bridge register (if no external reset controller)
0029     minItems: 2
0030 
0031   reg-names:
0032     items:
0033       - const: hub
0034       - const: core0
0035       - enum: [ bridge, gca ]
0036       - enum: [ bridge, gca ]
0037     minItems: 2
0038 
0039   interrupts:
0040     items:
0041       - description: hub interrupt (required)
0042       - description: core interrupts (if it doesn't share the hub's interrupt)
0043     minItems: 1
0044 
0045   clocks:
0046     maxItems: 1
0047 
0048   resets:
0049     maxItems: 1
0050 
0051   power-domains:
0052     maxItems: 1
0053 
0054 required:
0055   - compatible
0056   - reg
0057   - reg-names
0058   - interrupts
0059 
0060 additionalProperties: false
0061 
0062 examples:
0063   - |
0064     gpu@f1200000 {
0065       compatible = "brcm,7268-v3d";
0066       reg = <0xf1200000 0x4000>,
0067             <0xf1208000 0x4000>,
0068             <0xf1204000 0x100>,
0069             <0xf1204100 0x100>;
0070       reg-names = "hub", "core0", "bridge", "gca";
0071       interrupts = <0 78 4>,
0072                    <0 77 4>;
0073     };
0074 
0075 ...