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@0 {
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 #sound-dai-cells = <0>;
111 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
112 interrupt-names = "irq";
120 clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
121 <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
122 <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
123 <&clk_s_d0_flexgen CLK_PCM_0>,
124 <&clk_s_d2_quadfs 0>,
125 <&clk_s_d2_quadfs 1>;
127 hdmi,hpd-gpio = <&pio5 3 GPIO_ACTIVE_LOW>;
128 reset-names = "hdmi";
129 resets = <&softreset STIH407_HDMI_TX_PHY_SOFTRESET>;
134 compatible = "st,stih407-hda";
135 reg = <0x8d02000 0x400>, <0x92b0120 0x4>;
136 reg-names = "hda-reg", "video-dacs-ctrl";
141 clocks = <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
142 <&clk_s_d2_flexgen CLK_HDDAC>,
143 <&clk_s_d2_quadfs 0>,
144 <&clk_s_d2_quadfs 1>;