2 * Copyright (C) 2015 STMicroelectronics Limited.
3 * Author: Gabriel Fernandez <gabriel.fernandez@linaro.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * publishhed by the Free Software Foundation.
9 #include "stih407-clock.dtsi"
10 #include "stih407-family.dtsi"
13 sti-display-subsystem {
14 compatible = "st,sti-display-subsystem";
18 assigned-clocks = <&clk_s_d2_quadfs 0>,
21 <&clk_s_c0_flexgen CLK_COMPO_DVP>,
22 <&clk_s_c0_flexgen CLK_MAIN_DISP>,
23 <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
24 <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
25 <&clk_s_d2_flexgen CLK_PIX_GDP1>,
26 <&clk_s_d2_flexgen CLK_PIX_GDP2>,
27 <&clk_s_d2_flexgen CLK_PIX_GDP3>,
28 <&clk_s_d2_flexgen CLK_PIX_GDP4>;
30 assigned-clock-parents = <0>,
42 assigned-clock-rates = <297000000>,
50 sti-compositor@9d11000 {
51 compatible = "st,stih407-compositor";
52 reg = <0x9d11000 0x1000>;
54 clock-names = "compo_main",
65 clocks = <&clk_s_c0_flexgen CLK_COMPO_DVP>,
66 <&clk_s_c0_flexgen CLK_COMPO_DVP>,
67 <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
68 <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
69 <&clk_s_d2_flexgen CLK_PIX_GDP1>,
70 <&clk_s_d2_flexgen CLK_PIX_GDP2>,
71 <&clk_s_d2_flexgen CLK_PIX_GDP3>,
72 <&clk_s_d2_flexgen CLK_PIX_GDP4>,
76 reset-names = "compo-main", "compo-aux";
77 resets = <&softreset STIH407_COMPO_SOFTRESET>,
78 <&softreset STIH407_COMPO_SOFTRESET>;
79 st,vtg = <&vtg_main>, <&vtg_aux>;
83 compatible = "st,stih407-tvout";
84 reg = <0x8d08000 0x1000>;
85 reg-names = "tvout-reg";
86 reset-names = "tvout";
87 resets = <&softreset STIH407_HDTVOUT_SOFTRESET>;
90 assigned-clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
91 <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
92 <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
93 <&clk_s_d0_flexgen CLK_PCM_0>,
94 <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
95 <&clk_s_d2_flexgen CLK_HDDAC>;
97 assigned-clock-parents = <&clk_s_d2_quadfs 0>,
100 <&clk_s_d0_quadfs 0>,
101 <&clk_s_d2_quadfs 0>,
102 <&clk_s_d2_quadfs 0>;
105 sti_hdmi: sti-hdmi@8d04000 {
106 compatible = "st,stih407-hdmi";
107 reg = <0x8d04000 0x1000>;
108 reg-names = "hdmi-reg";
109 interrupts = <GIC_SPI 106 IRQ_TYPE_NONE>;
110 interrupt-names = "irq";
118 clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
119 <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
120 <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
121 <&clk_s_d0_flexgen CLK_PCM_0>,
122 <&clk_s_d2_quadfs 0>,
123 <&clk_s_d2_quadfs 1>;
125 hdmi,hpd-gpio = <&pio5 3>;
126 reset-names = "hdmi";
127 resets = <&softreset STIH407_HDMI_TX_PHY_SOFTRESET>;
132 compatible = "st,stih407-hda";
133 reg = <0x8d02000 0x400>, <0x92b0120 0x4>;
134 reg-names = "hda-reg", "video-dacs-ctrl";
139 clocks = <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
140 <&clk_s_d2_flexgen CLK_HDDAC>,
141 <&clk_s_d2_quadfs 0>,
142 <&clk_s_d2_quadfs 1>;