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