16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp8546.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 76be33864SEmmanuel Vadottitle: Cadence MHDP8546 bridge 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Swapnil Jakhade <sjakhade@cadence.com> 116be33864SEmmanuel Vadot - Yuti Amonkar <yamonkar@cadence.com> 126be33864SEmmanuel Vadot 136be33864SEmmanuel Vadotproperties: 146be33864SEmmanuel Vadot compatible: 156be33864SEmmanuel Vadot enum: 166be33864SEmmanuel Vadot - cdns,mhdp8546 176be33864SEmmanuel Vadot - ti,j721e-mhdp8546 186be33864SEmmanuel Vadot 196be33864SEmmanuel Vadot reg: 206be33864SEmmanuel Vadot minItems: 1 216be33864SEmmanuel Vadot items: 226be33864SEmmanuel Vadot - description: 236be33864SEmmanuel Vadot Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P). 246be33864SEmmanuel Vadot The AUX and PMA registers are not part of this range, they are instead 256be33864SEmmanuel Vadot included in the associated PHY. 266be33864SEmmanuel Vadot - description: 276be33864SEmmanuel Vadot Register block for DSS_EDP0_INTG_CFG_VP registers in case of TI J7 SoCs. 285956d97fSEmmanuel Vadot - description: 295956d97fSEmmanuel Vadot Register block of mhdptx sapb registers. 306be33864SEmmanuel Vadot 316be33864SEmmanuel Vadot reg-names: 326be33864SEmmanuel Vadot minItems: 1 336be33864SEmmanuel Vadot items: 346be33864SEmmanuel Vadot - const: mhdptx 356be33864SEmmanuel Vadot - const: j721e-intg 365956d97fSEmmanuel Vadot - const: mhdptx-sapb 376be33864SEmmanuel Vadot 386be33864SEmmanuel Vadot clocks: 396be33864SEmmanuel Vadot maxItems: 1 406be33864SEmmanuel Vadot description: 416be33864SEmmanuel Vadot DP bridge clock, used by the IP to know how to translate a number of 426be33864SEmmanuel Vadot clock cycles into a time (which is used to comply with DP standard timings 436be33864SEmmanuel Vadot and delays). 446be33864SEmmanuel Vadot 456be33864SEmmanuel Vadot phys: 466be33864SEmmanuel Vadot maxItems: 1 476be33864SEmmanuel Vadot description: 486be33864SEmmanuel Vadot phandle to the DisplayPort PHY. 496be33864SEmmanuel Vadot 506be33864SEmmanuel Vadot phy-names: 516be33864SEmmanuel Vadot items: 526be33864SEmmanuel Vadot - const: dpphy 536be33864SEmmanuel Vadot 546be33864SEmmanuel Vadot power-domains: 556be33864SEmmanuel Vadot maxItems: 1 566be33864SEmmanuel Vadot 576be33864SEmmanuel Vadot interrupts: 586be33864SEmmanuel Vadot maxItems: 1 596be33864SEmmanuel Vadot 606be33864SEmmanuel Vadot ports: 615def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 626be33864SEmmanuel Vadot 636be33864SEmmanuel Vadot properties: 646be33864SEmmanuel Vadot port@0: 655def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 666be33864SEmmanuel Vadot description: 676be33864SEmmanuel Vadot First input port representing the DP bridge input. 686be33864SEmmanuel Vadot 696be33864SEmmanuel Vadot port@1: 705def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 716be33864SEmmanuel Vadot description: 726be33864SEmmanuel Vadot Second input port representing the DP bridge input. 736be33864SEmmanuel Vadot 746be33864SEmmanuel Vadot port@2: 755def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 766be33864SEmmanuel Vadot description: 776be33864SEmmanuel Vadot Third input port representing the DP bridge input. 786be33864SEmmanuel Vadot 796be33864SEmmanuel Vadot port@3: 805def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 816be33864SEmmanuel Vadot description: 826be33864SEmmanuel Vadot Fourth input port representing the DP bridge input. 836be33864SEmmanuel Vadot 846be33864SEmmanuel Vadot port@4: 855def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 866be33864SEmmanuel Vadot description: 876be33864SEmmanuel Vadot Output port representing the DP bridge output. 886be33864SEmmanuel Vadot 896be33864SEmmanuel Vadot required: 906be33864SEmmanuel Vadot - port@0 916be33864SEmmanuel Vadot - port@4 926be33864SEmmanuel Vadot 936be33864SEmmanuel VadotallOf: 946be33864SEmmanuel Vadot - if: 956be33864SEmmanuel Vadot properties: 966be33864SEmmanuel Vadot compatible: 976be33864SEmmanuel Vadot contains: 986be33864SEmmanuel Vadot const: ti,j721e-mhdp8546 996be33864SEmmanuel Vadot then: 1006be33864SEmmanuel Vadot properties: 1016be33864SEmmanuel Vadot reg: 1026be33864SEmmanuel Vadot minItems: 2 1035956d97fSEmmanuel Vadot maxItems: 3 1046be33864SEmmanuel Vadot reg-names: 1056be33864SEmmanuel Vadot minItems: 2 1065956d97fSEmmanuel Vadot maxItems: 3 1076be33864SEmmanuel Vadot else: 1086be33864SEmmanuel Vadot properties: 1096be33864SEmmanuel Vadot reg: 1105956d97fSEmmanuel Vadot minItems: 1 1115956d97fSEmmanuel Vadot maxItems: 2 1126be33864SEmmanuel Vadot reg-names: 1135956d97fSEmmanuel Vadot minItems: 1 1145956d97fSEmmanuel Vadot maxItems: 2 1156be33864SEmmanuel Vadot 1166be33864SEmmanuel Vadotrequired: 1176be33864SEmmanuel Vadot - compatible 1186be33864SEmmanuel Vadot - clocks 1196be33864SEmmanuel Vadot - reg 1206be33864SEmmanuel Vadot - reg-names 1216be33864SEmmanuel Vadot - phys 1226be33864SEmmanuel Vadot - phy-names 1236be33864SEmmanuel Vadot - interrupts 1246be33864SEmmanuel Vadot - ports 1256be33864SEmmanuel Vadot 1266be33864SEmmanuel VadotadditionalProperties: false 1276be33864SEmmanuel Vadot 1286be33864SEmmanuel Vadotexamples: 1296be33864SEmmanuel Vadot - | 1306be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 1316be33864SEmmanuel Vadot bus { 1326be33864SEmmanuel Vadot #address-cells = <2>; 1336be33864SEmmanuel Vadot #size-cells = <2>; 1346be33864SEmmanuel Vadot 1356be33864SEmmanuel Vadot mhdp: dp-bridge@f0fb000000 { 1366be33864SEmmanuel Vadot compatible = "cdns,mhdp8546"; 1376be33864SEmmanuel Vadot reg = <0xf0 0xfb000000 0x0 0x1000000>; 1386be33864SEmmanuel Vadot reg-names = "mhdptx"; 1396be33864SEmmanuel Vadot clocks = <&mhdp_clock>; 1406be33864SEmmanuel Vadot phys = <&dp_phy>; 1416be33864SEmmanuel Vadot phy-names = "dpphy"; 1426be33864SEmmanuel Vadot interrupts = <GIC_SPI 614 IRQ_TYPE_LEVEL_HIGH>; 1436be33864SEmmanuel Vadot 1446be33864SEmmanuel Vadot ports { 1456be33864SEmmanuel Vadot #address-cells = <1>; 1466be33864SEmmanuel Vadot #size-cells = <0>; 1476be33864SEmmanuel Vadot 1486be33864SEmmanuel Vadot port@0 { 1496be33864SEmmanuel Vadot reg = <0>; 1506be33864SEmmanuel Vadot dp_bridge_input: endpoint { 1516be33864SEmmanuel Vadot remote-endpoint = <&xxx_dpi_output>; 1526be33864SEmmanuel Vadot }; 1536be33864SEmmanuel Vadot }; 1546be33864SEmmanuel Vadot 1556be33864SEmmanuel Vadot port@4 { 1566be33864SEmmanuel Vadot reg = <4>; 1576be33864SEmmanuel Vadot dp_bridge_output: endpoint { 1586be33864SEmmanuel Vadot remote-endpoint = <&xxx_dp_connector_input>; 1596be33864SEmmanuel Vadot }; 1606be33864SEmmanuel Vadot }; 1616be33864SEmmanuel Vadot }; 1626be33864SEmmanuel Vadot }; 1636be33864SEmmanuel Vadot }; 1646be33864SEmmanuel Vadot... 165