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"
11 #include <dt-bindings/gpio/gpio.h>
14 sti-display-subsystem {
15 compatible = "st,sti-display-subsystem";
19 assigned-clocks = <&clk_s_d2_quadfs 0>,
22 <&clk_s_c0_flexgen CLK_COMPO_DVP>,
23 <&clk_s_c0_flexgen CLK_MAIN_DISP>,
24 <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
25 <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
26 <&clk_s_d2_flexgen CLK_PIX_GDP1>,
27 <&clk_s_d2_flexgen CLK_PIX_GDP2>,
28 <&clk_s_d2_flexgen CLK_PIX_GDP3>,
29 <&clk_s_d2_flexgen CLK_PIX_GDP4>;
31 assigned-clock-parents = <0>,
43 assigned-clock-rates = <297000000>,
51 sti-compositor@9d11000 {
52 compatible = "st,stih407-compositor";
53 reg = <0x9d11000 0x1000>;
55 clock-names = "compo_main",
66 clocks = <&clk_s_c0_flexgen CLK_COMPO_DVP>,
67 <&clk_s_c0_flexgen CLK_COMPO_DVP>,
68 <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
69 <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
70 <&clk_s_d2_flexgen CLK_PIX_GDP1>,
71 <&clk_s_d2_flexgen CLK_PIX_GDP2>,
72 <&clk_s_d2_flexgen CLK_PIX_GDP3>,
73 <&clk_s_d2_flexgen CLK_PIX_GDP4>,
77 reset-names = "compo-main", "compo-aux";
78 resets = <&softreset STIH407_COMPO_SOFTRESET>,
79 <&softreset STIH407_COMPO_SOFTRESET>;
80 st,vtg = <&vtg_main>, <&vtg_aux>;
84 compatible = "st,stih407-tvout";
85 reg = <0x8d08000 0x1000>;
86 reg-names = "tvout-reg";
87 reset-names = "tvout";
88 resets = <&softreset STIH407_HDTVOUT_SOFTRESET>;
91 assigned-clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
92 <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
93 <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
94 <&clk_s_d0_flexgen CLK_PCM_0>,
95 <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
96 <&clk_s_d2_flexgen CLK_HDDAC>;
98 assigned-clock-parents = <&clk_s_d2_quadfs 0>,
100 <&clk_s_d2_quadfs 0>,
101 <&clk_s_d0_quadfs 0>,
102 <&clk_s_d2_quadfs 0>,
103 <&clk_s_d2_quadfs 0>;
106 sti_hdmi: sti-hdmi@8d04000 {
107 compatible = "st,stih407-hdmi";
108 reg = <0x8d04000 0x1000>;
109 reg-names = "hdmi-reg";
110 interrupts = <GIC_SPI 106 IRQ_TYPE_NONE>;
111 interrupt-names = "irq";
119 clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
120 <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
121 <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
122 <&clk_s_d0_flexgen CLK_PCM_0>,
123 <&clk_s_d2_quadfs 0>,
124 <&clk_s_d2_quadfs 1>;
126 hdmi,hpd-gpio = <&pio5 3 GPIO_ACTIVE_LOW>;
127 reset-names = "hdmi";
128 resets = <&softreset STIH407_HDMI_TX_PHY_SOFTRESET>;
133 compatible = "st,stih407-hda";
134 reg = <0x8d02000 0x400>, <0x92b0120 0x4>;
135 reg-names = "hda-reg", "video-dacs-ctrl";
140 clocks = <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
141 <&clk_s_d2_flexgen CLK_HDDAC>,
142 <&clk_s_d2_quadfs 0>,
143 <&clk_s_d2_quadfs 1>;