x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / stih410.dtsi
blob3c9672c5b09f0a5f904859d34205c49d7134804d
1 /*
2  * Copyright (C) 2014 STMicroelectronics Limited.
3  * Author: Peter Griffin <peter.griffin@linaro.org>
4  *
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.
8  */
9 #include "stih410-clock.dtsi"
10 #include "stih407-family.dtsi"
11 #include "stih410-pinctrl.dtsi"
12 / {
13         aliases {
14                 bdisp0 = &bdisp0;
15         };
17         soc {
18                 usb2_picophy1: phy2 {
19                         compatible = "st,stih407-usb2-phy";
20                         #phy-cells = <0>;
21                         st,syscfg = <&syscfg_core 0xf8 0xf4>;
22                         resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
23                                  <&picophyreset STIH407_PICOPHY0_RESET>;
24                         reset-names = "global", "port";
26                         status = "disabled";
27                 };
29                 usb2_picophy2: phy3 {
30                         compatible = "st,stih407-usb2-phy";
31                         #phy-cells = <0>;
32                         st,syscfg = <&syscfg_core 0xfc 0xf4>;
33                         resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
34                                  <&picophyreset STIH407_PICOPHY1_RESET>;
35                         reset-names = "global", "port";
37                         status = "disabled";
38                 };
40                 ohci0: usb@9a03c00 {
41                         compatible = "st,st-ohci-300x";
42                         reg = <0x9a03c00 0x100>;
43                         interrupts = <GIC_SPI 180 IRQ_TYPE_NONE>;
44                         clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
45                                  <&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
46                         resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
47                                  <&softreset STIH407_USB2_PORT0_SOFTRESET>;
48                         reset-names = "power", "softreset";
49                         phys = <&usb2_picophy1>;
50                         phy-names = "usb";
52                         status = "disabled";
53                 };
55                 ehci0: usb@9a03e00 {
56                         compatible = "st,st-ehci-300x";
57                         reg = <0x9a03e00 0x100>;
58                         interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
59                         pinctrl-names = "default";
60                         pinctrl-0 = <&pinctrl_usb0>;
61                         clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
62                                  <&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
63                         resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
64                                  <&softreset STIH407_USB2_PORT0_SOFTRESET>;
65                         reset-names = "power", "softreset";
66                         phys = <&usb2_picophy1>;
67                         phy-names = "usb";
69                         status = "disabled";
70                 };
72                 ohci1: usb@9a83c00 {
73                         compatible = "st,st-ohci-300x";
74                         reg = <0x9a83c00 0x100>;
75                         interrupts = <GIC_SPI 181 IRQ_TYPE_NONE>;
76                         clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
77                                  <&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
78                         resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
79                                  <&softreset STIH407_USB2_PORT1_SOFTRESET>;
80                         reset-names = "power", "softreset";
81                         phys = <&usb2_picophy2>;
82                         phy-names = "usb";
84                         status = "disabled";
85                 };
87                 ehci1: usb@9a83e00 {
88                         compatible = "st,st-ehci-300x";
89                         reg = <0x9a83e00 0x100>;
90                         interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
91                         pinctrl-names = "default";
92                         pinctrl-0 = <&pinctrl_usb1>;
93                         clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
94                                  <&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
95                         resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
96                                  <&softreset STIH407_USB2_PORT1_SOFTRESET>;
97                         reset-names = "power", "softreset";
98                         phys = <&usb2_picophy2>;
99                         phy-names = "usb";
101                         status = "disabled";
102                 };
104                 sti-display-subsystem {
105                         compatible = "st,sti-display-subsystem";
106                         #address-cells = <1>;
107                         #size-cells = <1>;
109                         assigned-clocks = <&clk_s_d2_quadfs 0>,
110                                           <&clk_s_d2_quadfs 1>,
111                                           <&clk_s_c0_pll1 0>,
112                                           <&clk_s_c0_flexgen CLK_COMPO_DVP>,
113                                           <&clk_s_c0_flexgen CLK_MAIN_DISP>,
114                                           <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
115                                           <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
116                                           <&clk_s_d2_flexgen CLK_PIX_GDP1>,
117                                           <&clk_s_d2_flexgen CLK_PIX_GDP2>,
118                                           <&clk_s_d2_flexgen CLK_PIX_GDP3>,
119                                           <&clk_s_d2_flexgen CLK_PIX_GDP4>;
121                         assigned-clock-parents = <0>,
122                                                  <0>,
123                                                  <0>,
124                                                  <&clk_s_c0_pll1 0>,
125                                                  <&clk_s_c0_pll1 0>,
126                                                  <&clk_s_d2_quadfs 0>,
127                                                  <&clk_s_d2_quadfs 1>,
128                                                  <&clk_s_d2_quadfs 0>,
129                                                  <&clk_s_d2_quadfs 0>,
130                                                  <&clk_s_d2_quadfs 0>,
131                                                  <&clk_s_d2_quadfs 0>;
133                         assigned-clock-rates = <297000000>,
134                                                <297000000>,
135                                                <0>,
136                                                <400000000>,
137                                                <400000000>;
139                         ranges;
141                         sti-compositor@9d11000 {
142                                 compatible = "st,stih407-compositor";
143                                 reg = <0x9d11000 0x1000>;
145                                 clock-names = "compo_main",
146                                               "compo_aux",
147                                               "pix_main",
148                                               "pix_aux",
149                                               "pix_gdp1",
150                                               "pix_gdp2",
151                                               "pix_gdp3",
152                                               "pix_gdp4",
153                                               "main_parent",
154                                               "aux_parent";
156                                 clocks = <&clk_s_c0_flexgen CLK_COMPO_DVP>,
157                                          <&clk_s_c0_flexgen CLK_COMPO_DVP>,
158                                          <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
159                                          <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
160                                          <&clk_s_d2_flexgen CLK_PIX_GDP1>,
161                                          <&clk_s_d2_flexgen CLK_PIX_GDP2>,
162                                          <&clk_s_d2_flexgen CLK_PIX_GDP3>,
163                                          <&clk_s_d2_flexgen CLK_PIX_GDP4>,
164                                          <&clk_s_d2_quadfs 0>,
165                                          <&clk_s_d2_quadfs 1>;
167                                 reset-names = "compo-main", "compo-aux";
168                                 resets = <&softreset STIH407_COMPO_SOFTRESET>,
169                                          <&softreset STIH407_COMPO_SOFTRESET>;
170                                 st,vtg = <&vtg_main>, <&vtg_aux>;
171                         };
173                         sti-tvout@8d08000 {
174                                 compatible = "st,stih407-tvout";
175                                 reg = <0x8d08000 0x1000>;
176                                 reg-names = "tvout-reg";
177                                 reset-names = "tvout";
178                                 resets = <&softreset STIH407_HDTVOUT_SOFTRESET>;
179                                 #address-cells = <1>;
180                                 #size-cells = <1>;
181                                 assigned-clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
182                                                   <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
183                                                   <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
184                                                   <&clk_s_d0_flexgen CLK_PCM_0>,
185                                                   <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
186                                                   <&clk_s_d2_flexgen CLK_HDDAC>;
188                                 assigned-clock-parents = <&clk_s_d2_quadfs 0>,
189                                                          <&clk_tmdsout_hdmi>,
190                                                          <&clk_s_d2_quadfs 0>,
191                                                          <&clk_s_d0_quadfs 0>,
192                                                          <&clk_s_d2_quadfs 0>,
193                                                          <&clk_s_d2_quadfs 0>;
194                         };
196                         sti_hdmi: sti-hdmi@8d04000 {
197                                 compatible = "st,stih407-hdmi";
198                                 reg = <0x8d04000 0x1000>;
199                                 reg-names = "hdmi-reg";
200                                 interrupts = <GIC_SPI 106 IRQ_TYPE_NONE>;
201                                 interrupt-names = "irq";
202                                 clock-names = "pix",
203                                               "tmds",
204                                               "phy",
205                                               "audio",
206                                               "main_parent",
207                                               "aux_parent";
209                                 clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
210                                          <&clk_s_d2_flexgen CLK_TMDS_HDMI>,
211                                          <&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
212                                          <&clk_s_d0_flexgen CLK_PCM_0>,
213                                          <&clk_s_d2_quadfs 0>,
214                                          <&clk_s_d2_quadfs 1>;
216                                 hdmi,hpd-gpio = <&pio5 3>;
217                                 reset-names = "hdmi";
218                                 resets = <&softreset STIH407_HDMI_TX_PHY_SOFTRESET>;
219                                 ddc = <&hdmiddc>;
220                         };
222                         sti-hda@8d02000 {
223                                 compatible = "st,stih407-hda";
224                                 status = "disabled";
225                                 reg = <0x8d02000 0x400>, <0x92b0120 0x4>;
226                                 reg-names = "hda-reg", "video-dacs-ctrl";
227                                 clock-names = "pix",
228                                               "hddac",
229                                               "main_parent",
230                                               "aux_parent";
231                                 clocks = <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
232                                          <&clk_s_d2_flexgen CLK_HDDAC>,
233                                          <&clk_s_d2_quadfs 0>,
234                                          <&clk_s_d2_quadfs 1>;
235                         };
237                         sti-hqvdp@9c000000 {
238                                 compatible = "st,stih407-hqvdp";
239                                 reg = <0x9C00000 0x100000>;
240                                 clock-names = "hqvdp", "pix_main";
241                                 clocks = <&clk_s_c0_flexgen CLK_MAIN_DISP>,
242                                          <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>;
243                                 reset-names = "hqvdp";
244                                 resets = <&softreset STIH407_HDQVDP_SOFTRESET>;
245                                 st,vtg = <&vtg_main>;
246                         };
247                 };
249                 bdisp0:bdisp@9f10000 {
250                         compatible = "st,stih407-bdisp";
251                         reg = <0x9f10000 0x1000>;
252                         interrupts = <GIC_SPI 38 IRQ_TYPE_NONE>;
253                         clock-names = "bdisp";
254                         clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;
255                 };
257                 hva@8c85000 {
258                         compatible = "st,st-hva";
259                         reg = <0x8c85000 0x400>, <0x6000000 0x40000>;
260                         reg-names = "hva_registers", "hva_esram";
261                         interrupts = <GIC_SPI 58 IRQ_TYPE_NONE>,
262                                      <GIC_SPI 59 IRQ_TYPE_NONE>;
263                         clock-names = "clk_hva";
264                         clocks = <&clk_s_c0_flexgen CLK_HVA>;
265                 };
267                 thermal@91a0000 {
268                         compatible = "st,stih407-thermal";
269                         reg = <0x91a0000 0x28>;
270                         clock-names = "thermal";
271                         clocks = <&clk_sysin>;
272                         interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
273                 };
275                 delta0 {
276                         compatible = "st,st-delta";
277                         clock-names = "delta",
278                                       "delta-st231",
279                                       "delta-flash-promip";
280                         clocks = <&clk_s_c0_flexgen CLK_VID_DMU>,
281                                  <&clk_s_c0_flexgen CLK_ST231_DMU>,
282                                  <&clk_s_c0_flexgen CLK_FLASH_PROMIP>;
283                 };
284         };