199d66127SLaurent Pinchart# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
299d66127SLaurent Pinchart%YAML 1.2
399d66127SLaurent Pinchart---
499d66127SLaurent Pinchart$id: http://devicetree.org/schemas/display/renesas,du.yaml#
599d66127SLaurent Pinchart$schema: http://devicetree.org/meta-schemas/core.yaml#
699d66127SLaurent Pinchart
799d66127SLaurent Pincharttitle: Renesas R-Car Display Unit (DU)
899d66127SLaurent Pinchart
999d66127SLaurent Pinchartmaintainers:
1099d66127SLaurent Pinchart  - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
1199d66127SLaurent Pinchart
1299d66127SLaurent Pinchartdescription: |
1399d66127SLaurent Pinchart  These DT bindings describe the Display Unit embedded in the Renesas R-Car
1499d66127SLaurent Pinchart  Gen1, R-Car Gen2, R-Car Gen3, RZ/G1 and RZ/G2 SoCs.
1599d66127SLaurent Pinchart
1699d66127SLaurent Pinchartproperties:
1799d66127SLaurent Pinchart  compatible:
1899d66127SLaurent Pinchart    enum:
1999d66127SLaurent Pinchart      - renesas,du-r8a7742 # for RZ/G1H compatible DU
2099d66127SLaurent Pinchart      - renesas,du-r8a7743 # for RZ/G1M compatible DU
2199d66127SLaurent Pinchart      - renesas,du-r8a7744 # for RZ/G1N compatible DU
2299d66127SLaurent Pinchart      - renesas,du-r8a7745 # for RZ/G1E compatible DU
2399d66127SLaurent Pinchart      - renesas,du-r8a77470 # for RZ/G1C compatible DU
2499d66127SLaurent Pinchart      - renesas,du-r8a774a1 # for RZ/G2M compatible DU
2599d66127SLaurent Pinchart      - renesas,du-r8a774b1 # for RZ/G2N compatible DU
2699d66127SLaurent Pinchart      - renesas,du-r8a774c0 # for RZ/G2E compatible DU
2799d66127SLaurent Pinchart      - renesas,du-r8a774e1 # for RZ/G2H compatible DU
2899d66127SLaurent Pinchart      - renesas,du-r8a7779 # for R-Car H1 compatible DU
2999d66127SLaurent Pinchart      - renesas,du-r8a7790 # for R-Car H2 compatible DU
3099d66127SLaurent Pinchart      - renesas,du-r8a7791 # for R-Car M2-W compatible DU
3199d66127SLaurent Pinchart      - renesas,du-r8a7792 # for R-Car V2H compatible DU
3299d66127SLaurent Pinchart      - renesas,du-r8a7793 # for R-Car M2-N compatible DU
3399d66127SLaurent Pinchart      - renesas,du-r8a7794 # for R-Car E2 compatible DU
3499d66127SLaurent Pinchart      - renesas,du-r8a7795 # for R-Car H3 compatible DU
3599d66127SLaurent Pinchart      - renesas,du-r8a7796 # for R-Car M3-W compatible DU
3699d66127SLaurent Pinchart      - renesas,du-r8a77961 # for R-Car M3-W+ compatible DU
3799d66127SLaurent Pinchart      - renesas,du-r8a77965 # for R-Car M3-N compatible DU
3899d66127SLaurent Pinchart      - renesas,du-r8a77970 # for R-Car V3M compatible DU
3999d66127SLaurent Pinchart      - renesas,du-r8a77980 # for R-Car V3H compatible DU
4099d66127SLaurent Pinchart      - renesas,du-r8a77990 # for R-Car E3 compatible DU
4199d66127SLaurent Pinchart      - renesas,du-r8a77995 # for R-Car D3 compatible DU
42*458dc64eSKieran Bingham      - renesas,du-r8a779a0 # for R-Car V3U compatible DU
4399d66127SLaurent Pinchart
4499d66127SLaurent Pinchart  reg:
4599d66127SLaurent Pinchart    maxItems: 1
4699d66127SLaurent Pinchart
4799d66127SLaurent Pinchart  # See compatible-specific constraints below.
4899d66127SLaurent Pinchart  clocks: true
4999d66127SLaurent Pinchart  clock-names: true
5099d66127SLaurent Pinchart  interrupts:
5199d66127SLaurent Pinchart    description: Interrupt specifiers, one per DU channel
5299d66127SLaurent Pinchart  resets: true
5399d66127SLaurent Pinchart  reset-names: true
5499d66127SLaurent Pinchart
55970aa72cSGeert Uytterhoeven  power-domains:
56970aa72cSGeert Uytterhoeven    maxItems: 1
57970aa72cSGeert Uytterhoeven
5899d66127SLaurent Pinchart  ports:
59bae4cbe1SRob Herring    $ref: /schemas/graph.yaml#/properties/ports
6099d66127SLaurent Pinchart    description: |
6199d66127SLaurent Pinchart      The connections to the DU output video ports are modeled using the OF
6299d66127SLaurent Pinchart      graph bindings specified in Documentation/devicetree/bindings/graph.txt.
6399d66127SLaurent Pinchart      The number of ports and their assignment are model-dependent. Each port
6499d66127SLaurent Pinchart      shall have a single endpoint.
6599d66127SLaurent Pinchart
6699d66127SLaurent Pinchart    patternProperties:
6799d66127SLaurent Pinchart      "^port@[0-3]$":
6899d66127SLaurent Pinchart        $ref: /schemas/graph.yaml#/properties/port
6999d66127SLaurent Pinchart        unevaluatedProperties: false
7099d66127SLaurent Pinchart
7199d66127SLaurent Pinchart    required:
7299d66127SLaurent Pinchart      - port@0
7399d66127SLaurent Pinchart      - port@1
7499d66127SLaurent Pinchart
7599d66127SLaurent Pinchart    unevaluatedProperties: false
7699d66127SLaurent Pinchart
7799d66127SLaurent Pinchart  renesas,cmms:
7899d66127SLaurent Pinchart    $ref: "/schemas/types.yaml#/definitions/phandle-array"
7999d66127SLaurent Pinchart    description:
8099d66127SLaurent Pinchart      A list of phandles to the CMM instances present in the SoC, one for each
8199d66127SLaurent Pinchart      available DU channel.
8299d66127SLaurent Pinchart
8399d66127SLaurent Pinchart  renesas,vsps:
8499d66127SLaurent Pinchart    $ref: "/schemas/types.yaml#/definitions/phandle-array"
8599d66127SLaurent Pinchart    description:
8699d66127SLaurent Pinchart      A list of phandle and channel index tuples to the VSPs that handle the
8799d66127SLaurent Pinchart      memory interfaces for the DU channels. The phandle identifies the VSP
8899d66127SLaurent Pinchart      instance that serves the DU channel, and the channel index identifies
8999d66127SLaurent Pinchart      the LIF instance in that VSP.
9099d66127SLaurent Pinchart
9199d66127SLaurent Pinchartrequired:
9299d66127SLaurent Pinchart  - compatible
9399d66127SLaurent Pinchart  - reg
9499d66127SLaurent Pinchart  - clocks
9599d66127SLaurent Pinchart  - interrupts
9699d66127SLaurent Pinchart  - ports
9799d66127SLaurent Pinchart
9899d66127SLaurent PinchartallOf:
9999d66127SLaurent Pinchart  - if:
10099d66127SLaurent Pinchart      properties:
10199d66127SLaurent Pinchart        compatible:
10299d66127SLaurent Pinchart          contains:
10399d66127SLaurent Pinchart            const: renesas,du-r8a7779
10499d66127SLaurent Pinchart    then:
10599d66127SLaurent Pinchart      properties:
10699d66127SLaurent Pinchart        clocks:
10799d66127SLaurent Pinchart          minItems: 1
10899d66127SLaurent Pinchart          maxItems: 3
10999d66127SLaurent Pinchart          items:
11099d66127SLaurent Pinchart            - description: Functional clock
11199d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
11299d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
11399d66127SLaurent Pinchart
11499d66127SLaurent Pinchart        clock-names:
11599d66127SLaurent Pinchart          minItems: 1
11699d66127SLaurent Pinchart          maxItems: 3
11799d66127SLaurent Pinchart          items:
11899d66127SLaurent Pinchart            - const: du.0
11999d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
12099d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
12199d66127SLaurent Pinchart
12299d66127SLaurent Pinchart        interrupts:
12399d66127SLaurent Pinchart          maxItems: 1
12499d66127SLaurent Pinchart
12599d66127SLaurent Pinchart        resets:
12699d66127SLaurent Pinchart          maxItems: 1
12799d66127SLaurent Pinchart
12899d66127SLaurent Pinchart        ports:
12999d66127SLaurent Pinchart          properties:
13099d66127SLaurent Pinchart            port@0:
13199d66127SLaurent Pinchart              description: DPAD 0
13299d66127SLaurent Pinchart            port@1:
13399d66127SLaurent Pinchart              description: DPAD 1
13499d66127SLaurent Pinchart            # port@2 is TCON, not supported yet
13599d66127SLaurent Pinchart            port@2: false
13699d66127SLaurent Pinchart            port@3: false
13799d66127SLaurent Pinchart
13899d66127SLaurent Pinchart          required:
13999d66127SLaurent Pinchart            - port@0
14099d66127SLaurent Pinchart            - port@1
14199d66127SLaurent Pinchart
14299d66127SLaurent Pinchart      required:
14399d66127SLaurent Pinchart        - interrupts
14499d66127SLaurent Pinchart
14599d66127SLaurent Pinchart  - if:
14699d66127SLaurent Pinchart      properties:
14799d66127SLaurent Pinchart        compatible:
14899d66127SLaurent Pinchart          contains:
14999d66127SLaurent Pinchart            enum:
15099d66127SLaurent Pinchart              - renesas,du-r8a7743
15199d66127SLaurent Pinchart              - renesas,du-r8a7744
15299d66127SLaurent Pinchart              - renesas,du-r8a7791
15399d66127SLaurent Pinchart              - renesas,du-r8a7793
15499d66127SLaurent Pinchart    then:
15599d66127SLaurent Pinchart      properties:
15699d66127SLaurent Pinchart        clocks:
15799d66127SLaurent Pinchart          minItems: 2
15899d66127SLaurent Pinchart          maxItems: 4
15999d66127SLaurent Pinchart          items:
16099d66127SLaurent Pinchart            - description: Functional clock for DU0
16199d66127SLaurent Pinchart            - description: Functional clock for DU1
16299d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
16399d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
16499d66127SLaurent Pinchart
16599d66127SLaurent Pinchart        clock-names:
16699d66127SLaurent Pinchart          minItems: 2
16799d66127SLaurent Pinchart          maxItems: 4
16899d66127SLaurent Pinchart          items:
16999d66127SLaurent Pinchart            - const: du.0
17099d66127SLaurent Pinchart            - const: du.1
17199d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
17299d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
17399d66127SLaurent Pinchart
17499d66127SLaurent Pinchart        interrupts:
17599d66127SLaurent Pinchart          maxItems: 2
17699d66127SLaurent Pinchart
17799d66127SLaurent Pinchart        resets:
17899d66127SLaurent Pinchart          maxItems: 1
17999d66127SLaurent Pinchart
18099d66127SLaurent Pinchart        reset-names:
18199d66127SLaurent Pinchart          items:
18299d66127SLaurent Pinchart            - const: du.0
18399d66127SLaurent Pinchart
18499d66127SLaurent Pinchart        ports:
18599d66127SLaurent Pinchart          properties:
18699d66127SLaurent Pinchart            port@0:
18799d66127SLaurent Pinchart              description: DPAD 0
18899d66127SLaurent Pinchart            port@1:
18999d66127SLaurent Pinchart              description: LVDS 0
19099d66127SLaurent Pinchart            # port@2 is TCON, not supported yet
19199d66127SLaurent Pinchart            port@2: false
19299d66127SLaurent Pinchart            port@3: false
19399d66127SLaurent Pinchart
19499d66127SLaurent Pinchart          required:
19599d66127SLaurent Pinchart            - port@0
19699d66127SLaurent Pinchart            - port@1
19799d66127SLaurent Pinchart
19899d66127SLaurent Pinchart      required:
19999d66127SLaurent Pinchart        - clock-names
20099d66127SLaurent Pinchart        - interrupts
20199d66127SLaurent Pinchart        - resets
20299d66127SLaurent Pinchart        - reset-names
20399d66127SLaurent Pinchart
20499d66127SLaurent Pinchart  - if:
20599d66127SLaurent Pinchart      properties:
20699d66127SLaurent Pinchart        compatible:
20799d66127SLaurent Pinchart          contains:
20899d66127SLaurent Pinchart            enum:
20999d66127SLaurent Pinchart              - renesas,du-r8a7745
21099d66127SLaurent Pinchart              - renesas,du-r8a7792
21199d66127SLaurent Pinchart    then:
21299d66127SLaurent Pinchart      properties:
21399d66127SLaurent Pinchart        clocks:
21499d66127SLaurent Pinchart          minItems: 2
21599d66127SLaurent Pinchart          maxItems: 4
21699d66127SLaurent Pinchart          items:
21799d66127SLaurent Pinchart            - description: Functional clock for DU0
21899d66127SLaurent Pinchart            - description: Functional clock for DU1
21999d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
22099d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
22199d66127SLaurent Pinchart
22299d66127SLaurent Pinchart        clock-names:
22399d66127SLaurent Pinchart          minItems: 2
22499d66127SLaurent Pinchart          maxItems: 4
22599d66127SLaurent Pinchart          items:
22699d66127SLaurent Pinchart            - const: du.0
22799d66127SLaurent Pinchart            - const: du.1
22899d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
22999d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
23099d66127SLaurent Pinchart
23199d66127SLaurent Pinchart        interrupts:
23299d66127SLaurent Pinchart          maxItems: 2
23399d66127SLaurent Pinchart
23499d66127SLaurent Pinchart        resets:
23599d66127SLaurent Pinchart          maxItems: 1
23699d66127SLaurent Pinchart
23799d66127SLaurent Pinchart        reset-names:
23899d66127SLaurent Pinchart          items:
23999d66127SLaurent Pinchart            - const: du.0
24099d66127SLaurent Pinchart
24199d66127SLaurent Pinchart        ports:
24299d66127SLaurent Pinchart          properties:
24399d66127SLaurent Pinchart            port@0:
24499d66127SLaurent Pinchart              description: DPAD 0
24599d66127SLaurent Pinchart            port@1:
24699d66127SLaurent Pinchart              description: DPAD 1
24799d66127SLaurent Pinchart            port@2: false
24899d66127SLaurent Pinchart            port@3: false
24999d66127SLaurent Pinchart
25099d66127SLaurent Pinchart          required:
25199d66127SLaurent Pinchart            - port@0
25299d66127SLaurent Pinchart            - port@1
25399d66127SLaurent Pinchart
25499d66127SLaurent Pinchart      required:
25599d66127SLaurent Pinchart        - clock-names
25699d66127SLaurent Pinchart        - interrupts
25799d66127SLaurent Pinchart        - resets
25899d66127SLaurent Pinchart        - reset-names
25999d66127SLaurent Pinchart
26099d66127SLaurent Pinchart  - if:
26199d66127SLaurent Pinchart      properties:
26299d66127SLaurent Pinchart        compatible:
26399d66127SLaurent Pinchart          contains:
26499d66127SLaurent Pinchart            enum:
26599d66127SLaurent Pinchart              - renesas,du-r8a7794
26699d66127SLaurent Pinchart    then:
26799d66127SLaurent Pinchart      properties:
26899d66127SLaurent Pinchart        clocks:
26999d66127SLaurent Pinchart          minItems: 2
27099d66127SLaurent Pinchart          maxItems: 4
27199d66127SLaurent Pinchart          items:
27299d66127SLaurent Pinchart            - description: Functional clock for DU0
27399d66127SLaurent Pinchart            - description: Functional clock for DU1
27499d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
27599d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
27699d66127SLaurent Pinchart
27799d66127SLaurent Pinchart        clock-names:
27899d66127SLaurent Pinchart          minItems: 2
27999d66127SLaurent Pinchart          maxItems: 4
28099d66127SLaurent Pinchart          items:
28199d66127SLaurent Pinchart            - const: du.0
28299d66127SLaurent Pinchart            - const: du.1
28399d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
28499d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
28599d66127SLaurent Pinchart
28699d66127SLaurent Pinchart        interrupts:
28799d66127SLaurent Pinchart          maxItems: 2
28899d66127SLaurent Pinchart
28999d66127SLaurent Pinchart        resets:
29099d66127SLaurent Pinchart          maxItems: 1
29199d66127SLaurent Pinchart
29299d66127SLaurent Pinchart        reset-names:
29399d66127SLaurent Pinchart          items:
29499d66127SLaurent Pinchart            - const: du.0
29599d66127SLaurent Pinchart
29699d66127SLaurent Pinchart        ports:
29799d66127SLaurent Pinchart          properties:
29899d66127SLaurent Pinchart            port@0:
29999d66127SLaurent Pinchart              description: DPAD 0
30099d66127SLaurent Pinchart            port@1:
30199d66127SLaurent Pinchart              description: DPAD 1
30299d66127SLaurent Pinchart            # port@2 is TCON, not supported yet
30399d66127SLaurent Pinchart            port@2: false
30499d66127SLaurent Pinchart            port@3: false
30599d66127SLaurent Pinchart
30699d66127SLaurent Pinchart          required:
30799d66127SLaurent Pinchart            - port@0
30899d66127SLaurent Pinchart            - port@1
30999d66127SLaurent Pinchart
31099d66127SLaurent Pinchart      required:
31199d66127SLaurent Pinchart        - clock-names
31299d66127SLaurent Pinchart        - interrupts
31399d66127SLaurent Pinchart        - resets
31499d66127SLaurent Pinchart        - reset-names
31599d66127SLaurent Pinchart
31699d66127SLaurent Pinchart  - if:
31799d66127SLaurent Pinchart      properties:
31899d66127SLaurent Pinchart        compatible:
31999d66127SLaurent Pinchart          contains:
32099d66127SLaurent Pinchart            enum:
32199d66127SLaurent Pinchart              - renesas,du-r8a77470
32299d66127SLaurent Pinchart    then:
32399d66127SLaurent Pinchart      properties:
32499d66127SLaurent Pinchart        clocks:
32599d66127SLaurent Pinchart          minItems: 2
32699d66127SLaurent Pinchart          maxItems: 4
32799d66127SLaurent Pinchart          items:
32899d66127SLaurent Pinchart            - description: Functional clock for DU0
32999d66127SLaurent Pinchart            - description: Functional clock for DU1
33099d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
33199d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
33299d66127SLaurent Pinchart
33399d66127SLaurent Pinchart        clock-names:
33499d66127SLaurent Pinchart          minItems: 2
33599d66127SLaurent Pinchart          maxItems: 4
33699d66127SLaurent Pinchart          items:
33799d66127SLaurent Pinchart            - const: du.0
33899d66127SLaurent Pinchart            - const: du.1
33999d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
34099d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
34199d66127SLaurent Pinchart
34299d66127SLaurent Pinchart        interrupts:
34399d66127SLaurent Pinchart          maxItems: 2
34499d66127SLaurent Pinchart
34599d66127SLaurent Pinchart        resets:
34699d66127SLaurent Pinchart          maxItems: 1
34799d66127SLaurent Pinchart
34899d66127SLaurent Pinchart        reset-names:
34999d66127SLaurent Pinchart          items:
35099d66127SLaurent Pinchart            - const: du.0
35199d66127SLaurent Pinchart
35299d66127SLaurent Pinchart        ports:
35399d66127SLaurent Pinchart          properties:
35499d66127SLaurent Pinchart            port@0:
35599d66127SLaurent Pinchart              description: DPAD 0
35699d66127SLaurent Pinchart            port@1:
35799d66127SLaurent Pinchart              description: DPAD 1
35899d66127SLaurent Pinchart            port@2:
35999d66127SLaurent Pinchart              description: LVDS 0
36099d66127SLaurent Pinchart            # port@3 is DVENC, not supported yet
36199d66127SLaurent Pinchart            port@3: false
36299d66127SLaurent Pinchart
36399d66127SLaurent Pinchart          required:
36499d66127SLaurent Pinchart            - port@0
36599d66127SLaurent Pinchart            - port@1
36699d66127SLaurent Pinchart            - port@2
36799d66127SLaurent Pinchart
36899d66127SLaurent Pinchart      required:
36999d66127SLaurent Pinchart        - clock-names
37099d66127SLaurent Pinchart        - interrupts
37199d66127SLaurent Pinchart        - resets
37299d66127SLaurent Pinchart        - reset-names
37399d66127SLaurent Pinchart
37499d66127SLaurent Pinchart  - if:
37599d66127SLaurent Pinchart      properties:
37699d66127SLaurent Pinchart        compatible:
37799d66127SLaurent Pinchart          contains:
37899d66127SLaurent Pinchart            enum:
37999d66127SLaurent Pinchart              - renesas,du-r8a7742
38099d66127SLaurent Pinchart              - renesas,du-r8a7790
38199d66127SLaurent Pinchart    then:
38299d66127SLaurent Pinchart      properties:
38399d66127SLaurent Pinchart        clocks:
38499d66127SLaurent Pinchart          minItems: 3
38599d66127SLaurent Pinchart          maxItems: 6
38699d66127SLaurent Pinchart          items:
38799d66127SLaurent Pinchart            - description: Functional clock for DU0
38899d66127SLaurent Pinchart            - description: Functional clock for DU1
38999d66127SLaurent Pinchart            - description: Functional clock for DU2
39099d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
39199d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
39299d66127SLaurent Pinchart            - description: DU_DOTCLKIN2 input clock
39399d66127SLaurent Pinchart
39499d66127SLaurent Pinchart        clock-names:
39599d66127SLaurent Pinchart          minItems: 3
39699d66127SLaurent Pinchart          maxItems: 6
39799d66127SLaurent Pinchart          items:
39899d66127SLaurent Pinchart            - const: du.0
39999d66127SLaurent Pinchart            - const: du.1
40099d66127SLaurent Pinchart            - const: du.2
40199d66127SLaurent Pinchart            - pattern: '^dclkin\.[012]$'
40299d66127SLaurent Pinchart            - pattern: '^dclkin\.[012]$'
40399d66127SLaurent Pinchart            - pattern: '^dclkin\.[012]$'
40499d66127SLaurent Pinchart
40599d66127SLaurent Pinchart        interrupts:
40699d66127SLaurent Pinchart          maxItems: 3
40799d66127SLaurent Pinchart
40899d66127SLaurent Pinchart        resets:
40999d66127SLaurent Pinchart          maxItems: 1
41099d66127SLaurent Pinchart
41199d66127SLaurent Pinchart        reset-names:
41299d66127SLaurent Pinchart          items:
41399d66127SLaurent Pinchart            - const: du.0
41499d66127SLaurent Pinchart
41599d66127SLaurent Pinchart        ports:
41699d66127SLaurent Pinchart          properties:
41799d66127SLaurent Pinchart            port@0:
41899d66127SLaurent Pinchart              description: DPAD 0
41999d66127SLaurent Pinchart            port@1:
42099d66127SLaurent Pinchart              description: LVDS 0
42199d66127SLaurent Pinchart            port@2:
42299d66127SLaurent Pinchart              description: LVDS 1
42399d66127SLaurent Pinchart            # port@3 is TCON, not supported yet
42499d66127SLaurent Pinchart            port@3: false
42599d66127SLaurent Pinchart
42699d66127SLaurent Pinchart          required:
42799d66127SLaurent Pinchart            - port@0
42899d66127SLaurent Pinchart            - port@1
42999d66127SLaurent Pinchart            - port@2
43099d66127SLaurent Pinchart
43199d66127SLaurent Pinchart      required:
43299d66127SLaurent Pinchart        - clock-names
43399d66127SLaurent Pinchart        - interrupts
43499d66127SLaurent Pinchart        - resets
43599d66127SLaurent Pinchart        - reset-names
43699d66127SLaurent Pinchart
43799d66127SLaurent Pinchart  - if:
43899d66127SLaurent Pinchart      properties:
43999d66127SLaurent Pinchart        compatible:
44099d66127SLaurent Pinchart          contains:
44199d66127SLaurent Pinchart            enum:
44299d66127SLaurent Pinchart              - renesas,du-r8a7795
44399d66127SLaurent Pinchart    then:
44499d66127SLaurent Pinchart      properties:
44599d66127SLaurent Pinchart        clocks:
44699d66127SLaurent Pinchart          minItems: 4
44799d66127SLaurent Pinchart          maxItems: 8
44899d66127SLaurent Pinchart          items:
44999d66127SLaurent Pinchart            - description: Functional clock for DU0
45099d66127SLaurent Pinchart            - description: Functional clock for DU1
45199d66127SLaurent Pinchart            - description: Functional clock for DU2
45299d66127SLaurent Pinchart            - description: Functional clock for DU4
45399d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
45499d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
45599d66127SLaurent Pinchart            - description: DU_DOTCLKIN2 input clock
45699d66127SLaurent Pinchart            - description: DU_DOTCLKIN3 input clock
45799d66127SLaurent Pinchart
45899d66127SLaurent Pinchart        clock-names:
45999d66127SLaurent Pinchart          minItems: 4
46099d66127SLaurent Pinchart          maxItems: 8
46199d66127SLaurent Pinchart          items:
46299d66127SLaurent Pinchart            - const: du.0
46399d66127SLaurent Pinchart            - const: du.1
46499d66127SLaurent Pinchart            - const: du.2
46599d66127SLaurent Pinchart            - const: du.3
46699d66127SLaurent Pinchart            - pattern: '^dclkin\.[0123]$'
46799d66127SLaurent Pinchart            - pattern: '^dclkin\.[0123]$'
46899d66127SLaurent Pinchart            - pattern: '^dclkin\.[0123]$'
46999d66127SLaurent Pinchart            - pattern: '^dclkin\.[0123]$'
47099d66127SLaurent Pinchart
47199d66127SLaurent Pinchart        interrupts:
47299d66127SLaurent Pinchart          maxItems: 4
47399d66127SLaurent Pinchart
47499d66127SLaurent Pinchart        resets:
47599d66127SLaurent Pinchart          maxItems: 2
47699d66127SLaurent Pinchart
47799d66127SLaurent Pinchart        reset-names:
47899d66127SLaurent Pinchart          items:
47999d66127SLaurent Pinchart            - const: du.0
48099d66127SLaurent Pinchart            - const: du.2
48199d66127SLaurent Pinchart
48299d66127SLaurent Pinchart        ports:
48399d66127SLaurent Pinchart          properties:
48499d66127SLaurent Pinchart            port@0:
48599d66127SLaurent Pinchart              description: DPAD 0
48699d66127SLaurent Pinchart            port@1:
48799d66127SLaurent Pinchart              description: HDMI 0
48899d66127SLaurent Pinchart            port@2:
48999d66127SLaurent Pinchart              description: HDMI 1
49099d66127SLaurent Pinchart            port@3:
49199d66127SLaurent Pinchart              description: LVDS 0
49299d66127SLaurent Pinchart
49399d66127SLaurent Pinchart          required:
49499d66127SLaurent Pinchart            - port@0
49599d66127SLaurent Pinchart            - port@1
49699d66127SLaurent Pinchart            - port@2
49799d66127SLaurent Pinchart            - port@3
49899d66127SLaurent Pinchart
49999d66127SLaurent Pinchart        renesas,cmms:
50099d66127SLaurent Pinchart          minItems: 4
50199d66127SLaurent Pinchart
50299d66127SLaurent Pinchart        renesas,vsps:
50399d66127SLaurent Pinchart          minItems: 4
50499d66127SLaurent Pinchart
50599d66127SLaurent Pinchart      required:
50699d66127SLaurent Pinchart        - clock-names
50799d66127SLaurent Pinchart        - interrupts
50899d66127SLaurent Pinchart        - resets
50999d66127SLaurent Pinchart        - reset-names
51099d66127SLaurent Pinchart        - renesas,vsps
51199d66127SLaurent Pinchart
51299d66127SLaurent Pinchart  - if:
51399d66127SLaurent Pinchart      properties:
51499d66127SLaurent Pinchart        compatible:
51599d66127SLaurent Pinchart          contains:
51699d66127SLaurent Pinchart            enum:
51799d66127SLaurent Pinchart              - renesas,du-r8a774a1
51899d66127SLaurent Pinchart              - renesas,du-r8a7796
51999d66127SLaurent Pinchart              - renesas,du-r8a77961
52099d66127SLaurent Pinchart    then:
52199d66127SLaurent Pinchart      properties:
52299d66127SLaurent Pinchart        clocks:
52399d66127SLaurent Pinchart          minItems: 3
52499d66127SLaurent Pinchart          maxItems: 6
52599d66127SLaurent Pinchart          items:
52699d66127SLaurent Pinchart            - description: Functional clock for DU0
52799d66127SLaurent Pinchart            - description: Functional clock for DU1
52899d66127SLaurent Pinchart            - description: Functional clock for DU2
52999d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
53099d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
53199d66127SLaurent Pinchart            - description: DU_DOTCLKIN2 input clock
53299d66127SLaurent Pinchart
53399d66127SLaurent Pinchart        clock-names:
53499d66127SLaurent Pinchart          minItems: 3
53599d66127SLaurent Pinchart          maxItems: 6
53699d66127SLaurent Pinchart          items:
53799d66127SLaurent Pinchart            - const: du.0
53899d66127SLaurent Pinchart            - const: du.1
53999d66127SLaurent Pinchart            - const: du.2
54099d66127SLaurent Pinchart            - pattern: '^dclkin\.[012]$'
54199d66127SLaurent Pinchart            - pattern: '^dclkin\.[012]$'
54299d66127SLaurent Pinchart            - pattern: '^dclkin\.[012]$'
54399d66127SLaurent Pinchart
54499d66127SLaurent Pinchart        interrupts:
54599d66127SLaurent Pinchart          maxItems: 3
54699d66127SLaurent Pinchart
54799d66127SLaurent Pinchart        resets:
54899d66127SLaurent Pinchart          maxItems: 2
54999d66127SLaurent Pinchart
55099d66127SLaurent Pinchart        reset-names:
55199d66127SLaurent Pinchart          items:
55299d66127SLaurent Pinchart            - const: du.0
55399d66127SLaurent Pinchart            - const: du.2
55499d66127SLaurent Pinchart
55599d66127SLaurent Pinchart        ports:
55699d66127SLaurent Pinchart          properties:
55799d66127SLaurent Pinchart            port@0:
55899d66127SLaurent Pinchart              description: DPAD 0
55999d66127SLaurent Pinchart            port@1:
56099d66127SLaurent Pinchart              description: HDMI 0
56199d66127SLaurent Pinchart            port@2:
56299d66127SLaurent Pinchart              description: LVDS 0
56399d66127SLaurent Pinchart            port@3: false
56499d66127SLaurent Pinchart
56599d66127SLaurent Pinchart          required:
56699d66127SLaurent Pinchart            - port@0
56799d66127SLaurent Pinchart            - port@1
56899d66127SLaurent Pinchart            - port@2
56999d66127SLaurent Pinchart
57099d66127SLaurent Pinchart        renesas,cmms:
57199d66127SLaurent Pinchart          minItems: 3
57299d66127SLaurent Pinchart
57399d66127SLaurent Pinchart        renesas,vsps:
57499d66127SLaurent Pinchart          minItems: 3
57599d66127SLaurent Pinchart
57699d66127SLaurent Pinchart      required:
57799d66127SLaurent Pinchart        - clock-names
57899d66127SLaurent Pinchart        - interrupts
57999d66127SLaurent Pinchart        - resets
58099d66127SLaurent Pinchart        - reset-names
58199d66127SLaurent Pinchart        - renesas,vsps
58299d66127SLaurent Pinchart
58399d66127SLaurent Pinchart  - if:
58499d66127SLaurent Pinchart      properties:
58599d66127SLaurent Pinchart        compatible:
58699d66127SLaurent Pinchart          contains:
58799d66127SLaurent Pinchart            enum:
58899d66127SLaurent Pinchart              - renesas,du-r8a774b1
58999d66127SLaurent Pinchart              - renesas,du-r8a774e1
59099d66127SLaurent Pinchart              - renesas,du-r8a77965
59199d66127SLaurent Pinchart    then:
59299d66127SLaurent Pinchart      properties:
59399d66127SLaurent Pinchart        clocks:
59499d66127SLaurent Pinchart          minItems: 3
59599d66127SLaurent Pinchart          maxItems: 6
59699d66127SLaurent Pinchart          items:
59799d66127SLaurent Pinchart            - description: Functional clock for DU0
59899d66127SLaurent Pinchart            - description: Functional clock for DU1
59999d66127SLaurent Pinchart            - description: Functional clock for DU3
60099d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
60199d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
60299d66127SLaurent Pinchart            - description: DU_DOTCLKIN3 input clock
60399d66127SLaurent Pinchart
60499d66127SLaurent Pinchart        clock-names:
60599d66127SLaurent Pinchart          minItems: 3
60699d66127SLaurent Pinchart          maxItems: 6
60799d66127SLaurent Pinchart          items:
60899d66127SLaurent Pinchart            - const: du.0
60999d66127SLaurent Pinchart            - const: du.1
61099d66127SLaurent Pinchart            - const: du.3
61199d66127SLaurent Pinchart            - pattern: '^dclkin\.[013]$'
61299d66127SLaurent Pinchart            - pattern: '^dclkin\.[013]$'
61399d66127SLaurent Pinchart            - pattern: '^dclkin\.[013]$'
61499d66127SLaurent Pinchart
61599d66127SLaurent Pinchart        interrupts:
61699d66127SLaurent Pinchart          maxItems: 3
61799d66127SLaurent Pinchart
61899d66127SLaurent Pinchart        resets:
61999d66127SLaurent Pinchart          maxItems: 2
62099d66127SLaurent Pinchart
62199d66127SLaurent Pinchart        reset-names:
62299d66127SLaurent Pinchart          items:
62399d66127SLaurent Pinchart            - const: du.0
62499d66127SLaurent Pinchart            - const: du.3
62599d66127SLaurent Pinchart
62699d66127SLaurent Pinchart        ports:
62799d66127SLaurent Pinchart          properties:
62899d66127SLaurent Pinchart            port@0:
62999d66127SLaurent Pinchart              description: DPAD 0
63099d66127SLaurent Pinchart            port@1:
63199d66127SLaurent Pinchart              description: HDMI 0
63299d66127SLaurent Pinchart            port@2:
63399d66127SLaurent Pinchart              description: LVDS 0
63499d66127SLaurent Pinchart            port@3: false
63599d66127SLaurent Pinchart
63699d66127SLaurent Pinchart          required:
63799d66127SLaurent Pinchart            - port@0
63899d66127SLaurent Pinchart            - port@1
63999d66127SLaurent Pinchart            - port@2
64099d66127SLaurent Pinchart
64199d66127SLaurent Pinchart        renesas,cmms:
64299d66127SLaurent Pinchart          minItems: 3
64399d66127SLaurent Pinchart
64499d66127SLaurent Pinchart        renesas,vsps:
64599d66127SLaurent Pinchart          minItems: 3
64699d66127SLaurent Pinchart
64799d66127SLaurent Pinchart      required:
64899d66127SLaurent Pinchart        - clock-names
64999d66127SLaurent Pinchart        - interrupts
65099d66127SLaurent Pinchart        - resets
65199d66127SLaurent Pinchart        - reset-names
65299d66127SLaurent Pinchart        - renesas,vsps
65399d66127SLaurent Pinchart
65499d66127SLaurent Pinchart  - if:
65599d66127SLaurent Pinchart      properties:
65699d66127SLaurent Pinchart        compatible:
65799d66127SLaurent Pinchart          contains:
65899d66127SLaurent Pinchart            enum:
65999d66127SLaurent Pinchart              - renesas,du-r8a77970
66099d66127SLaurent Pinchart              - renesas,du-r8a77980
66199d66127SLaurent Pinchart    then:
66299d66127SLaurent Pinchart      properties:
66399d66127SLaurent Pinchart        clocks:
66499d66127SLaurent Pinchart          minItems: 1
66599d66127SLaurent Pinchart          maxItems: 2
66699d66127SLaurent Pinchart          items:
66799d66127SLaurent Pinchart            - description: Functional clock for DU0
66899d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
66999d66127SLaurent Pinchart
67099d66127SLaurent Pinchart        clock-names:
67199d66127SLaurent Pinchart          minItems: 1
67299d66127SLaurent Pinchart          maxItems: 2
67399d66127SLaurent Pinchart          items:
67499d66127SLaurent Pinchart            - const: du.0
67599d66127SLaurent Pinchart            - const: dclkin.0
67699d66127SLaurent Pinchart
67799d66127SLaurent Pinchart        interrupts:
67899d66127SLaurent Pinchart          maxItems: 1
67999d66127SLaurent Pinchart
68099d66127SLaurent Pinchart        resets:
68199d66127SLaurent Pinchart          maxItems: 1
68299d66127SLaurent Pinchart
68399d66127SLaurent Pinchart        reset-names:
68499d66127SLaurent Pinchart          items:
68599d66127SLaurent Pinchart            - const: du.0
68699d66127SLaurent Pinchart
68799d66127SLaurent Pinchart        ports:
68899d66127SLaurent Pinchart          properties:
68999d66127SLaurent Pinchart            port@0:
69099d66127SLaurent Pinchart              description: DPAD 0
69199d66127SLaurent Pinchart            port@1:
69299d66127SLaurent Pinchart              description: LVDS 0
69399d66127SLaurent Pinchart            port@2: false
69499d66127SLaurent Pinchart            port@3: false
69599d66127SLaurent Pinchart
69699d66127SLaurent Pinchart          required:
69799d66127SLaurent Pinchart            - port@0
69899d66127SLaurent Pinchart            - port@1
69999d66127SLaurent Pinchart
70099d66127SLaurent Pinchart        renesas,vsps:
70199d66127SLaurent Pinchart          minItems: 1
70299d66127SLaurent Pinchart
70399d66127SLaurent Pinchart      required:
70499d66127SLaurent Pinchart        - clock-names
70599d66127SLaurent Pinchart        - interrupts
70699d66127SLaurent Pinchart        - resets
70799d66127SLaurent Pinchart        - reset-names
70899d66127SLaurent Pinchart        - renesas,vsps
70999d66127SLaurent Pinchart
71099d66127SLaurent Pinchart  - if:
71199d66127SLaurent Pinchart      properties:
71299d66127SLaurent Pinchart        compatible:
71399d66127SLaurent Pinchart          contains:
71499d66127SLaurent Pinchart            enum:
71599d66127SLaurent Pinchart              - renesas,du-r8a774c0
71699d66127SLaurent Pinchart              - renesas,du-r8a77990
71799d66127SLaurent Pinchart              - renesas,du-r8a77995
71899d66127SLaurent Pinchart    then:
71999d66127SLaurent Pinchart      properties:
72099d66127SLaurent Pinchart        clocks:
72199d66127SLaurent Pinchart          minItems: 2
72299d66127SLaurent Pinchart          maxItems: 4
72399d66127SLaurent Pinchart          items:
72499d66127SLaurent Pinchart            - description: Functional clock for DU0
72599d66127SLaurent Pinchart            - description: Functional clock for DU1
72699d66127SLaurent Pinchart            - description: DU_DOTCLKIN0 input clock
72799d66127SLaurent Pinchart            - description: DU_DOTCLKIN1 input clock
72899d66127SLaurent Pinchart
72999d66127SLaurent Pinchart        clock-names:
73099d66127SLaurent Pinchart          minItems: 2
73199d66127SLaurent Pinchart          maxItems: 4
73299d66127SLaurent Pinchart          items:
73399d66127SLaurent Pinchart            - const: du.0
73499d66127SLaurent Pinchart            - const: du.1
73599d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
73699d66127SLaurent Pinchart            - pattern: '^dclkin\.[01]$'
73799d66127SLaurent Pinchart
73899d66127SLaurent Pinchart        interrupts:
73999d66127SLaurent Pinchart          maxItems: 2
74099d66127SLaurent Pinchart
74199d66127SLaurent Pinchart        resets:
74299d66127SLaurent Pinchart          maxItems: 1
74399d66127SLaurent Pinchart
74499d66127SLaurent Pinchart        reset-names:
74599d66127SLaurent Pinchart          items:
74699d66127SLaurent Pinchart            - const: du.0
74799d66127SLaurent Pinchart
74899d66127SLaurent Pinchart        ports:
74999d66127SLaurent Pinchart          properties:
75099d66127SLaurent Pinchart            port@0:
75199d66127SLaurent Pinchart              description: DPAD 0
75299d66127SLaurent Pinchart            port@1:
75399d66127SLaurent Pinchart              description: LVDS 0
75499d66127SLaurent Pinchart            port@2:
75599d66127SLaurent Pinchart              description: LVDS 1
75699d66127SLaurent Pinchart            # port@3 is TCON, not supported yet
75799d66127SLaurent Pinchart            port@3: false
75899d66127SLaurent Pinchart
75999d66127SLaurent Pinchart          required:
76099d66127SLaurent Pinchart            - port@0
76199d66127SLaurent Pinchart            - port@1
76299d66127SLaurent Pinchart            - port@2
76399d66127SLaurent Pinchart
76499d66127SLaurent Pinchart        renesas,cmms:
76599d66127SLaurent Pinchart          minItems: 2
76699d66127SLaurent Pinchart
76799d66127SLaurent Pinchart        renesas,vsps:
76899d66127SLaurent Pinchart          minItems: 2
76999d66127SLaurent Pinchart
77099d66127SLaurent Pinchart      required:
77199d66127SLaurent Pinchart        - clock-names
77299d66127SLaurent Pinchart        - interrupts
77399d66127SLaurent Pinchart        - resets
77499d66127SLaurent Pinchart        - reset-names
77599d66127SLaurent Pinchart        - renesas,vsps
77699d66127SLaurent Pinchart
777*458dc64eSKieran Bingham  - if:
778*458dc64eSKieran Bingham      properties:
779*458dc64eSKieran Bingham        compatible:
780*458dc64eSKieran Bingham          contains:
781*458dc64eSKieran Bingham            enum:
782*458dc64eSKieran Bingham              - renesas,du-r8a779a0
783*458dc64eSKieran Bingham    then:
784*458dc64eSKieran Bingham      properties:
785*458dc64eSKieran Bingham        clocks:
786*458dc64eSKieran Bingham          items:
787*458dc64eSKieran Bingham            - description: Functional clock
788*458dc64eSKieran Bingham
789*458dc64eSKieran Bingham        clock-names:
790*458dc64eSKieran Bingham          maxItems: 1
791*458dc64eSKieran Bingham          items:
792*458dc64eSKieran Bingham            - const: du.0
793*458dc64eSKieran Bingham
794*458dc64eSKieran Bingham        interrupts:
795*458dc64eSKieran Bingham          maxItems: 2
796*458dc64eSKieran Bingham
797*458dc64eSKieran Bingham        resets:
798*458dc64eSKieran Bingham          maxItems: 1
799*458dc64eSKieran Bingham
800*458dc64eSKieran Bingham        reset-names:
801*458dc64eSKieran Bingham          items:
802*458dc64eSKieran Bingham            - const: du.0
803*458dc64eSKieran Bingham
804*458dc64eSKieran Bingham        ports:
805*458dc64eSKieran Bingham          properties:
806*458dc64eSKieran Bingham            port@0:
807*458dc64eSKieran Bingham              description: DSI 0
808*458dc64eSKieran Bingham            port@1:
809*458dc64eSKieran Bingham              description: DSI 1
810*458dc64eSKieran Bingham            port@2: false
811*458dc64eSKieran Bingham            port@3: false
812*458dc64eSKieran Bingham
813*458dc64eSKieran Bingham          required:
814*458dc64eSKieran Bingham            - port@0
815*458dc64eSKieran Bingham            - port@1
816*458dc64eSKieran Bingham
817*458dc64eSKieran Bingham        renesas,vsps:
818*458dc64eSKieran Bingham          minItems: 2
819*458dc64eSKieran Bingham
820*458dc64eSKieran Bingham      required:
821*458dc64eSKieran Bingham        - clock-names
822*458dc64eSKieran Bingham        - interrupts
823*458dc64eSKieran Bingham        - resets
824*458dc64eSKieran Bingham        - reset-names
825*458dc64eSKieran Bingham        - renesas,vsps
826*458dc64eSKieran Bingham
82799d66127SLaurent PinchartadditionalProperties: false
82899d66127SLaurent Pinchart
82999d66127SLaurent Pinchartexamples:
83099d66127SLaurent Pinchart  # R-Car H3 ES2.0 DU
83199d66127SLaurent Pinchart  - |
83299d66127SLaurent Pinchart    #include <dt-bindings/clock/renesas-cpg-mssr.h>
83399d66127SLaurent Pinchart    #include <dt-bindings/interrupt-controller/arm-gic.h>
83499d66127SLaurent Pinchart
83599d66127SLaurent Pinchart    display@feb00000 {
83699d66127SLaurent Pinchart        compatible = "renesas,du-r8a7795";
83799d66127SLaurent Pinchart        reg = <0xfeb00000 0x80000>;
83899d66127SLaurent Pinchart        interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
83999d66127SLaurent Pinchart                     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
84099d66127SLaurent Pinchart                     <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
84199d66127SLaurent Pinchart                     <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
84299d66127SLaurent Pinchart        clocks = <&cpg CPG_MOD 724>,
84399d66127SLaurent Pinchart                 <&cpg CPG_MOD 723>,
84499d66127SLaurent Pinchart                 <&cpg CPG_MOD 722>,
84599d66127SLaurent Pinchart                 <&cpg CPG_MOD 721>;
84699d66127SLaurent Pinchart        clock-names = "du.0", "du.1", "du.2", "du.3";
84799d66127SLaurent Pinchart        resets = <&cpg 724>, <&cpg 722>;
84899d66127SLaurent Pinchart        reset-names = "du.0", "du.2";
84999d66127SLaurent Pinchart
85099d66127SLaurent Pinchart        renesas,cmms = <&cmm0>, <&cmm1>, <&cmm2>, <&cmm3>;
85199d66127SLaurent Pinchart        renesas,vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd0 1>;
85299d66127SLaurent Pinchart
85399d66127SLaurent Pinchart        ports {
85499d66127SLaurent Pinchart            #address-cells = <1>;
85599d66127SLaurent Pinchart            #size-cells = <0>;
85699d66127SLaurent Pinchart
85799d66127SLaurent Pinchart            port@0 {
85899d66127SLaurent Pinchart                reg = <0>;
85999d66127SLaurent Pinchart                endpoint {
86099d66127SLaurent Pinchart                    remote-endpoint = <&adv7123_in>;
86199d66127SLaurent Pinchart                };
86299d66127SLaurent Pinchart            };
86399d66127SLaurent Pinchart            port@1 {
86499d66127SLaurent Pinchart                reg = <1>;
86599d66127SLaurent Pinchart                endpoint {
86699d66127SLaurent Pinchart                    remote-endpoint = <&dw_hdmi0_in>;
86799d66127SLaurent Pinchart                };
86899d66127SLaurent Pinchart            };
86999d66127SLaurent Pinchart            port@2 {
87099d66127SLaurent Pinchart                reg = <2>;
87199d66127SLaurent Pinchart                endpoint {
87299d66127SLaurent Pinchart                    remote-endpoint = <&dw_hdmi1_in>;
87399d66127SLaurent Pinchart                };
87499d66127SLaurent Pinchart            };
87599d66127SLaurent Pinchart            port@3 {
87699d66127SLaurent Pinchart                reg = <3>;
87799d66127SLaurent Pinchart                endpoint {
87899d66127SLaurent Pinchart                    remote-endpoint = <&lvds0_in>;
87999d66127SLaurent Pinchart                };
88099d66127SLaurent Pinchart            };
88199d66127SLaurent Pinchart        };
88299d66127SLaurent Pinchart    };
88399d66127SLaurent Pinchart
88499d66127SLaurent Pinchart...
885