15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/display/ste,mcde.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: ST-Ericsson Multi Channel Display Engine MCDE 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Linus Walleij <linus.walleij@linaro.org> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotproperties: 135def4c47SEmmanuel Vadot compatible: 145def4c47SEmmanuel Vadot const: ste,mcde 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadot reg: 175def4c47SEmmanuel Vadot maxItems: 1 185def4c47SEmmanuel Vadot 195def4c47SEmmanuel Vadot interrupts: 205def4c47SEmmanuel Vadot maxItems: 1 215def4c47SEmmanuel Vadot 225def4c47SEmmanuel Vadot clocks: 235def4c47SEmmanuel Vadot description: an array of the MCDE clocks 245def4c47SEmmanuel Vadot items: 255def4c47SEmmanuel Vadot - description: MCDECLK (main MCDE clock) 265def4c47SEmmanuel Vadot - description: LCDCLK (LCD clock) 275def4c47SEmmanuel Vadot - description: PLLDSI (HDMI clock) 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadot clock-names: 305def4c47SEmmanuel Vadot items: 315def4c47SEmmanuel Vadot - const: mcde 325def4c47SEmmanuel Vadot - const: lcd 335def4c47SEmmanuel Vadot - const: hdmi 345def4c47SEmmanuel Vadot 355def4c47SEmmanuel Vadot resets: 365def4c47SEmmanuel Vadot maxItems: 1 375def4c47SEmmanuel Vadot 385def4c47SEmmanuel Vadot epod-supply: 395def4c47SEmmanuel Vadot description: a phandle to the EPOD regulator 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadot vana-supply: 425def4c47SEmmanuel Vadot description: a phandle to the analog voltage regulator 435def4c47SEmmanuel Vadot 445def4c47SEmmanuel Vadot port: 455def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 465def4c47SEmmanuel Vadot description: 475def4c47SEmmanuel Vadot A DPI port node 485def4c47SEmmanuel Vadot 495def4c47SEmmanuel Vadot "#address-cells": 505def4c47SEmmanuel Vadot const: 1 515def4c47SEmmanuel Vadot 525def4c47SEmmanuel Vadot "#size-cells": 535def4c47SEmmanuel Vadot const: 1 545def4c47SEmmanuel Vadot 555def4c47SEmmanuel Vadot ranges: true 565def4c47SEmmanuel Vadot 575def4c47SEmmanuel VadotpatternProperties: 585def4c47SEmmanuel Vadot "^dsi@[0-9a-f]+$": 595def4c47SEmmanuel Vadot description: subnodes for the three DSI host adapters 605def4c47SEmmanuel Vadot type: object 61*c9ccf3a3SEmmanuel Vadot $ref: dsi-controller.yaml# 62*c9ccf3a3SEmmanuel Vadot 635def4c47SEmmanuel Vadot properties: 645def4c47SEmmanuel Vadot compatible: 655def4c47SEmmanuel Vadot const: ste,mcde-dsi 665def4c47SEmmanuel Vadot 675def4c47SEmmanuel Vadot reg: 685def4c47SEmmanuel Vadot maxItems: 1 695def4c47SEmmanuel Vadot 705def4c47SEmmanuel Vadot vana-supply: 715def4c47SEmmanuel Vadot description: a phandle to the analog voltage regulator 725def4c47SEmmanuel Vadot 735def4c47SEmmanuel Vadot clocks: 745def4c47SEmmanuel Vadot description: phandles to the high speed and low power (energy save) clocks 755def4c47SEmmanuel Vadot the high speed clock is not present on the third (dsi2) block, so it 765def4c47SEmmanuel Vadot should only have the "lp" clock 775def4c47SEmmanuel Vadot minItems: 1 785def4c47SEmmanuel Vadot maxItems: 2 795def4c47SEmmanuel Vadot 805def4c47SEmmanuel Vadot clock-names: 815def4c47SEmmanuel Vadot oneOf: 825def4c47SEmmanuel Vadot - items: 835def4c47SEmmanuel Vadot - const: hs 845def4c47SEmmanuel Vadot - const: lp 855def4c47SEmmanuel Vadot - items: 865def4c47SEmmanuel Vadot - const: lp 875def4c47SEmmanuel Vadot 885def4c47SEmmanuel Vadot required: 895def4c47SEmmanuel Vadot - compatible 905def4c47SEmmanuel Vadot - reg 915def4c47SEmmanuel Vadot - vana-supply 925def4c47SEmmanuel Vadot - clocks 935def4c47SEmmanuel Vadot - clock-names 945def4c47SEmmanuel Vadot 955def4c47SEmmanuel Vadot unevaluatedProperties: false 965def4c47SEmmanuel Vadot 975def4c47SEmmanuel Vadotrequired: 985def4c47SEmmanuel Vadot - compatible 995def4c47SEmmanuel Vadot - reg 1005def4c47SEmmanuel Vadot - interrupts 1015def4c47SEmmanuel Vadot - clocks 1025def4c47SEmmanuel Vadot - clock-names 1035def4c47SEmmanuel Vadot - epod-supply 1045def4c47SEmmanuel Vadot - vana-supply 1055def4c47SEmmanuel Vadot 1065def4c47SEmmanuel VadotadditionalProperties: false 1075def4c47SEmmanuel Vadot 1085def4c47SEmmanuel Vadotexamples: 1095def4c47SEmmanuel Vadot - | 1105def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 1115def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 1125def4c47SEmmanuel Vadot #include <dt-bindings/mfd/dbx500-prcmu.h> 1135def4c47SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 1145def4c47SEmmanuel Vadot 1155def4c47SEmmanuel Vadot mcde@a0350000 { 1165def4c47SEmmanuel Vadot compatible = "ste,mcde"; 1175def4c47SEmmanuel Vadot reg = <0xa0350000 0x1000>; 1185def4c47SEmmanuel Vadot interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; 1195def4c47SEmmanuel Vadot epod-supply = <&db8500_b2r2_mcde_reg>; 1205def4c47SEmmanuel Vadot vana-supply = <&ab8500_ldo_ana_reg>; 1215def4c47SEmmanuel Vadot clocks = <&prcmu_clk PRCMU_MCDECLK>, 1225def4c47SEmmanuel Vadot <&prcmu_clk PRCMU_LCDCLK>, 1235def4c47SEmmanuel Vadot <&prcmu_clk PRCMU_PLLDSI>; 1245def4c47SEmmanuel Vadot clock-names = "mcde", "lcd", "hdmi"; 1255def4c47SEmmanuel Vadot #address-cells = <1>; 1265def4c47SEmmanuel Vadot #size-cells = <1>; 1275def4c47SEmmanuel Vadot ranges; 1285def4c47SEmmanuel Vadot 1295def4c47SEmmanuel Vadot dsi0: dsi@a0351000 { 1305def4c47SEmmanuel Vadot compatible = "ste,mcde-dsi"; 1315def4c47SEmmanuel Vadot reg = <0xa0351000 0x1000>; 1325def4c47SEmmanuel Vadot vana-supply = <&ab8500_ldo_ana_reg>; 1335def4c47SEmmanuel Vadot clocks = <&prcmu_clk PRCMU_DSI0CLK>, <&prcmu_clk PRCMU_DSI0ESCCLK>; 1345def4c47SEmmanuel Vadot clock-names = "hs", "lp"; 1355def4c47SEmmanuel Vadot #address-cells = <1>; 1365def4c47SEmmanuel Vadot #size-cells = <0>; 1375def4c47SEmmanuel Vadot 1385def4c47SEmmanuel Vadot panel@0 { 1395def4c47SEmmanuel Vadot compatible = "samsung,s6d16d0"; 1405def4c47SEmmanuel Vadot reg = <0>; 1415def4c47SEmmanuel Vadot vdd1-supply = <&ab8500_ldo_aux1_reg>; 1425def4c47SEmmanuel Vadot reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; 1435def4c47SEmmanuel Vadot }; 1445def4c47SEmmanuel Vadot }; 1455def4c47SEmmanuel Vadot 1465def4c47SEmmanuel Vadot dsi1: dsi@a0352000 { 1475def4c47SEmmanuel Vadot compatible = "ste,mcde-dsi"; 1485def4c47SEmmanuel Vadot reg = <0xa0352000 0x1000>; 1495def4c47SEmmanuel Vadot vana-supply = <&ab8500_ldo_ana_reg>; 1505def4c47SEmmanuel Vadot clocks = <&prcmu_clk PRCMU_DSI1CLK>, <&prcmu_clk PRCMU_DSI1ESCCLK>; 1515def4c47SEmmanuel Vadot clock-names = "hs", "lp"; 1525def4c47SEmmanuel Vadot #address-cells = <1>; 1535def4c47SEmmanuel Vadot #size-cells = <0>; 1545def4c47SEmmanuel Vadot }; 1555def4c47SEmmanuel Vadot 1565def4c47SEmmanuel Vadot dsi2: dsi@a0353000 { 1575def4c47SEmmanuel Vadot compatible = "ste,mcde-dsi"; 1585def4c47SEmmanuel Vadot reg = <0xa0353000 0x1000>; 1595def4c47SEmmanuel Vadot vana-supply = <&ab8500_ldo_ana_reg>; 1605def4c47SEmmanuel Vadot /* This DSI port only has the Low Power / Energy Save clock */ 1615def4c47SEmmanuel Vadot clocks = <&prcmu_clk PRCMU_DSI2ESCCLK>; 1625def4c47SEmmanuel Vadot clock-names = "lp"; 1635def4c47SEmmanuel Vadot #address-cells = <1>; 1645def4c47SEmmanuel Vadot #size-cells = <0>; 1655def4c47SEmmanuel Vadot }; 1665def4c47SEmmanuel Vadot }; 1675def4c47SEmmanuel Vadot 1685def4c47SEmmanuel Vadot... 169