blob: 626152c30f50b33f788267417320a41bb052638c [file] [log] [blame]
Vishnu Patekar35af8e42015-05-30 16:55:04 +02001/*
2 * Copyright 2014 Chen-Yu Tsai
3 *
4 * Chen-Yu Tsai <wens@csie.org>
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
9 * whole.
10 *
11 * a) This file is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
15 *
16 * This file is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * Or, alternatively,
22 *
23 * b) Permission is hereby granted, free of charge, to any person
24 * obtaining a copy of this software and associated documentation
25 * files (the "Software"), to deal in the Software without
26 * restriction, including without limitation the rights to use,
27 * copy, modify, merge, publish, distribute, sublicense, and/or
28 * sell copies of the Software, and to permit persons to whom the
29 * Software is furnished to do so, subject to the following
30 * conditions:
31 *
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
34 *
35 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 * OTHER DEALINGS IN THE SOFTWARE.
43 */
44
45#include "sun8i-a23-a33.dtsi"
Quentin Schulza5ce7a32017-04-05 11:06:32 +020046#include <dt-bindings/thermal/thermal.h>
Vishnu Patekar35af8e42015-05-30 16:55:04 +020047
48/ {
Icenowy Zheng03749eb2016-12-16 02:27:54 +080049 cpu0_opp_table: opp_table0 {
50 compatible = "operating-points-v2";
51 opp-shared;
52
Viresh Kumar84f17382017-04-20 16:25:09 +053053 opp-120000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +010054 opp-hz = /bits/ 64 <120000000>;
55 opp-microvolt = <1040000>;
56 clock-latency-ns = <244144>; /* 8 32k periods */
57 };
58
Viresh Kumar84f17382017-04-20 16:25:09 +053059 opp-240000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +010060 opp-hz = /bits/ 64 <240000000>;
61 opp-microvolt = <1040000>;
62 clock-latency-ns = <244144>; /* 8 32k periods */
63 };
64
Viresh Kumar84f17382017-04-20 16:25:09 +053065 opp-312000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +010066 opp-hz = /bits/ 64 <312000000>;
67 opp-microvolt = <1040000>;
68 clock-latency-ns = <244144>; /* 8 32k periods */
69 };
70
Viresh Kumar84f17382017-04-20 16:25:09 +053071 opp-408000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +010072 opp-hz = /bits/ 64 <408000000>;
73 opp-microvolt = <1040000>;
74 clock-latency-ns = <244144>; /* 8 32k periods */
75 };
76
Viresh Kumar84f17382017-04-20 16:25:09 +053077 opp-480000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +010078 opp-hz = /bits/ 64 <480000000>;
79 opp-microvolt = <1040000>;
80 clock-latency-ns = <244144>; /* 8 32k periods */
81 };
82
Viresh Kumar84f17382017-04-20 16:25:09 +053083 opp-504000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +010084 opp-hz = /bits/ 64 <504000000>;
85 opp-microvolt = <1040000>;
86 clock-latency-ns = <244144>; /* 8 32k periods */
87 };
88
Viresh Kumar84f17382017-04-20 16:25:09 +053089 opp-600000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +010090 opp-hz = /bits/ 64 <600000000>;
91 opp-microvolt = <1040000>;
92 clock-latency-ns = <244144>; /* 8 32k periods */
93 };
94
Viresh Kumar84f17382017-04-20 16:25:09 +053095 opp-648000000 {
Icenowy Zheng03749eb2016-12-16 02:27:54 +080096 opp-hz = /bits/ 64 <648000000>;
97 opp-microvolt = <1040000>;
98 clock-latency-ns = <244144>; /* 8 32k periods */
99 };
100
Viresh Kumar84f17382017-04-20 16:25:09 +0530101 opp-720000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +0100102 opp-hz = /bits/ 64 <720000000>;
103 opp-microvolt = <1100000>;
104 clock-latency-ns = <244144>; /* 8 32k periods */
105 };
106
Viresh Kumar84f17382017-04-20 16:25:09 +0530107 opp-816000000 {
Icenowy Zheng03749eb2016-12-16 02:27:54 +0800108 opp-hz = /bits/ 64 <816000000>;
109 opp-microvolt = <1100000>;
110 clock-latency-ns = <244144>; /* 8 32k periods */
111 };
112
Viresh Kumar84f17382017-04-20 16:25:09 +0530113 opp-912000000 {
Quentin Schulze6bd3762017-03-21 16:36:02 +0100114 opp-hz = /bits/ 64 <912000000>;
115 opp-microvolt = <1200000>;
116 clock-latency-ns = <244144>; /* 8 32k periods */
117 };
118
Viresh Kumar84f17382017-04-20 16:25:09 +0530119 opp-1008000000 {
Icenowy Zheng03749eb2016-12-16 02:27:54 +0800120 opp-hz = /bits/ 64 <1008000000>;
121 opp-microvolt = <1200000>;
122 clock-latency-ns = <244144>; /* 8 32k periods */
123 };
Icenowy Zheng03749eb2016-12-16 02:27:54 +0800124 };
125
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200126 cpus {
Icenowy Zheng03749eb2016-12-16 02:27:54 +0800127 cpu@0 {
128 clocks = <&ccu CLK_CPUX>;
129 clock-names = "cpu";
130 operating-points-v2 = <&cpu0_opp_table>;
Quentin Schulza5ce7a32017-04-05 11:06:32 +0200131 #cooling-cells = <2>;
Icenowy Zheng03749eb2016-12-16 02:27:54 +0800132 };
133
Viresh Kumaref473452018-11-16 15:31:14 +0530134 cpu1: cpu@1 {
Viresh Kumare3b74202018-06-05 10:17:49 +0530135 clocks = <&ccu CLK_CPUX>;
136 clock-names = "cpu";
Quentin Schulzea33c2c2017-03-21 16:36:01 +0100137 operating-points-v2 = <&cpu0_opp_table>;
Viresh Kumare3b74202018-06-05 10:17:49 +0530138 #cooling-cells = <2>;
Quentin Schulzea33c2c2017-03-21 16:36:01 +0100139 };
140
Viresh Kumaref473452018-11-16 15:31:14 +0530141 cpu2: cpu@2 {
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200142 compatible = "arm,cortex-a7";
143 device_type = "cpu";
144 reg = <2>;
Viresh Kumare3b74202018-06-05 10:17:49 +0530145 clocks = <&ccu CLK_CPUX>;
146 clock-names = "cpu";
Quentin Schulzea33c2c2017-03-21 16:36:01 +0100147 operating-points-v2 = <&cpu0_opp_table>;
Viresh Kumare3b74202018-06-05 10:17:49 +0530148 #cooling-cells = <2>;
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200149 };
150
Viresh Kumaref473452018-11-16 15:31:14 +0530151 cpu3: cpu@3 {
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200152 compatible = "arm,cortex-a7";
153 device_type = "cpu";
154 reg = <3>;
Viresh Kumare3b74202018-06-05 10:17:49 +0530155 clocks = <&ccu CLK_CPUX>;
156 clock-names = "cpu";
Quentin Schulzea33c2c2017-03-21 16:36:01 +0100157 operating-points-v2 = <&cpu0_opp_table>;
Viresh Kumare3b74202018-06-05 10:17:49 +0530158 #cooling-cells = <2>;
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200159 };
160 };
161
Maxime Ripardb12684f2016-01-07 12:28:00 +0100162 de: display-engine {
163 compatible = "allwinner,sun8i-a33-display-engine";
164 allwinner,pipelines = <&fe0>;
165 status = "disabled";
166 };
167
Quentin Schulza424f632017-04-05 11:06:31 +0200168 iio-hwmon {
169 compatible = "iio-hwmon";
170 io-channels = <&ths>;
171 };
172
Maxime Ripard66c373222017-02-09 16:01:18 +0100173 mali_opp_table: gpu-opp-table {
174 compatible = "operating-points-v2";
175
Viresh Kumar84f17382017-04-20 16:25:09 +0530176 opp-144000000 {
Maxime Ripard66c373222017-02-09 16:01:18 +0100177 opp-hz = /bits/ 64 <144000000>;
178 };
179
Viresh Kumar84f17382017-04-20 16:25:09 +0530180 opp-240000000 {
Maxime Ripard66c373222017-02-09 16:01:18 +0100181 opp-hz = /bits/ 64 <240000000>;
182 };
183
Viresh Kumar84f17382017-04-20 16:25:09 +0530184 opp-384000000 {
Maxime Ripard66c373222017-02-09 16:01:18 +0100185 opp-hz = /bits/ 64 <384000000>;
186 };
187 };
188
Mylène Josserand870f1bd2017-02-02 10:24:20 +0100189 sound: sound {
190 compatible = "simple-audio-card";
191 simple-audio-card,name = "sun8i-a33-audio";
192 simple-audio-card,format = "i2s";
193 simple-audio-card,frame-master = <&link_codec>;
194 simple-audio-card,bitclock-master = <&link_codec>;
Chen-Yu Tsai7ff33bd2018-12-05 18:11:52 +0800195 simple-audio-card,mclk-fs = <128>;
Mylène Josserand870f1bd2017-02-02 10:24:20 +0100196 simple-audio-card,aux-devs = <&codec_analog>;
197 simple-audio-card,routing =
Mylène Josserandeb3abae2017-03-18 08:55:09 +0100198 "Left DAC", "AIF1 Slot 0 Left",
199 "Right DAC", "AIF1 Slot 0 Right";
Mylène Josserand870f1bd2017-02-02 10:24:20 +0100200 status = "disabled";
201
202 simple-audio-card,cpu {
203 sound-dai = <&dai>;
204 };
205
206 link_codec: simple-audio-card,codec {
207 sound-dai = <&codec>;
208 };
209 };
210
Maxime Ripardcce55d82018-11-21 09:40:48 +0100211 soc {
Rob Herring8dccafa2017-10-13 12:54:51 -0500212 tcon0: lcd-controller@1c0c000 {
Maxime Ripardb12684f2016-01-07 12:28:00 +0100213 compatible = "allwinner,sun8i-a33-tcon";
214 reg = <0x01c0c000 0x1000>;
215 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
216 clocks = <&ccu CLK_BUS_LCD>,
217 <&ccu CLK_LCD_CH0>;
218 clock-names = "ahb",
219 "tcon-ch0";
220 clock-output-names = "tcon-pixel-clock";
221 resets = <&ccu RST_BUS_LCD>;
222 reset-names = "lcd";
223 status = "disabled";
224
225 ports {
226 #address-cells = <1>;
227 #size-cells = <0>;
228
229 tcon0_in: port@0 {
230 #address-cells = <1>;
231 #size-cells = <0>;
232 reg = <0>;
233
234 tcon0_in_drc0: endpoint@0 {
235 reg = <0>;
236 remote-endpoint = <&drc0_out_tcon0>;
237 };
238 };
239
240 tcon0_out: port@1 {
241 #address-cells = <1>;
242 #size-cells = <0>;
243 reg = <1>;
Maxime Ripard88fe3152018-04-04 11:57:15 +0200244
245 tcon0_out_dsi: endpoint@1 {
246 reg = <1>;
247 remote-endpoint = <&dsi_in_tcon0>;
248 };
Maxime Ripardb12684f2016-01-07 12:28:00 +0100249 };
250 };
251 };
252
Maxime Ripard5759b8d2018-11-21 10:04:39 +0100253 video-codec@1c0e000 {
Paul Kocialkowski89925662018-09-07 00:24:41 +0200254 compatible = "allwinner,sun8i-a33-video-engine";
255 reg = <0x01c0e000 0x1000>;
256 clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>,
257 <&ccu CLK_DRAM_VE>;
258 clock-names = "ahb", "mod", "ram";
259 resets = <&ccu RST_BUS_VE>;
260 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
261 allwinner,sram = <&ve_sram 1>;
262 };
263
Rob Herring8dccafa2017-10-13 12:54:51 -0500264 crypto: crypto-engine@1c15000 {
Chen-Yu Tsaif7ad0822015-09-23 12:34:39 +0800265 compatible = "allwinner,sun4i-a10-crypto";
266 reg = <0x01c15000 0x1000>;
267 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
Maxime Ripard2c89ce4f42016-08-31 14:58:20 +0200268 clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>;
Chen-Yu Tsaif7ad0822015-09-23 12:34:39 +0800269 clock-names = "ahb", "mod";
Maxime Ripard2c89ce4f42016-08-31 14:58:20 +0200270 resets = <&ccu RST_BUS_SS>;
Chen-Yu Tsaif7ad0822015-09-23 12:34:39 +0800271 reset-names = "ahb";
272 };
273
Rob Herring8dccafa2017-10-13 12:54:51 -0500274 dai: dai@1c22c00 {
Mylène Josserand870f1bd2017-02-02 10:24:20 +0100275 #sound-dai-cells = <0>;
276 compatible = "allwinner,sun6i-a31-i2s";
277 reg = <0x01c22c00 0x200>;
278 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
279 clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
280 clock-names = "apb", "mod";
281 resets = <&ccu RST_BUS_CODEC>;
282 dmas = <&dma 15>, <&dma 15>;
283 dma-names = "rx", "tx";
284 status = "disabled";
285 };
286
Rob Herring8dccafa2017-10-13 12:54:51 -0500287 codec: codec@1c22e00 {
Mylène Josserand870f1bd2017-02-02 10:24:20 +0100288 #sound-dai-cells = <0>;
289 compatible = "allwinner,sun8i-a33-codec";
290 reg = <0x01c22e00 0x400>;
291 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
292 clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
293 clock-names = "bus", "mod";
294 status = "disabled";
295 };
296
Rob Herring8dccafa2017-10-13 12:54:51 -0500297 ths: ths@1c25000 {
Quentin Schulza424f632017-04-05 11:06:31 +0200298 compatible = "allwinner,sun8i-a33-ths";
299 reg = <0x01c25000 0x100>;
300 #thermal-sensor-cells = <0>;
301 #io-channel-cells = <0>;
302 };
303
Maxime Ripard88fe3152018-04-04 11:57:15 +0200304 dsi: dsi@1ca0000 {
305 compatible = "allwinner,sun6i-a31-mipi-dsi";
306 reg = <0x01ca0000 0x1000>;
307 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
308 clocks = <&ccu CLK_BUS_MIPI_DSI>,
309 <&ccu CLK_DSI_SCLK>;
310 clock-names = "bus", "mod";
311 resets = <&ccu RST_BUS_MIPI_DSI>;
312 phys = <&dphy>;
313 phy-names = "dphy";
314 status = "disabled";
315
316 ports {
317 #address-cells = <1>;
318 #size-cells = <0>;
319
320 port@0 {
321 #address-cells = <1>;
322 #size-cells = <0>;
323 reg = <0>;
324
325 dsi_in_tcon0: endpoint {
326 remote-endpoint = <&tcon0_out_dsi>;
327 };
328 };
329 };
330 };
331
332 dphy: d-phy@1ca1000 {
333 compatible = "allwinner,sun6i-a31-mipi-dphy";
334 reg = <0x01ca1000 0x1000>;
335 clocks = <&ccu CLK_BUS_MIPI_DSI>,
336 <&ccu CLK_DSI_DPHY>;
337 clock-names = "bus", "mod";
338 resets = <&ccu RST_BUS_MIPI_DSI>;
339 status = "disabled";
340 #phy-cells = <0>;
341 };
342
Rob Herring8dccafa2017-10-13 12:54:51 -0500343 fe0: display-frontend@1e00000 {
Maxime Ripardb12684f2016-01-07 12:28:00 +0100344 compatible = "allwinner,sun8i-a33-display-frontend";
345 reg = <0x01e00000 0x20000>;
346 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
347 clocks = <&ccu CLK_BUS_DE_FE>, <&ccu CLK_DE_FE>,
348 <&ccu CLK_DRAM_DE_FE>;
349 clock-names = "ahb", "mod",
350 "ram";
351 resets = <&ccu RST_BUS_DE_FE>;
Maxime Ripardb12684f2016-01-07 12:28:00 +0100352
353 ports {
354 #address-cells = <1>;
355 #size-cells = <0>;
356
357 fe0_out: port@1 {
358 #address-cells = <1>;
359 #size-cells = <0>;
360 reg = <1>;
361
362 fe0_out_be0: endpoint@0 {
363 reg = <0>;
364 remote-endpoint = <&be0_in_fe0>;
365 };
366 };
367 };
368 };
369
Rob Herring8dccafa2017-10-13 12:54:51 -0500370 be0: display-backend@1e60000 {
Maxime Ripardb12684f2016-01-07 12:28:00 +0100371 compatible = "allwinner,sun8i-a33-display-backend";
372 reg = <0x01e60000 0x10000>, <0x01e80000 0x1000>;
373 reg-names = "be", "sat";
374 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
375 clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
376 <&ccu CLK_DRAM_DE_BE>, <&ccu CLK_BUS_SAT>;
377 clock-names = "ahb", "mod",
378 "ram", "sat";
379 resets = <&ccu RST_BUS_DE_BE>, <&ccu RST_BUS_SAT>;
380 reset-names = "be", "sat";
381 assigned-clocks = <&ccu CLK_DE_BE>;
382 assigned-clock-rates = <300000000>;
383
384 ports {
385 #address-cells = <1>;
386 #size-cells = <0>;
387
388 be0_in: port@0 {
389 #address-cells = <1>;
390 #size-cells = <0>;
391 reg = <0>;
392
393 be0_in_fe0: endpoint@0 {
394 reg = <0>;
395 remote-endpoint = <&fe0_out_be0>;
396 };
397 };
398
399 be0_out: port@1 {
400 #address-cells = <1>;
401 #size-cells = <0>;
402 reg = <1>;
403
404 be0_out_drc0: endpoint@0 {
405 reg = <0>;
406 remote-endpoint = <&drc0_in_be0>;
407 };
408 };
409 };
410 };
411
Rob Herring8dccafa2017-10-13 12:54:51 -0500412 drc0: drc@1e70000 {
Maxime Ripardb12684f2016-01-07 12:28:00 +0100413 compatible = "allwinner,sun8i-a33-drc";
414 reg = <0x01e70000 0x10000>;
415 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&ccu CLK_BUS_DRC>, <&ccu CLK_DRC>,
417 <&ccu CLK_DRAM_DRC>;
418 clock-names = "ahb", "mod", "ram";
419 resets = <&ccu RST_BUS_DRC>;
420
421 assigned-clocks = <&ccu CLK_DRC>;
422 assigned-clock-rates = <300000000>;
423
424 ports {
425 #address-cells = <1>;
426 #size-cells = <0>;
427
428 drc0_in: port@0 {
429 #address-cells = <1>;
430 #size-cells = <0>;
431 reg = <0>;
432
433 drc0_in_be0: endpoint@0 {
434 reg = <0>;
435 remote-endpoint = <&be0_out_drc0>;
436 };
437 };
438
439 drc0_out: port@1 {
440 #address-cells = <1>;
441 #size-cells = <0>;
442 reg = <1>;
443
444 drc0_out_tcon0: endpoint@0 {
445 reg = <0>;
446 remote-endpoint = <&tcon0_in_drc0>;
447 };
448 };
449 };
450 };
Hans de Goede4f8449b12015-06-02 15:37:32 +0200451 };
Quentin Schulza5ce7a32017-04-05 11:06:32 +0200452
453 thermal-zones {
454 cpu_thermal {
455 /* milliseconds */
456 polling-delay-passive = <250>;
457 polling-delay = <1000>;
458 thermal-sensors = <&ths>;
459
460 cooling-maps {
461 map0 {
462 trip = <&cpu_alert0>;
Viresh Kumaref473452018-11-16 15:31:14 +0530463 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
464 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
465 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
466 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
Quentin Schulza5ce7a32017-04-05 11:06:32 +0200467 };
468 map1 {
469 trip = <&cpu_alert1>;
Viresh Kumaref473452018-11-16 15:31:14 +0530470 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
471 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
472 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
473 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
Quentin Schulza5ce7a32017-04-05 11:06:32 +0200474 };
Maxime Riparde8460112017-04-05 11:06:33 +0200475
476 map2 {
477 trip = <&gpu_alert0>;
478 cooling-device = <&mali 1 THERMAL_NO_LIMIT>;
479 };
480
481 map3 {
482 trip = <&gpu_alert1>;
483 cooling-device = <&mali 2 THERMAL_NO_LIMIT>;
484 };
Quentin Schulza5ce7a32017-04-05 11:06:32 +0200485 };
486
487 trips {
488 cpu_alert0: cpu_alert0 {
489 /* milliCelsius */
490 temperature = <75000>;
491 hysteresis = <2000>;
492 type = "passive";
493 };
494
Maxime Riparde8460112017-04-05 11:06:33 +0200495 gpu_alert0: gpu_alert0 {
496 /* milliCelsius */
497 temperature = <85000>;
498 hysteresis = <2000>;
499 type = "passive";
500 };
501
Quentin Schulza5ce7a32017-04-05 11:06:32 +0200502 cpu_alert1: cpu_alert1 {
503 /* milliCelsius */
504 temperature = <90000>;
505 hysteresis = <2000>;
506 type = "hot";
507 };
508
Maxime Riparde8460112017-04-05 11:06:33 +0200509 gpu_alert1: gpu_alert1 {
510 /* milliCelsius */
511 temperature = <95000>;
512 hysteresis = <2000>;
513 type = "hot";
514 };
515
Quentin Schulza5ce7a32017-04-05 11:06:32 +0200516 cpu_crit: cpu_crit {
517 /* milliCelsius */
518 temperature = <110000>;
519 hysteresis = <2000>;
520 type = "critical";
521 };
522 };
523 };
524 };
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200525};
526
Maxime Ripard2c89ce4f42016-08-31 14:58:20 +0200527&ccu {
528 compatible = "allwinner,sun8i-a33-ccu";
529};
530
Maxime Ripard66c373222017-02-09 16:01:18 +0100531&mali {
532 operating-points-v2 = <&mali_opp_table>;
533};
534
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200535&pio {
536 compatible = "allwinner,sun8i-a33-pinctrl";
537 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
538 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai63c65092015-06-02 18:04:02 +0800539
Maxime Ripard090e5632018-11-07 10:58:01 +0100540 uart0_pb_pins: uart0-pb-pins {
Maxime Ripard1edcd362016-09-23 14:28:10 +0300541 pins = "PB0", "PB1";
542 function = "uart0";
Chen-Yu Tsai63c65092015-06-02 18:04:02 +0800543 };
544
Vishnu Patekar35af8e42015-05-30 16:55:04 +0200545};
Chen-Yu Tsaibd335442016-09-08 11:25:35 +0800546
547&usb_otg {
548 compatible = "allwinner,sun8i-a33-musb";
549};
550
551&usbphy {
552 compatible = "allwinner,sun8i-a33-usb-phy";
553 reg = <0x01c19400 0x14>, <0x01c1a800 0x4>;
554 reg-names = "phy_ctrl", "pmu1";
555};