1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 STMicroelectronics Limited.
4 * Author: Gabriel Fernandez <gabriel.fernandez@linaro.org>
6 #include "stih407-clock.dtsi"
7 #include "stih407-family.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
11 sti-display-subsystem@0 {
12 compatible = "st,sti-display-subsystem";
16 assigned-clocks = <&clk_s_d2_quadfs 0>,
19 <&clk_s_c0_flexgen CLK_COMPO_DVP>,
20 <&clk_s_c0_flexgen CLK_MAIN_DISP>,
21 <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
22 <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
23 <&clk_s_d2_flexgen CLK_PIX_GDP1>,
24 <&clk_s_d2_flexgen CLK_PIX_GDP2>,
25 <&clk_s_d2_flexgen CLK_PIX_GDP3>,
26 <&clk_s_d2_flexgen CLK_PIX_GDP4>;
28 assigned-clock-parents = <0>,
40 assigned-clock-rates = <297000000>,
48 sti-compositor@9d11000 {
49 compatible = "st,stih407-compositor";
50 reg = <0x9d11000 0x1000>;
52 clock-names = "compo_main",
63 clocks = <&clk_s_c0_flexgen CLK_COMPO_DVP>,
64 <&clk_s_c0_flexgen CLK_COMPO_DVP>,
65 <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
66 <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
67 <&clk_s_d2_flexgen CLK_PIX_GDP1>,
68 <&clk_s_d2_flexgen CLK_PIX_GDP2>,
69 <&clk_s_d2_flexgen CLK_PIX_GDP3>,
70 <&clk_s_d2_flexgen CLK_PIX_GDP4>,
74 reset-names = "compo-main", "compo-aux";
75 resets = <&softreset STIH407_COMPO_SOFTRESET>,
76 <&softreset STIH407_COMPO_SOFTRESET>;
77 st,vtg = <&vtg_main>, <&vtg_aux>;
81 compatible = "st,stih407-tvout";
82 reg = <0x8d08000 0x1000>;
83 reg-names = "tvout-reg";
84 reset-names = "tvout";
85 resets = <&softreset STIH407_HDTVOUT_SOFTRESET>;
88 assigned-clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
89 <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
90 <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
91 <&clk_s_d0_flexgen CLK_PCM_0>,
92 <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
93 <&clk_s_d2_flexgen CLK_HDDAC>;
95 assigned-clock-parents = <&clk_s_d2_quadfs 0>,
100 <&clk_s_d2_quadfs 0>;
103 sti_hdmi: sti-hdmi@8d04000 {
104 compatible = "st,stih407-hdmi";
105 reg = <0x8d04000 0x1000>;
106 reg-names = "hdmi-reg";
107 #sound-dai-cells = <0>;
108 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
109 interrupt-names = "irq";
117 clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
118 <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
119 <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
120 <&clk_s_d0_flexgen CLK_PCM_0>,
121 <&clk_s_d2_quadfs 0>,
122 <&clk_s_d2_quadfs 1>;
124 hdmi,hpd-gpio = <&pio5 3 GPIO_ACTIVE_LOW>;
125 reset-names = "hdmi";
126 resets = <&softreset STIH407_HDMI_TX_PHY_SOFTRESET>;
131 compatible = "st,stih407-hda";
132 reg = <0x8d02000 0x400>, <0x92b0120 0x4>;
133 reg-names = "hda-reg", "video-dacs-ctrl";
138 clocks = <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
139 <&clk_s_d2_flexgen CLK_HDDAC>,
140 <&clk_s_d2_quadfs 0>,
141 <&clk_s_d2_quadfs 1>;