blob: e1a39cbed8c9c18abf90c521ba09dbd5356b7502 [file] [log] [blame]
Neil Armstrong114abfe2018-02-27 12:30:33 +01001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Carlo Caione15abee82016-10-04 17:37:09 +02002/*
3 * Copyright (c) 2016 Endless Computers, Inc.
4 * Author: Carlo Caione <carlo@endlessm.com>
Carlo Caione15abee82016-10-04 17:37:09 +02005 */
6
7#include "meson-gx.dtsi"
Neil Armstrong973fbd52016-10-31 17:44:41 +01008#include <dt-bindings/clock/gxbb-clkc.h>
Neil Armstrongb16c71c2017-08-04 15:12:13 +02009#include <dt-bindings/clock/gxbb-aoclkc.h>
Kevin Hilman1cf3df82016-11-07 14:35:50 -080010#include <dt-bindings/gpio/meson-gxl-gpio.h>
Neil Armstrong6939db72017-03-21 16:25:46 +010011#include <dt-bindings/reset/amlogic,meson-gxbb-reset.h>
Carlo Caione15abee82016-10-04 17:37:09 +020012
13/ {
14 compatible = "amlogic,meson-gxl";
Neil Armstrong4ee8e512017-10-11 17:23:12 +020015
16 reserved-memory {
17 /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
Arnd Bergmanna5494ae2017-10-30 14:34:03 +010018 secmon_reserved_alt: secmon@5000000 {
Neil Armstrong4ee8e512017-10-11 17:23:12 +020019 reg = <0x0 0x05000000 0x0 0x300000>;
20 no-map;
21 };
22 };
Carlo Caione15abee82016-10-04 17:37:09 +020023};
Neil Armstrongfb0fe9222016-10-31 17:44:40 +010024
Neil Armstronge9e27c62016-11-07 11:43:55 +010025&ethmac {
26 reg = <0x0 0xc9410000 0x0 0x10000
27 0x0 0xc8834540 0x0 0x4>;
28
29 clocks = <&clkc CLKID_ETH>,
30 <&clkc CLKID_FCLK_DIV2>,
31 <&clkc CLKID_MPLL2>;
32 clock-names = "stmmaceth", "clkin0", "clkin1";
33
34 mdio0: mdio {
35 #address-cells = <1>;
36 #size-cells = <0>;
37 compatible = "snps,dwmac-mdio";
38 };
39};
40
Neil Armstrongfb0fe9222016-10-31 17:44:40 +010041&aobus {
42 pinctrl_aobus: pinctrl@14 {
43 compatible = "amlogic,meson-gxl-aobus-pinctrl";
44 #address-cells = <2>;
45 #size-cells = <2>;
46 ranges;
47
48 gpio_ao: bank@14 {
49 reg = <0x0 0x00014 0x0 0x8>,
50 <0x0 0x0002c 0x0 0x4>,
51 <0x0 0x00024 0x0 0x8>;
52 reg-names = "mux", "pull", "gpio";
53 gpio-controller;
54 #gpio-cells = <2>;
Neil Armstrong84412e42017-03-23 17:27:25 +010055 gpio-ranges = <&pinctrl_aobus 0 0 14>;
Neil Armstrongfb0fe9222016-10-31 17:44:40 +010056 };
57
58 uart_ao_a_pins: uart_ao_a {
59 mux {
60 groups = "uart_tx_ao_a", "uart_rx_ao_a";
61 function = "uart_ao";
62 };
63 };
64
Martin Blumenstingl261e1d52017-01-15 23:32:53 +010065 uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
66 mux {
67 groups = "uart_cts_ao_a",
68 "uart_rts_ao_a";
69 function = "uart_ao";
70 };
71 };
72
Martin Blumenstingl890a96a2017-01-15 23:20:29 +010073 uart_ao_b_pins: uart_ao_b {
74 mux {
75 groups = "uart_tx_ao_b", "uart_rx_ao_b";
76 function = "uart_ao_b";
77 };
78 };
79
Neil Armstrongca02e3f2017-03-23 11:41:11 +010080 uart_ao_b_0_1_pins: uart_ao_b_0_1 {
81 mux {
82 groups = "uart_tx_ao_b_0", "uart_rx_ao_b_1";
83 function = "uart_ao_b";
84 };
85 };
86
Martin Blumenstingl261e1d52017-01-15 23:32:53 +010087 uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
88 mux {
89 groups = "uart_cts_ao_b",
90 "uart_rts_ao_b";
91 function = "uart_ao_b";
92 };
93 };
94
Neil Armstrongfb0fe9222016-10-31 17:44:40 +010095 remote_input_ao_pins: remote_input_ao {
96 mux {
97 groups = "remote_input_ao";
98 function = "remote_input_ao";
99 };
100 };
Martin Blumenstingl249a2242017-01-22 22:05:28 +0100101
Neil Armstrongca02e3f2017-03-23 11:41:11 +0100102 i2c_ao_pins: i2c_ao {
103 mux {
104 groups = "i2c_sck_ao",
105 "i2c_sda_ao";
106 function = "i2c_ao";
107 };
108 };
109
Martin Blumenstingle98fd132017-03-18 13:27:36 +0100110 pwm_ao_a_3_pins: pwm_ao_a_3 {
111 mux {
112 groups = "pwm_ao_a_3";
113 function = "pwm_ao_a";
114 };
115 };
116
117 pwm_ao_a_8_pins: pwm_ao_a_8 {
118 mux {
119 groups = "pwm_ao_a_8";
120 function = "pwm_ao_a";
121 };
122 };
123
Martin Blumenstingl249a2242017-01-22 22:05:28 +0100124 pwm_ao_b_pins: pwm_ao_b {
125 mux {
126 groups = "pwm_ao_b";
127 function = "pwm_ao_b";
128 };
129 };
Neil Armstrongca02e3f2017-03-23 11:41:11 +0100130
131 pwm_ao_b_6_pins: pwm_ao_b_6 {
132 mux {
133 groups = "pwm_ao_b_6";
134 function = "pwm_ao_b";
135 };
136 };
jbrunetc16fe9a2017-03-26 19:19:22 +0200137
138 i2s_out_ch23_ao_pins: i2s_out_ch23_ao {
139 mux {
140 groups = "i2s_out_ch23_ao";
141 function = "i2s_out_ao";
142 };
143 };
144
145 i2s_out_ch45_ao_pins: i2s_out_ch45_ao {
146 mux {
147 groups = "i2s_out_ch45_ao";
148 function = "i2s_out_ao";
149 };
150 };
jbrunet95030622017-03-26 19:19:23 +0200151
152 spdif_out_ao_6_pins: spdif_out_ao_6 {
153 mux {
154 groups = "spdif_out_ao_6";
155 function = "spdif_out_ao";
156 };
157 };
158
159 spdif_out_ao_9_pins: spdif_out_ao_9 {
160 mux {
161 groups = "spdif_out_ao_9";
162 function = "spdif_out_ao";
163 };
164 };
Neil Armstrong6d717612017-05-24 10:28:22 +0200165
166 ao_cec_pins: ao_cec {
167 mux {
168 groups = "ao_cec";
169 function = "cec_ao";
170 };
171 };
172
173 ee_cec_pins: ee_cec {
174 mux {
175 groups = "ee_cec";
176 function = "cec_ao";
177 };
178 };
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100179 };
180};
181
Neil Armstrongb16c71c2017-08-04 15:12:13 +0200182&cec_AO {
183 clocks = <&clkc_AO CLKID_AO_CEC_32K>;
184 clock-names = "core";
185};
186
Neil Armstrong7fd2c352017-08-04 15:12:12 +0200187&clkc_AO {
188 compatible = "amlogic,meson-gxl-aoclkc", "amlogic,meson-gx-aoclkc";
189};
190
Jerome Brunet9dbb56e2017-10-19 14:01:42 +0200191&gpio_intc {
192 compatible = "amlogic,meson-gpio-intc",
193 "amlogic,meson-gxl-gpio-intc";
194 status = "okay";
195};
196
Andreas Färber6a573c42017-05-13 16:33:34 +0200197&hdmi_tx {
198 compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
199 resets = <&reset RESET_HDMITX_CAPB3>,
200 <&reset RESET_HDMI_SYSTEM_RESET>,
201 <&reset RESET_HDMI_TX>;
202 reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
203 clocks = <&clkc CLKID_HDMI_PCLK>,
204 <&clkc CLKID_CLK81>,
205 <&clkc CLKID_GCLK_VENCI_INT0>;
206 clock-names = "isfr", "iahb", "venci";
207};
208
209&hiubus {
210 clkc: clock-controller@0 {
211 compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc";
212 #clock-cells = <1>;
213 reg = <0x0 0x0 0x0 0x3db>;
214 };
215};
216
217&i2c_A {
218 clocks = <&clkc CLKID_I2C>;
219};
220
221&i2c_AO {
222 clocks = <&clkc CLKID_AO_I2C>;
223};
224
225&i2c_B {
226 clocks = <&clkc CLKID_I2C>;
227};
228
229&i2c_C {
230 clocks = <&clkc CLKID_I2C>;
231};
232
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100233&periphs {
234 pinctrl_periphs: pinctrl@4b0 {
235 compatible = "amlogic,meson-gxl-periphs-pinctrl";
236 #address-cells = <2>;
237 #size-cells = <2>;
238 ranges;
239
240 gpio: bank@4b0 {
241 reg = <0x0 0x004b0 0x0 0x28>,
242 <0x0 0x004e8 0x0 0x14>,
Neil Armstrongf4c406d2017-05-23 16:21:50 +0200243 <0x0 0x00520 0x0 0x14>,
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100244 <0x0 0x00430 0x0 0x40>;
245 reg-names = "mux", "pull", "pull-enable", "gpio";
246 gpio-controller;
247 #gpio-cells = <2>;
Jerome Brunet7dbe78e2017-09-21 19:14:46 +0200248 gpio-ranges = <&pinctrl_periphs 0 0 100>;
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100249 };
250
251 emmc_pins: emmc {
252 mux {
253 groups = "emmc_nand_d07",
254 "emmc_cmd",
Neil Armstrongab36be62017-10-03 17:24:42 +0200255 "emmc_clk";
256 function = "emmc";
257 };
258 };
259
260 emmc_ds_pins: emmc-ds {
261 mux {
262 groups = "emmc_ds";
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100263 function = "emmc";
264 };
265 };
266
Jerome Brunet67e76072017-08-31 15:52:20 +0200267 emmc_clk_gate_pins: emmc_clk_gate {
268 mux {
269 groups = "BOOT_8";
270 function = "gpio_periphs";
271 };
272 cfg-pull-down {
273 pins = "BOOT_8";
274 bias-pull-down;
275 };
276 };
277
Neil Armstrongca02e3f2017-03-23 11:41:11 +0100278 nor_pins: nor {
279 mux {
280 groups = "nor_d",
281 "nor_q",
282 "nor_c",
283 "nor_cs";
284 function = "nor";
285 };
286 };
287
Neil Armstrong85b2e742017-05-24 10:28:25 +0200288 spi_pins: spi {
289 mux {
290 groups = "spi_miso",
291 "spi_mosi",
292 "spi_sclk";
293 function = "spi";
294 };
295 };
296
297 spi_ss0_pins: spi-ss0 {
298 mux {
299 groups = "spi_ss0";
300 function = "spi";
301 };
302 };
303
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100304 sdcard_pins: sdcard {
305 mux {
306 groups = "sdcard_d0",
307 "sdcard_d1",
308 "sdcard_d2",
309 "sdcard_d3",
310 "sdcard_cmd",
311 "sdcard_clk";
312 function = "sdcard";
313 };
314 };
315
Jerome Brunet67e76072017-08-31 15:52:20 +0200316 sdcard_clk_gate_pins: sdcard_clk_gate {
317 mux {
318 groups = "CARD_2";
319 function = "gpio_periphs";
320 };
321 cfg-pull-down {
322 pins = "CARD_2";
323 bias-pull-down;
324 };
325 };
326
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100327 sdio_pins: sdio {
328 mux {
329 groups = "sdio_d0",
330 "sdio_d1",
331 "sdio_d2",
332 "sdio_d3",
333 "sdio_cmd",
334 "sdio_clk";
335 function = "sdio";
336 };
337 };
338
Jerome Brunet67e76072017-08-31 15:52:20 +0200339 sdio_clk_gate_pins: sdio_clk_gate {
340 mux {
341 groups = "GPIOX_4";
342 function = "gpio_periphs";
343 };
344 cfg-pull-down {
345 pins = "GPIOX_4";
346 bias-pull-down;
347 };
348 };
349
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100350 sdio_irq_pins: sdio_irq {
351 mux {
352 groups = "sdio_irq";
353 function = "sdio";
354 };
355 };
356
357 uart_a_pins: uart_a {
358 mux {
359 groups = "uart_tx_a",
360 "uart_rx_a";
361 function = "uart_a";
362 };
363 };
364
Martin Blumenstingl261e1d52017-01-15 23:32:53 +0100365 uart_a_cts_rts_pins: uart_a_cts_rts {
366 mux {
367 groups = "uart_cts_a",
368 "uart_rts_a";
369 function = "uart_a";
370 };
371 };
372
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100373 uart_b_pins: uart_b {
374 mux {
375 groups = "uart_tx_b",
376 "uart_rx_b";
377 function = "uart_b";
378 };
379 };
380
Martin Blumenstingl261e1d52017-01-15 23:32:53 +0100381 uart_b_cts_rts_pins: uart_b_cts_rts {
382 mux {
383 groups = "uart_cts_b",
384 "uart_rts_b";
385 function = "uart_b";
386 };
387 };
388
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100389 uart_c_pins: uart_c {
390 mux {
391 groups = "uart_tx_c",
392 "uart_rx_c";
393 function = "uart_c";
394 };
395 };
396
Martin Blumenstingl261e1d52017-01-15 23:32:53 +0100397 uart_c_cts_rts_pins: uart_c_cts_rts {
398 mux {
399 groups = "uart_cts_c",
400 "uart_rts_c";
401 function = "uart_c";
402 };
403 };
404
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100405 i2c_a_pins: i2c_a {
406 mux {
407 groups = "i2c_sck_a",
408 "i2c_sda_a";
409 function = "i2c_a";
410 };
411 };
412
413 i2c_b_pins: i2c_b {
414 mux {
415 groups = "i2c_sck_b",
416 "i2c_sda_b";
417 function = "i2c_b";
418 };
419 };
420
421 i2c_c_pins: i2c_c {
422 mux {
423 groups = "i2c_sck_c",
424 "i2c_sda_c";
425 function = "i2c_c";
426 };
427 };
428
429 eth_pins: eth_c {
430 mux {
431 groups = "eth_mdio",
432 "eth_mdc",
433 "eth_clk_rx_clk",
434 "eth_rx_dv",
435 "eth_rxd0",
436 "eth_rxd1",
437 "eth_rxd2",
438 "eth_rxd3",
439 "eth_rgmii_tx_clk",
440 "eth_tx_en",
441 "eth_txd0",
442 "eth_txd1",
443 "eth_txd2",
444 "eth_txd3";
445 function = "eth";
446 };
447 };
448
Neil Armstrong44ddadc2017-05-24 10:28:23 +0200449 eth_link_led_pins: eth_link_led {
450 mux {
451 groups = "eth_link_led";
452 function = "eth_led";
453 };
454 };
455
456 eth_act_led_pins: eth_act_led {
457 mux {
458 groups = "eth_act_led";
459 function = "eth_led";
460 };
461 };
462
Martin Blumenstingle98fd132017-03-18 13:27:36 +0100463 pwm_a_pins: pwm_a {
464 mux {
465 groups = "pwm_a";
466 function = "pwm_a";
467 };
468 };
469
470 pwm_b_pins: pwm_b {
471 mux {
472 groups = "pwm_b";
473 function = "pwm_b";
474 };
475 };
476
477 pwm_c_pins: pwm_c {
478 mux {
479 groups = "pwm_c";
480 function = "pwm_c";
481 };
482 };
483
484 pwm_d_pins: pwm_d {
485 mux {
486 groups = "pwm_d";
487 function = "pwm_d";
488 };
489 };
490
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100491 pwm_e_pins: pwm_e {
492 mux {
493 groups = "pwm_e";
494 function = "pwm_e";
495 };
496 };
Neil Armstrongb9491652017-01-17 13:05:38 +0100497
Martin Blumenstingle98fd132017-03-18 13:27:36 +0100498 pwm_f_clk_pins: pwm_f_clk {
499 mux {
500 groups = "pwm_f_clk";
501 function = "pwm_f";
502 };
503 };
504
505 pwm_f_x_pins: pwm_f_x {
506 mux {
507 groups = "pwm_f_x";
508 function = "pwm_f";
509 };
510 };
511
Neil Armstrongb9491652017-01-17 13:05:38 +0100512 hdmi_hpd_pins: hdmi_hpd {
513 mux {
514 groups = "hdmi_hpd";
515 function = "hdmi_hpd";
516 };
517 };
518
519 hdmi_i2c_pins: hdmi_i2c {
520 mux {
521 groups = "hdmi_sda", "hdmi_scl";
522 function = "hdmi_i2c";
523 };
524 };
jbrunetc16fe9a2017-03-26 19:19:22 +0200525
526 i2s_am_clk_pins: i2s_am_clk {
527 mux {
528 groups = "i2s_am_clk";
529 function = "i2s_out";
530 };
531 };
532
533 i2s_out_ao_clk_pins: i2s_out_ao_clk {
534 mux {
535 groups = "i2s_out_ao_clk";
536 function = "i2s_out";
537 };
538 };
539
540 i2s_out_lr_clk_pins: i2s_out_lr_clk {
541 mux {
542 groups = "i2s_out_lr_clk";
543 function = "i2s_out";
544 };
545 };
546
547 i2s_out_ch01_pins: i2s_out_ch01 {
548 mux {
549 groups = "i2s_out_ch01";
550 function = "i2s_out";
551 };
552 };
553 i2sout_ch23_z_pins: i2sout_ch23_z {
554 mux {
555 groups = "i2sout_ch23_z";
556 function = "i2s_out";
557 };
558 };
559
560 i2sout_ch45_z_pins: i2sout_ch45_z {
561 mux {
562 groups = "i2sout_ch45_z";
563 function = "i2s_out";
564 };
565 };
566
567 i2sout_ch67_z_pins: i2sout_ch67_z {
568 mux {
569 groups = "i2sout_ch67_z";
570 function = "i2s_out";
571 };
572 };
jbrunet95030622017-03-26 19:19:23 +0200573
574 spdif_out_h_pins: spdif_out_ao_h {
575 mux {
576 groups = "spdif_out_h";
577 function = "spdif_out";
578 };
579 };
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100580 };
Neil Armstronge9e27c62016-11-07 11:43:55 +0100581
582 eth-phy-mux {
583 compatible = "mdio-mux-mmioreg", "mdio-mux";
584 #address-cells = <1>;
585 #size-cells = <0>;
586 reg = <0x0 0x55c 0x0 0x4>;
587 mux-mask = <0xffffffff>;
588 mdio-parent-bus = <&mdio0>;
589
590 internal_mdio: mdio@e40908ff {
591 reg = <0xe40908ff>;
592 #address-cells = <1>;
593 #size-cells = <0>;
594
595 internal_phy: ethernet-phy@8 {
596 compatible = "ethernet-phy-id0181.4400", "ethernet-phy-ieee802.3-c22";
Jerome Brunet2363ec92017-12-18 11:27:13 +0100597 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Neil Armstronge9e27c62016-11-07 11:43:55 +0100598 reg = <8>;
599 max-speed = <100>;
600 };
601 };
602
603 external_mdio: mdio@2009087f {
604 reg = <0x2009087f>;
605 #address-cells = <1>;
606 #size-cells = <0>;
607 };
608 };
Neil Armstrongfb0fe9222016-10-31 17:44:40 +0100609};
Neil Armstrong973fbd52016-10-31 17:44:41 +0100610
Neil Armstrong74d1c6e2017-11-20 15:19:54 +0100611&pwrc_vpu {
612 resets = <&reset RESET_VIU>,
613 <&reset RESET_VENC>,
614 <&reset RESET_VCBUS>,
615 <&reset RESET_BT656>,
616 <&reset RESET_DVIN_RESET>,
617 <&reset RESET_RDMA>,
618 <&reset RESET_VENCI>,
619 <&reset RESET_VENCP>,
620 <&reset RESET_VDAC>,
621 <&reset RESET_VDI6>,
622 <&reset RESET_VENCL>,
623 <&reset RESET_VID_LOCK>;
624 clocks = <&clkc CLKID_VPU>,
625 <&clkc CLKID_VAPB>;
626 clock-names = "vpu", "vapb";
627 /*
628 * VPU clocking is provided by two identical clock paths
629 * VPU_0 and VPU_1 muxed to a single clock by a glitch
630 * free mux to safely change frequency while running.
631 * Same for VAPB but with a final gate after the glitch free mux.
632 */
633 assigned-clocks = <&clkc CLKID_VPU_0_SEL>,
634 <&clkc CLKID_VPU_0>,
635 <&clkc CLKID_VPU>, /* Glitch free mux */
636 <&clkc CLKID_VAPB_0_SEL>,
637 <&clkc CLKID_VAPB_0>,
638 <&clkc CLKID_VAPB_SEL>; /* Glitch free mux */
639 assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
640 <0>, /* Do Nothing */
641 <&clkc CLKID_VPU_0>,
642 <&clkc CLKID_FCLK_DIV4>,
643 <0>, /* Do Nothing */
644 <&clkc CLKID_VAPB_0>;
645 assigned-clock-rates = <0>, /* Do Nothing */
646 <666666666>,
647 <0>, /* Do Nothing */
648 <0>, /* Do Nothing */
649 <250000000>,
650 <0>; /* Do Nothing */
651};
652
Martin Blumenstinglbd80ef52017-01-22 19:17:14 +0100653&saradc {
654 compatible = "amlogic,meson-gxl-saradc", "amlogic,meson-saradc";
655 clocks = <&xtal>,
656 <&clkc CLKID_SAR_ADC>,
Martin Blumenstinglbd80ef52017-01-22 19:17:14 +0100657 <&clkc CLKID_SAR_ADC_CLK>,
658 <&clkc CLKID_SAR_ADC_SEL>;
Xingyu Chene102da42017-11-16 17:01:14 +0800659 clock-names = "clkin", "core", "adc_clk", "adc_sel";
Martin Blumenstinglbd80ef52017-01-22 19:17:14 +0100660};
661
Neil Armstrong6d489dc2016-10-31 17:44:43 +0100662&sd_emmc_a {
663 clocks = <&clkc CLKID_SD_EMMC_A>,
Jerome Brunet50662492017-08-31 15:52:18 +0200664 <&clkc CLKID_SD_EMMC_A_CLK0>,
Neil Armstrong6d489dc2016-10-31 17:44:43 +0100665 <&clkc CLKID_FCLK_DIV2>;
666 clock-names = "core", "clkin0", "clkin1";
667};
668
669&sd_emmc_b {
670 clocks = <&clkc CLKID_SD_EMMC_B>,
Jerome Brunet50662492017-08-31 15:52:18 +0200671 <&clkc CLKID_SD_EMMC_B_CLK0>,
Neil Armstrong6d489dc2016-10-31 17:44:43 +0100672 <&clkc CLKID_FCLK_DIV2>;
673 clock-names = "core", "clkin0", "clkin1";
674};
675
676&sd_emmc_c {
677 clocks = <&clkc CLKID_SD_EMMC_C>,
Jerome Brunet50662492017-08-31 15:52:18 +0200678 <&clkc CLKID_SD_EMMC_C_CLK0>,
Neil Armstrong6d489dc2016-10-31 17:44:43 +0100679 <&clkc CLKID_FCLK_DIV2>;
680 clock-names = "core", "clkin0", "clkin1";
681};
Neil Armstrongfafdbdf2016-12-01 10:05:58 +0100682
Neil Armstrongfa808632017-05-29 10:09:55 +0200683&spicc {
684 clocks = <&clkc CLKID_SPICC>;
685 clock-names = "core";
686 resets = <&reset RESET_PERIPHS_SPICC>;
687 num-cs = <1>;
688};
689
Neil Armstrong04b36df2017-03-13 10:10:50 +0100690&spifc {
691 clocks = <&clkc CLKID_SPI>;
692};
693
Helmut Kleinf72d6f62017-06-21 16:42:11 +0200694&uart_A {
695 clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
Neil Armstrong39005e52017-12-04 10:04:53 +0100696 clock-names = "xtal", "pclk", "baud";
Helmut Kleinf72d6f62017-06-21 16:42:11 +0200697};
698
699&uart_AO {
700 clocks = <&xtal>, <&clkc CLKID_CLK81>, <&xtal>;
701 clock-names = "xtal", "pclk", "baud";
702};
703
704&uart_AO_B {
705 clocks = <&xtal>, <&clkc CLKID_CLK81>, <&xtal>;
706 clock-names = "xtal", "pclk", "baud";
707};
708
709&uart_B {
710 clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
Neil Armstrong39005e52017-12-04 10:04:53 +0100711 clock-names = "xtal", "pclk", "baud";
Helmut Kleinf72d6f62017-06-21 16:42:11 +0200712};
713
714&uart_C {
715 clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>;
Neil Armstrong39005e52017-12-04 10:04:53 +0100716 clock-names = "xtal", "pclk", "baud";
Helmut Kleinf72d6f62017-06-21 16:42:11 +0200717};
718
Neil Armstrongfafdbdf2016-12-01 10:05:58 +0100719&vpu {
720 compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
Neil Armstrong74d1c6e2017-11-20 15:19:54 +0100721 power-domains = <&pwrc_vpu>;
Neil Armstrongfafdbdf2016-12-01 10:05:58 +0100722};