1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5956d97fSEmmanuel Vadot%YAML 1.2 3*5956d97fSEmmanuel Vadot--- 4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/faraday,tve200.yaml# 5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5956d97fSEmmanuel Vadot 7*5956d97fSEmmanuel Vadottitle: Faraday TV Encoder TVE200 8*5956d97fSEmmanuel Vadot 9*5956d97fSEmmanuel Vadotmaintainers: 10*5956d97fSEmmanuel Vadot - Linus Walleij <linus.walleij@linaro.org> 11*5956d97fSEmmanuel Vadot 12*5956d97fSEmmanuel Vadotproperties: 13*5956d97fSEmmanuel Vadot compatible: 14*5956d97fSEmmanuel Vadot oneOf: 15*5956d97fSEmmanuel Vadot - const: faraday,tve200 16*5956d97fSEmmanuel Vadot - items: 17*5956d97fSEmmanuel Vadot - const: cortina,gemini-tvc 18*5956d97fSEmmanuel Vadot - const: faraday,tve200 19*5956d97fSEmmanuel Vadot 20*5956d97fSEmmanuel Vadot reg: 21*5956d97fSEmmanuel Vadot maxItems: 1 22*5956d97fSEmmanuel Vadot 23*5956d97fSEmmanuel Vadot interrupts: 24*5956d97fSEmmanuel Vadot minItems: 1 25*5956d97fSEmmanuel Vadot 26*5956d97fSEmmanuel Vadot clock-names: 27*5956d97fSEmmanuel Vadot items: 28*5956d97fSEmmanuel Vadot - const: PCLK 29*5956d97fSEmmanuel Vadot - const: TVE 30*5956d97fSEmmanuel Vadot 31*5956d97fSEmmanuel Vadot clocks: 32*5956d97fSEmmanuel Vadot minItems: 2 33*5956d97fSEmmanuel Vadot 34*5956d97fSEmmanuel Vadot resets: 35*5956d97fSEmmanuel Vadot minItems: 1 36*5956d97fSEmmanuel Vadot 37*5956d97fSEmmanuel Vadot port: 38*5956d97fSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 39*5956d97fSEmmanuel Vadot 40*5956d97fSEmmanuel Vadotrequired: 41*5956d97fSEmmanuel Vadot - compatible 42*5956d97fSEmmanuel Vadot - reg 43*5956d97fSEmmanuel Vadot - interrupts 44*5956d97fSEmmanuel Vadot - clock-names 45*5956d97fSEmmanuel Vadot - clocks 46*5956d97fSEmmanuel Vadot 47*5956d97fSEmmanuel VadotadditionalProperties: false 48*5956d97fSEmmanuel Vadot 49*5956d97fSEmmanuel Vadotexamples: 50*5956d97fSEmmanuel Vadot - | 51*5956d97fSEmmanuel Vadot #include <dt-bindings/clock/cortina,gemini-clock.h> 52*5956d97fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 53*5956d97fSEmmanuel Vadot #include <dt-bindings/reset/cortina,gemini-reset.h> 54*5956d97fSEmmanuel Vadot display-controller@6a000000 { 55*5956d97fSEmmanuel Vadot compatible = "faraday,tve200"; 56*5956d97fSEmmanuel Vadot reg = <0x6a000000 0x1000>; 57*5956d97fSEmmanuel Vadot interrupts = <13 IRQ_TYPE_EDGE_RISING>; 58*5956d97fSEmmanuel Vadot resets = <&syscon GEMINI_RESET_TVC>; 59*5956d97fSEmmanuel Vadot clocks = <&syscon GEMINI_CLK_GATE_TVC>, 60*5956d97fSEmmanuel Vadot <&syscon GEMINI_CLK_TVC>; 61*5956d97fSEmmanuel Vadot clock-names = "PCLK", "TVE"; 62*5956d97fSEmmanuel Vadot 63*5956d97fSEmmanuel Vadot port { 64*5956d97fSEmmanuel Vadot display_out: endpoint { 65*5956d97fSEmmanuel Vadot remote-endpoint = <&panel_in>; 66*5956d97fSEmmanuel Vadot }; 67*5956d97fSEmmanuel Vadot }; 68*5956d97fSEmmanuel Vadot }; 69