1*f3531d1aSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*f3531d1aSKrzysztof Kozlowski%YAML 1.2
3*f3531d1aSKrzysztof Kozlowski---
4*f3531d1aSKrzysztof Kozlowski$id: http://devicetree.org/schemas/display/bridge/sil,sii8620.yaml#
5*f3531d1aSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f3531d1aSKrzysztof Kozlowski
7*f3531d1aSKrzysztof Kozlowskititle: Silicon Image SiI8620 HDMI/MHL bridge
8*f3531d1aSKrzysztof Kozlowski
9*f3531d1aSKrzysztof Kozlowskimaintainers:
10*f3531d1aSKrzysztof Kozlowski  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11*f3531d1aSKrzysztof Kozlowski
12*f3531d1aSKrzysztof Kozlowskiproperties:
13*f3531d1aSKrzysztof Kozlowski  compatible:
14*f3531d1aSKrzysztof Kozlowski    const: sil,sii8620
15*f3531d1aSKrzysztof Kozlowski
16*f3531d1aSKrzysztof Kozlowski  reg:
17*f3531d1aSKrzysztof Kozlowski    maxItems: 1
18*f3531d1aSKrzysztof Kozlowski
19*f3531d1aSKrzysztof Kozlowski  clocks:
20*f3531d1aSKrzysztof Kozlowski    maxItems: 1
21*f3531d1aSKrzysztof Kozlowski
22*f3531d1aSKrzysztof Kozlowski  clock-names:
23*f3531d1aSKrzysztof Kozlowski    items:
24*f3531d1aSKrzysztof Kozlowski      - const: xtal
25*f3531d1aSKrzysztof Kozlowski
26*f3531d1aSKrzysztof Kozlowski  cvcc10-supply:
27*f3531d1aSKrzysztof Kozlowski    description: Digital Core Supply Voltage (1.0V)
28*f3531d1aSKrzysztof Kozlowski
29*f3531d1aSKrzysztof Kozlowski  interrupts:
30*f3531d1aSKrzysztof Kozlowski    maxItems: 1
31*f3531d1aSKrzysztof Kozlowski
32*f3531d1aSKrzysztof Kozlowski  iovcc18-supply:
33*f3531d1aSKrzysztof Kozlowski    description: I/O Supply Voltage (1.8V)
34*f3531d1aSKrzysztof Kozlowski
35*f3531d1aSKrzysztof Kozlowski  reset-gpios:
36*f3531d1aSKrzysztof Kozlowski    maxItems: 1
37*f3531d1aSKrzysztof Kozlowski
38*f3531d1aSKrzysztof Kozlowski  ports:
39*f3531d1aSKrzysztof Kozlowski    $ref: /schemas/graph.yaml#/properties/ports
40*f3531d1aSKrzysztof Kozlowski    unevaluatedProperties: false
41*f3531d1aSKrzysztof Kozlowski
42*f3531d1aSKrzysztof Kozlowski    properties:
43*f3531d1aSKrzysztof Kozlowski      port@0:
44*f3531d1aSKrzysztof Kozlowski        $ref: /schemas/graph.yaml#/properties/port
45*f3531d1aSKrzysztof Kozlowski        description:
46*f3531d1aSKrzysztof Kozlowski          Video port for HDMI (encoder) input
47*f3531d1aSKrzysztof Kozlowski
48*f3531d1aSKrzysztof Kozlowski      port@1:
49*f3531d1aSKrzysztof Kozlowski        $ref: /schemas/graph.yaml#/properties/port
50*f3531d1aSKrzysztof Kozlowski        description:
51*f3531d1aSKrzysztof Kozlowski          MHL to connector port
52*f3531d1aSKrzysztof Kozlowski
53*f3531d1aSKrzysztof Kozlowski    required:
54*f3531d1aSKrzysztof Kozlowski      - port@0
55*f3531d1aSKrzysztof Kozlowski      - port@1
56*f3531d1aSKrzysztof Kozlowski
57*f3531d1aSKrzysztof Kozlowskirequired:
58*f3531d1aSKrzysztof Kozlowski  - compatible
59*f3531d1aSKrzysztof Kozlowski  - reg
60*f3531d1aSKrzysztof Kozlowski  - clocks
61*f3531d1aSKrzysztof Kozlowski  - cvcc10-supply
62*f3531d1aSKrzysztof Kozlowski  - interrupts
63*f3531d1aSKrzysztof Kozlowski  - iovcc18-supply
64*f3531d1aSKrzysztof Kozlowski  - reset-gpios
65*f3531d1aSKrzysztof Kozlowski  - ports
66*f3531d1aSKrzysztof Kozlowski
67*f3531d1aSKrzysztof KozlowskiadditionalProperties: false
68*f3531d1aSKrzysztof Kozlowski
69*f3531d1aSKrzysztof Kozlowskiexamples:
70*f3531d1aSKrzysztof Kozlowski  - |
71*f3531d1aSKrzysztof Kozlowski    #include <dt-bindings/gpio/gpio.h>
72*f3531d1aSKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/irq.h>
73*f3531d1aSKrzysztof Kozlowski
74*f3531d1aSKrzysztof Kozlowski    i2c {
75*f3531d1aSKrzysztof Kozlowski        #address-cells = <1>;
76*f3531d1aSKrzysztof Kozlowski        #size-cells = <0>;
77*f3531d1aSKrzysztof Kozlowski
78*f3531d1aSKrzysztof Kozlowski        bridge@39 {
79*f3531d1aSKrzysztof Kozlowski            reg = <0x39>;
80*f3531d1aSKrzysztof Kozlowski            compatible = "sil,sii8620";
81*f3531d1aSKrzysztof Kozlowski            cvcc10-supply = <&ldo36_reg>;
82*f3531d1aSKrzysztof Kozlowski            iovcc18-supply = <&ldo34_reg>;
83*f3531d1aSKrzysztof Kozlowski            interrupt-parent = <&gpf0>;
84*f3531d1aSKrzysztof Kozlowski            interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
85*f3531d1aSKrzysztof Kozlowski            reset-gpios = <&gpv7 0 GPIO_ACTIVE_LOW>;
86*f3531d1aSKrzysztof Kozlowski            clocks = <&pmu_system_controller 0>;
87*f3531d1aSKrzysztof Kozlowski            clock-names = "xtal";
88*f3531d1aSKrzysztof Kozlowski
89*f3531d1aSKrzysztof Kozlowski            ports {
90*f3531d1aSKrzysztof Kozlowski                #address-cells = <1>;
91*f3531d1aSKrzysztof Kozlowski                #size-cells = <0>;
92*f3531d1aSKrzysztof Kozlowski
93*f3531d1aSKrzysztof Kozlowski                port@0 {
94*f3531d1aSKrzysztof Kozlowski                    reg = <0>;
95*f3531d1aSKrzysztof Kozlowski                    mhl_to_hdmi: endpoint {
96*f3531d1aSKrzysztof Kozlowski                        remote-endpoint = <&hdmi_to_mhl>;
97*f3531d1aSKrzysztof Kozlowski                    };
98*f3531d1aSKrzysztof Kozlowski                };
99*f3531d1aSKrzysztof Kozlowski
100*f3531d1aSKrzysztof Kozlowski                port@1 {
101*f3531d1aSKrzysztof Kozlowski                    reg = <1>;
102*f3531d1aSKrzysztof Kozlowski                    mhl_to_musb_con: endpoint {
103*f3531d1aSKrzysztof Kozlowski                        remote-endpoint = <&musb_con_to_mhl>;
104*f3531d1aSKrzysztof Kozlowski                    };
105*f3531d1aSKrzysztof Kozlowski                };
106*f3531d1aSKrzysztof Kozlowski            };
107*f3531d1aSKrzysztof Kozlowski        };
108*f3531d1aSKrzysztof Kozlowski    };
109