0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 Texas Instruments Incorporated
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007
0008 title: Texas Instruments K2G Display Subsystem
0009
0010 maintainers:
0011 - Jyri Sarha <jsarha@ti.com>
0012 - Tomi Valkeinen <tomi.valkeinen@ti.com>
0013
0014 description: |
0015 The K2G DSS is an ultra-light version of TI Keystone Display
0016 SubSystem. It has only one output port and video plane. The
0017 output is DPI.
0018
0019 properties:
0020 compatible:
0021 const: ti,k2g-dss
0022
0023 reg:
0024 items:
0025 - description: cfg DSS top level
0026 - description: common DISPC common
0027 - description: VID1 video plane 1
0028 - description: OVR1 overlay manager for vp1
0029 - description: VP1 video port 1
0030
0031 reg-names:
0032 items:
0033 - const: cfg
0034 - const: common
0035 - const: vid1
0036 - const: ovr1
0037 - const: vp1
0038
0039 clocks:
0040 items:
0041 - description: fck DSS functional clock
0042 - description: vp1 Video Port 1 pixel clock
0043
0044 clock-names:
0045 items:
0046 - const: fck
0047 - const: vp1
0048
0049 interrupts:
0050 maxItems: 1
0051
0052 power-domains:
0053 maxItems: 1
0054 description: phandle to the associated power domain
0055
0056 port:
0057 $ref: /schemas/graph.yaml#/properties/port
0058 description:
0059 The DSS DPI output port node
0060
0061 max-memory-bandwidth:
0062 $ref: /schemas/types.yaml#/definitions/uint32
0063 description:
0064 Input memory (from main memory to dispc) bandwidth limit in
0065 bytes per second
0066
0067 required:
0068 - compatible
0069 - reg
0070 - reg-names
0071 - clocks
0072 - clock-names
0073 - interrupts
0074 - port
0075
0076 additionalProperties: false
0077
0078 examples:
0079 - |
0080 #include <dt-bindings/interrupt-controller/arm-gic.h>
0081 #include <dt-bindings/interrupt-controller/irq.h>
0082
0083 dss: dss@2540000 {
0084 compatible = "ti,k2g-dss";
0085 reg = <0x02540000 0x400>,
0086 <0x02550000 0x1000>,
0087 <0x02557000 0x1000>,
0088 <0x0255a800 0x100>,
0089 <0x0255ac00 0x100>;
0090 reg-names = "cfg", "common", "vid1", "ovr1", "vp1";
0091 clocks = <&k2g_clks 0x2 0>,
0092 <&k2g_clks 0x2 1>;
0093 clock-names = "fck", "vp1";
0094 interrupts = <GIC_SPI 247 IRQ_TYPE_EDGE_RISING>;
0095
0096 power-domains = <&k2g_pds 0x2>;
0097
0098 max-memory-bandwidth = <230000000>;
0099
0100 port {
0101 dpi_out: endpoint {
0102 remote-endpoint = <&sii9022_in>;
0103 };
0104 };
0105 };