1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Amlogic, Inc. All rights reserved.
6 #include <dt-bindings/phy/phy.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/clock/g12a-clkc.h>
9 #include <dt-bindings/clock/g12a-aoclkc.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h>
13 #include <dt-bindings/thermal/thermal.h>
16 interrupt-parent = <&gic>;
25 simplefb_cvbs: framebuffer-cvbs {
26 compatible = "amlogic,simple-framebuffer",
28 amlogic,pipeline = "vpu-cvbs";
29 clocks = <&clkc CLKID_HDMI>,
30 <&clkc CLKID_HTX_PCLK>,
31 <&clkc CLKID_VPU_INTR>;
35 simplefb_hdmi: framebuffer-hdmi {
36 compatible = "amlogic,simple-framebuffer",
38 amlogic,pipeline = "vpu-hdmi";
39 clocks = <&clkc CLKID_HDMI>,
40 <&clkc CLKID_HTX_PCLK>,
41 <&clkc CLKID_VPU_INTR>;
47 compatible = "amlogic,meson-gxbb-efuse";
48 clocks = <&clkc CLKID_EFUSE>;
52 secure-monitor = <&sm>;
55 gpu_opp_table: gpu-opp-table {
56 compatible = "operating-points-v2";
59 opp-hz = /bits/ 64 <124999998>;
60 opp-microvolt = <800000>;
63 opp-hz = /bits/ 64 <249999996>;
64 opp-microvolt = <800000>;
67 opp-hz = /bits/ 64 <285714281>;
68 opp-microvolt = <800000>;
71 opp-hz = /bits/ 64 <399999994>;
72 opp-microvolt = <800000>;
75 opp-hz = /bits/ 64 <499999992>;
76 opp-microvolt = <800000>;
79 opp-hz = /bits/ 64 <666666656>;
80 opp-microvolt = <800000>;
83 opp-hz = /bits/ 64 <799999987>;
84 opp-microvolt = <800000>;
89 compatible = "arm,psci-1.0";
98 /* 3 MiB reserved for ARM Trusted Firmware (BL31) */
99 secmon_reserved: secmon@5000000 {
100 reg = <0x0 0x05000000 0x0 0x300000>;
105 compatible = "shared-dma-pool";
107 size = <0x0 0x10000000>;
108 alignment = <0x0 0x400000>;
114 compatible = "amlogic,meson-gxbb-sm";
118 compatible = "simple-bus";
119 #address-cells = <2>;
123 pcie: pcie@fc000000 {
124 compatible = "amlogic,g12a-pcie", "snps,dw-pcie";
125 reg = <0x0 0xfc000000 0x0 0x400000
126 0x0 0xff648000 0x0 0x2000
127 0x0 0xfc400000 0x0 0x200000>;
128 reg-names = "elbi", "cfg", "config";
129 interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
130 #interrupt-cells = <1>;
131 interrupt-map-mask = <0 0 0 0>;
132 interrupt-map = <0 0 0 0 &gic GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
133 bus-range = <0x0 0xff>;
134 #address-cells = <3>;
137 ranges = <0x81000000 0 0 0x0 0xfc600000 0 0x00100000
138 0x82000000 0 0xfc700000 0x0 0xfc700000 0 0x1900000>;
140 clocks = <&clkc CLKID_PCIE_PHY
141 &clkc CLKID_PCIE_COMB
142 &clkc CLKID_PCIE_PLL>;
143 clock-names = "general",
146 resets = <&reset RESET_PCIE_CTRL_A>,
147 <&reset RESET_PCIE_APB>;
148 reset-names = "port",
151 phys = <&usb3_pcie_phy PHY_TYPE_PCIE>;
157 cpu_thermal: cpu-thermal {
158 polling-delay = <1000>;
159 polling-delay-passive = <100>;
160 thermal-sensors = <&cpu_temp>;
163 cpu_passive: cpu-passive {
164 temperature = <85000>; /* millicelsius */
165 hysteresis = <2000>; /* millicelsius */
170 temperature = <95000>; /* millicelsius */
171 hysteresis = <2000>; /* millicelsius */
175 cpu_critical: cpu-critical {
176 temperature = <110000>; /* millicelsius */
177 hysteresis = <2000>; /* millicelsius */
183 ddr_thermal: ddr-thermal {
184 polling-delay = <1000>;
185 polling-delay-passive = <100>;
186 thermal-sensors = <&ddr_temp>;
189 ddr_passive: ddr-passive {
190 temperature = <85000>; /* millicelsius */
191 hysteresis = <2000>; /* millicelsius */
195 ddr_critical: ddr-critical {
196 temperature = <110000>; /* millicelsius */
197 hysteresis = <2000>; /* millicelsius */
204 trip = <&ddr_passive>;
205 cooling-device = <&mali THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
211 ethmac: ethernet@ff3f0000 {
212 compatible = "amlogic,meson-g12a-dwmac",
215 reg = <0x0 0xff3f0000 0x0 0x10000>,
216 <0x0 0xff634540 0x0 0x8>;
217 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
218 interrupt-names = "macirq";
219 clocks = <&clkc CLKID_ETH>,
220 <&clkc CLKID_FCLK_DIV2>,
222 <&clkc CLKID_FCLK_DIV2>;
223 clock-names = "stmmaceth", "clkin0", "clkin1",
225 rx-fifo-depth = <4096>;
226 tx-fifo-depth = <2048>;
227 resets = <&reset RESET_ETHERNET>;
228 reset-names = "stmmaceth";
232 #address-cells = <1>;
234 compatible = "snps,dwmac-mdio";
239 compatible = "simple-bus";
240 reg = <0x0 0xff600000 0x0 0x200000>;
241 #address-cells = <2>;
243 ranges = <0x0 0x0 0x0 0xff600000 0x0 0x200000>;
246 compatible = "amlogic,meson-g12a-dw-hdmi";
247 reg = <0x0 0x0 0x0 0x10000>;
248 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
249 resets = <&reset RESET_HDMITX_CAPB3>,
250 <&reset RESET_HDMITX_PHY>,
251 <&reset RESET_HDMITX>;
252 reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
253 clocks = <&clkc CLKID_HDMI>,
254 <&clkc CLKID_HTX_PCLK>,
255 <&clkc CLKID_VPU_INTR>;
256 clock-names = "isfr", "iahb", "venci";
257 #address-cells = <1>;
259 #sound-dai-cells = <0>;
263 hdmi_tx_venc_port: port@0 {
266 hdmi_tx_in: endpoint {
267 remote-endpoint = <&hdmi_tx_out>;
272 hdmi_tx_tmds_port: port@1 {
277 apb_efuse: bus@30000 {
278 compatible = "simple-bus";
279 reg = <0x0 0x30000 0x0 0x2000>;
280 #address-cells = <2>;
282 ranges = <0x0 0x0 0x0 0x30000 0x0 0x2000>;
285 compatible = "amlogic,meson-rng";
286 reg = <0x0 0x218 0x0 0x4>;
287 clocks = <&clkc CLKID_RNG0>;
288 clock-names = "core";
292 acodec: audio-controller@32000 {
293 compatible = "amlogic,t9015";
294 reg = <0x0 0x32000 0x0 0x14>;
295 #sound-dai-cells = <0>;
296 sound-name-prefix = "ACODEC";
297 clocks = <&clkc CLKID_AUDIO_CODEC>;
298 clock-names = "pclk";
299 resets = <&reset RESET_AUDIO_CODEC>;
304 compatible = "simple-bus";
305 reg = <0x0 0x34400 0x0 0x400>;
306 #address-cells = <2>;
308 ranges = <0x0 0x0 0x0 0x34400 0x0 0x400>;
310 periphs_pinctrl: pinctrl@40 {
311 compatible = "amlogic,meson-g12a-periphs-pinctrl";
312 #address-cells = <2>;
317 reg = <0x0 0x40 0x0 0x4c>,
319 <0x0 0x120 0x0 0x18>,
320 <0x0 0x2c0 0x0 0x40>,
321 <0x0 0x340 0x0 0x1c>;
329 gpio-ranges = <&periphs_pinctrl 0 0 86>;
332 cec_ao_a_h_pins: cec_ao_a_h {
334 groups = "cec_ao_a_h";
335 function = "cec_ao_a_h";
340 cec_ao_b_h_pins: cec_ao_b_h {
342 groups = "cec_ao_b_h";
343 function = "cec_ao_b_h";
348 emmc_ctrl_pins: emmc-ctrl {
353 drive-strength-microamp = <4000>;
360 drive-strength-microamp = <4000>;
364 emmc_data_4b_pins: emmc-data-4b {
366 groups = "emmc_nand_d0",
372 drive-strength-microamp = <4000>;
376 emmc_data_8b_pins: emmc-data-8b {
378 groups = "emmc_nand_d0",
388 drive-strength-microamp = <4000>;
392 emmc_ds_pins: emmc-ds {
394 groups = "emmc_nand_ds";
397 drive-strength-microamp = <4000>;
401 emmc_clk_gate_pins: emmc_clk_gate {
404 function = "gpio_periphs";
406 drive-strength-microamp = <4000>;
410 hdmitx_ddc_pins: hdmitx_ddc {
412 groups = "hdmitx_sda",
416 drive-strength-microamp = <4000>;
420 hdmitx_hpd_pins: hdmitx_hpd {
422 groups = "hdmitx_hpd_in";
429 i2c0_sda_c_pins: i2c0-sda-c {
431 groups = "i2c0_sda_c";
434 drive-strength-microamp = <3000>;
439 i2c0_sck_c_pins: i2c0-sck-c {
441 groups = "i2c0_sck_c";
444 drive-strength-microamp = <3000>;
448 i2c0_sda_z0_pins: i2c0-sda-z0 {
450 groups = "i2c0_sda_z0";
453 drive-strength-microamp = <3000>;
457 i2c0_sck_z1_pins: i2c0-sck-z1 {
459 groups = "i2c0_sck_z1";
462 drive-strength-microamp = <3000>;
466 i2c0_sda_z7_pins: i2c0-sda-z7 {
468 groups = "i2c0_sda_z7";
471 drive-strength-microamp = <3000>;
475 i2c0_sda_z8_pins: i2c0-sda-z8 {
477 groups = "i2c0_sda_z8";
480 drive-strength-microamp = <3000>;
484 i2c1_sda_x_pins: i2c1-sda-x {
486 groups = "i2c1_sda_x";
489 drive-strength-microamp = <3000>;
493 i2c1_sck_x_pins: i2c1-sck-x {
495 groups = "i2c1_sck_x";
498 drive-strength-microamp = <3000>;
502 i2c1_sda_h2_pins: i2c1-sda-h2 {
504 groups = "i2c1_sda_h2";
507 drive-strength-microamp = <3000>;
511 i2c1_sck_h3_pins: i2c1-sck-h3 {
513 groups = "i2c1_sck_h3";
516 drive-strength-microamp = <3000>;
520 i2c1_sda_h6_pins: i2c1-sda-h6 {
522 groups = "i2c1_sda_h6";
525 drive-strength-microamp = <3000>;
529 i2c1_sck_h7_pins: i2c1-sck-h7 {
531 groups = "i2c1_sck_h7";
534 drive-strength-microamp = <3000>;
538 i2c2_sda_x_pins: i2c2-sda-x {
540 groups = "i2c2_sda_x";
543 drive-strength-microamp = <3000>;
547 i2c2_sck_x_pins: i2c2-sck-x {
549 groups = "i2c2_sck_x";
552 drive-strength-microamp = <3000>;
556 i2c2_sda_z_pins: i2c2-sda-z {
558 groups = "i2c2_sda_z";
561 drive-strength-microamp = <3000>;
565 i2c2_sck_z_pins: i2c2-sck-z {
567 groups = "i2c2_sck_z";
570 drive-strength-microamp = <3000>;
574 i2c3_sda_h_pins: i2c3-sda-h {
576 groups = "i2c3_sda_h";
579 drive-strength-microamp = <3000>;
583 i2c3_sck_h_pins: i2c3-sck-h {
585 groups = "i2c3_sck_h";
588 drive-strength-microamp = <3000>;
592 i2c3_sda_a_pins: i2c3-sda-a {
594 groups = "i2c3_sda_a";
597 drive-strength-microamp = <3000>;
601 i2c3_sck_a_pins: i2c3-sck-a {
603 groups = "i2c3_sck_a";
606 drive-strength-microamp = <3000>;
610 mclk0_a_pins: mclk0-a {
615 drive-strength-microamp = <3000>;
619 mclk1_a_pins: mclk1-a {
624 drive-strength-microamp = <3000>;
628 mclk1_x_pins: mclk1-x {
633 drive-strength-microamp = <3000>;
637 mclk1_z_pins: mclk1-z {
642 drive-strength-microamp = <3000>;
657 pdm_din0_a_pins: pdm-din0-a {
659 groups = "pdm_din0_a";
665 pdm_din0_c_pins: pdm-din0-c {
667 groups = "pdm_din0_c";
673 pdm_din0_x_pins: pdm-din0-x {
675 groups = "pdm_din0_x";
681 pdm_din0_z_pins: pdm-din0-z {
683 groups = "pdm_din0_z";
689 pdm_din1_a_pins: pdm-din1-a {
691 groups = "pdm_din1_a";
697 pdm_din1_c_pins: pdm-din1-c {
699 groups = "pdm_din1_c";
705 pdm_din1_x_pins: pdm-din1-x {
707 groups = "pdm_din1_x";
713 pdm_din1_z_pins: pdm-din1-z {
715 groups = "pdm_din1_z";
721 pdm_din2_a_pins: pdm-din2-a {
723 groups = "pdm_din2_a";
729 pdm_din2_c_pins: pdm-din2-c {
731 groups = "pdm_din2_c";
737 pdm_din2_x_pins: pdm-din2-x {
739 groups = "pdm_din2_x";
745 pdm_din2_z_pins: pdm-din2-z {
747 groups = "pdm_din2_z";
753 pdm_din3_a_pins: pdm-din3-a {
755 groups = "pdm_din3_a";
761 pdm_din3_c_pins: pdm-din3-c {
763 groups = "pdm_din3_c";
769 pdm_din3_x_pins: pdm-din3-x {
771 groups = "pdm_din3_x";
777 pdm_din3_z_pins: pdm-din3-z {
779 groups = "pdm_din3_z";
785 pdm_dclk_a_pins: pdm-dclk-a {
787 groups = "pdm_dclk_a";
790 drive-strength-microamp = <500>;
794 pdm_dclk_c_pins: pdm-dclk-c {
796 groups = "pdm_dclk_c";
799 drive-strength-microamp = <500>;
803 pdm_dclk_x_pins: pdm-dclk-x {
805 groups = "pdm_dclk_x";
808 drive-strength-microamp = <500>;
812 pdm_dclk_z_pins: pdm-dclk-z {
814 groups = "pdm_dclk_z";
817 drive-strength-microamp = <500>;
829 pwm_b_x7_pins: pwm-b-x7 {
837 pwm_b_x19_pins: pwm-b-x19 {
839 groups = "pwm_b_x19";
845 pwm_c_c_pins: pwm-c-c {
853 pwm_c_x5_pins: pwm-c-x5 {
861 pwm_c_x8_pins: pwm-c-x8 {
869 pwm_d_x3_pins: pwm-d-x3 {
877 pwm_d_x6_pins: pwm-d-x6 {
893 pwm_f_x_pins: pwm-f-x {
901 pwm_f_h_pins: pwm-f-h {
909 sdcard_c_pins: sdcard_c {
911 groups = "sdcard_d0_c",
918 drive-strength-microamp = <4000>;
922 groups = "sdcard_clk_c";
925 drive-strength-microamp = <4000>;
929 sdcard_clk_gate_c_pins: sdcard_clk_gate_c {
932 function = "gpio_periphs";
934 drive-strength-microamp = <4000>;
938 sdcard_z_pins: sdcard_z {
940 groups = "sdcard_d0_z",
947 drive-strength-microamp = <4000>;
951 groups = "sdcard_clk_z";
954 drive-strength-microamp = <4000>;
958 sdcard_clk_gate_z_pins: sdcard_clk_gate_z {
961 function = "gpio_periphs";
963 drive-strength-microamp = <4000>;
977 drive-strength-microamp = <4000>;
981 sdio_clk_gate_pins: sdio_clk_gate {
984 function = "gpio_periphs";
986 drive-strength-microamp = <4000>;
990 spdif_in_a10_pins: spdif-in-a10 {
992 groups = "spdif_in_a10";
993 function = "spdif_in";
998 spdif_in_a12_pins: spdif-in-a12 {
1000 groups = "spdif_in_a12";
1001 function = "spdif_in";
1006 spdif_in_h_pins: spdif-in-h {
1008 groups = "spdif_in_h";
1009 function = "spdif_in";
1014 spdif_out_h_pins: spdif-out-h {
1016 groups = "spdif_out_h";
1017 function = "spdif_out";
1018 drive-strength-microamp = <500>;
1023 spdif_out_a11_pins: spdif-out-a11 {
1025 groups = "spdif_out_a11";
1026 function = "spdif_out";
1027 drive-strength-microamp = <500>;
1032 spdif_out_a13_pins: spdif-out-a13 {
1034 groups = "spdif_out_a13";
1035 function = "spdif_out";
1036 drive-strength-microamp = <500>;
1041 spicc0_x_pins: spicc0-x {
1043 groups = "spi0_mosi_x",
1047 drive-strength-microamp = <4000>;
1052 spicc0_ss0_x_pins: spicc0-ss0-x {
1054 groups = "spi0_ss0_x";
1056 drive-strength-microamp = <4000>;
1061 spicc0_c_pins: spicc0-c {
1063 groups = "spi0_mosi_c",
1068 drive-strength-microamp = <4000>;
1073 spicc1_pins: spicc1 {
1075 groups = "spi1_mosi",
1079 drive-strength-microamp = <4000>;
1083 spicc1_ss0_pins: spicc1-ss0 {
1085 groups = "spi1_ss0";
1087 drive-strength-microamp = <4000>;
1092 tdm_a_din0_pins: tdm-a-din0 {
1094 groups = "tdm_a_din0";
1101 tdm_a_din1_pins: tdm-a-din1 {
1103 groups = "tdm_a_din1";
1109 tdm_a_dout0_pins: tdm-a-dout0 {
1111 groups = "tdm_a_dout0";
1114 drive-strength-microamp = <3000>;
1118 tdm_a_dout1_pins: tdm-a-dout1 {
1120 groups = "tdm_a_dout1";
1123 drive-strength-microamp = <3000>;
1127 tdm_a_fs_pins: tdm-a-fs {
1129 groups = "tdm_a_fs";
1132 drive-strength-microamp = <3000>;
1136 tdm_a_sclk_pins: tdm-a-sclk {
1138 groups = "tdm_a_sclk";
1141 drive-strength-microamp = <3000>;
1145 tdm_a_slv_fs_pins: tdm-a-slv-fs {
1147 groups = "tdm_a_slv_fs";
1154 tdm_a_slv_sclk_pins: tdm-a-slv-sclk {
1156 groups = "tdm_a_slv_sclk";
1162 tdm_b_din0_pins: tdm-b-din0 {
1164 groups = "tdm_b_din0";
1170 tdm_b_din1_pins: tdm-b-din1 {
1172 groups = "tdm_b_din1";
1178 tdm_b_din2_pins: tdm-b-din2 {
1180 groups = "tdm_b_din2";
1186 tdm_b_din3_a_pins: tdm-b-din3-a {
1188 groups = "tdm_b_din3_a";
1194 tdm_b_din3_h_pins: tdm-b-din3-h {
1196 groups = "tdm_b_din3_h";
1202 tdm_b_dout0_pins: tdm-b-dout0 {
1204 groups = "tdm_b_dout0";
1207 drive-strength-microamp = <3000>;
1211 tdm_b_dout1_pins: tdm-b-dout1 {
1213 groups = "tdm_b_dout1";
1216 drive-strength-microamp = <3000>;
1220 tdm_b_dout2_pins: tdm-b-dout2 {
1222 groups = "tdm_b_dout2";
1225 drive-strength-microamp = <3000>;
1229 tdm_b_dout3_a_pins: tdm-b-dout3-a {
1231 groups = "tdm_b_dout3_a";
1234 drive-strength-microamp = <3000>;
1238 tdm_b_dout3_h_pins: tdm-b-dout3-h {
1240 groups = "tdm_b_dout3_h";
1243 drive-strength-microamp = <3000>;
1247 tdm_b_fs_pins: tdm-b-fs {
1249 groups = "tdm_b_fs";
1252 drive-strength-microamp = <3000>;
1256 tdm_b_sclk_pins: tdm-b-sclk {
1258 groups = "tdm_b_sclk";
1261 drive-strength-microamp = <3000>;
1265 tdm_b_slv_fs_pins: tdm-b-slv-fs {
1267 groups = "tdm_b_slv_fs";
1273 tdm_b_slv_sclk_pins: tdm-b-slv-sclk {
1275 groups = "tdm_b_slv_sclk";
1281 tdm_c_din0_a_pins: tdm-c-din0-a {
1283 groups = "tdm_c_din0_a";
1289 tdm_c_din0_z_pins: tdm-c-din0-z {
1291 groups = "tdm_c_din0_z";
1297 tdm_c_din1_a_pins: tdm-c-din1-a {
1299 groups = "tdm_c_din1_a";
1305 tdm_c_din1_z_pins: tdm-c-din1-z {
1307 groups = "tdm_c_din1_z";
1313 tdm_c_din2_a_pins: tdm-c-din2-a {
1315 groups = "tdm_c_din2_a";
1321 eth_leds_pins: eth-leds {
1323 groups = "eth_link_led",
1332 groups = "eth_mdio",
1342 drive-strength-microamp = <4000>;
1347 eth_rgmii_pins: eth-rgmii {
1349 groups = "eth_rxd2_rgmii",
1355 drive-strength-microamp = <4000>;
1360 tdm_c_din2_z_pins: tdm-c-din2-z {
1362 groups = "tdm_c_din2_z";
1368 tdm_c_din3_a_pins: tdm-c-din3-a {
1370 groups = "tdm_c_din3_a";
1376 tdm_c_din3_z_pins: tdm-c-din3-z {
1378 groups = "tdm_c_din3_z";
1384 tdm_c_dout0_a_pins: tdm-c-dout0-a {
1386 groups = "tdm_c_dout0_a";
1389 drive-strength-microamp = <3000>;
1393 tdm_c_dout0_z_pins: tdm-c-dout0-z {
1395 groups = "tdm_c_dout0_z";
1398 drive-strength-microamp = <3000>;
1402 tdm_c_dout1_a_pins: tdm-c-dout1-a {
1404 groups = "tdm_c_dout1_a";
1407 drive-strength-microamp = <3000>;
1411 tdm_c_dout1_z_pins: tdm-c-dout1-z {
1413 groups = "tdm_c_dout1_z";
1416 drive-strength-microamp = <3000>;
1420 tdm_c_dout2_a_pins: tdm-c-dout2-a {
1422 groups = "tdm_c_dout2_a";
1425 drive-strength-microamp = <3000>;
1429 tdm_c_dout2_z_pins: tdm-c-dout2-z {
1431 groups = "tdm_c_dout2_z";
1434 drive-strength-microamp = <3000>;
1438 tdm_c_dout3_a_pins: tdm-c-dout3-a {
1440 groups = "tdm_c_dout3_a";
1443 drive-strength-microamp = <3000>;
1447 tdm_c_dout3_z_pins: tdm-c-dout3-z {
1449 groups = "tdm_c_dout3_z";
1452 drive-strength-microamp = <3000>;
1456 tdm_c_fs_a_pins: tdm-c-fs-a {
1458 groups = "tdm_c_fs_a";
1461 drive-strength-microamp = <3000>;
1465 tdm_c_fs_z_pins: tdm-c-fs-z {
1467 groups = "tdm_c_fs_z";
1470 drive-strength-microamp = <3000>;
1474 tdm_c_sclk_a_pins: tdm-c-sclk-a {
1476 groups = "tdm_c_sclk_a";
1479 drive-strength-microamp = <3000>;
1483 tdm_c_sclk_z_pins: tdm-c-sclk-z {
1485 groups = "tdm_c_sclk_z";
1488 drive-strength-microamp = <3000>;
1492 tdm_c_slv_fs_a_pins: tdm-c-slv-fs-a {
1494 groups = "tdm_c_slv_fs_a";
1500 tdm_c_slv_fs_z_pins: tdm-c-slv-fs-z {
1502 groups = "tdm_c_slv_fs_z";
1508 tdm_c_slv_sclk_a_pins: tdm-c-slv-sclk-a {
1510 groups = "tdm_c_slv_sclk_a";
1516 tdm_c_slv_sclk_z_pins: tdm-c-slv-sclk-z {
1518 groups = "tdm_c_slv_sclk_z";
1524 uart_a_pins: uart-a {
1526 groups = "uart_a_tx",
1528 function = "uart_a";
1533 uart_a_cts_rts_pins: uart-a-cts-rts {
1535 groups = "uart_a_cts",
1537 function = "uart_a";
1542 uart_b_pins: uart-b {
1544 groups = "uart_b_tx",
1546 function = "uart_b";
1551 uart_c_pins: uart-c {
1553 groups = "uart_c_tx",
1555 function = "uart_c";
1560 uart_c_cts_rts_pins: uart-c-cts-rts {
1562 groups = "uart_c_cts",
1564 function = "uart_c";
1571 cpu_temp: temperature-sensor@34800 {
1572 compatible = "amlogic,g12a-cpu-thermal",
1573 "amlogic,g12a-thermal";
1574 reg = <0x0 0x34800 0x0 0x50>;
1575 interrupts = <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>;
1576 clocks = <&clkc CLKID_TS>;
1577 #thermal-sensor-cells = <0>;
1578 amlogic,ao-secure = <&sec_AO>;
1581 ddr_temp: temperature-sensor@34c00 {
1582 compatible = "amlogic,g12a-ddr-thermal",
1583 "amlogic,g12a-thermal";
1584 reg = <0x0 0x34c00 0x0 0x50>;
1585 interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>;
1586 clocks = <&clkc CLKID_TS>;
1587 #thermal-sensor-cells = <0>;
1588 amlogic,ao-secure = <&sec_AO>;
1591 usb2_phy0: phy@36000 {
1592 compatible = "amlogic,g12a-usb2-phy";
1593 reg = <0x0 0x36000 0x0 0x2000>;
1595 clock-names = "xtal";
1596 resets = <&reset RESET_USB_PHY20>;
1597 reset-names = "phy";
1602 compatible = "simple-bus";
1603 reg = <0x0 0x38000 0x0 0x400>;
1604 #address-cells = <2>;
1606 ranges = <0x0 0x0 0x0 0x38000 0x0 0x400>;
1608 canvas: video-lut@48 {
1609 compatible = "amlogic,canvas";
1610 reg = <0x0 0x48 0x0 0x14>;
1614 usb2_phy1: phy@3a000 {
1615 compatible = "amlogic,g12a-usb2-phy";
1616 reg = <0x0 0x3a000 0x0 0x2000>;
1618 clock-names = "xtal";
1619 resets = <&reset RESET_USB_PHY21>;
1620 reset-names = "phy";
1625 compatible = "simple-bus";
1626 reg = <0x0 0x3c000 0x0 0x1400>;
1627 #address-cells = <2>;
1629 ranges = <0x0 0x0 0x0 0x3c000 0x0 0x1400>;
1631 hhi: system-controller@0 {
1632 compatible = "amlogic,meson-gx-hhi-sysctrl",
1633 "simple-mfd", "syscon";
1634 reg = <0 0 0 0x400>;
1636 clkc: clock-controller {
1637 compatible = "amlogic,g12a-clkc";
1640 clock-names = "xtal";
1643 pwrc: power-controller {
1644 compatible = "amlogic,meson-g12a-pwrc";
1645 #power-domain-cells = <1>;
1646 amlogic,ao-sysctrl = <&rti>;
1647 resets = <&reset RESET_VIU>,
1648 <&reset RESET_VENC>,
1649 <&reset RESET_VCBUS>,
1650 <&reset RESET_BT656>,
1651 <&reset RESET_RDMA>,
1652 <&reset RESET_VENCI>,
1653 <&reset RESET_VENCP>,
1654 <&reset RESET_VDAC>,
1655 <&reset RESET_VDI6>,
1656 <&reset RESET_VENCL>,
1657 <&reset RESET_VID_LOCK>;
1658 reset-names = "viu", "venc", "vcbus", "bt656",
1659 "rdma", "venci", "vencp", "vdac",
1660 "vdi6", "vencl", "vid_lock";
1661 clocks = <&clkc CLKID_VPU>,
1663 clock-names = "vpu", "vapb";
1665 * VPU clocking is provided by two identical clock paths
1666 * VPU_0 and VPU_1 muxed to a single clock by a glitch
1667 * free mux to safely change frequency while running.
1668 * Same for VAPB but with a final gate after the glitch free mux.
1670 assigned-clocks = <&clkc CLKID_VPU_0_SEL>,
1671 <&clkc CLKID_VPU_0>,
1672 <&clkc CLKID_VPU>, /* Glitch free mux */
1673 <&clkc CLKID_VAPB_0_SEL>,
1674 <&clkc CLKID_VAPB_0>,
1675 <&clkc CLKID_VAPB_SEL>; /* Glitch free mux */
1676 assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
1677 <0>, /* Do Nothing */
1678 <&clkc CLKID_VPU_0>,
1679 <&clkc CLKID_FCLK_DIV4>,
1680 <0>, /* Do Nothing */
1681 <&clkc CLKID_VAPB_0>;
1682 assigned-clock-rates = <0>, /* Do Nothing */
1684 <0>, /* Do Nothing */
1685 <0>, /* Do Nothing */
1687 <0>; /* Do Nothing */
1692 usb3_pcie_phy: phy@46000 {
1693 compatible = "amlogic,g12a-usb3-pcie-phy";
1694 reg = <0x0 0x46000 0x0 0x2000>;
1695 clocks = <&clkc CLKID_PCIE_PLL>;
1696 clock-names = "ref_clk";
1697 resets = <&reset RESET_PCIE_PHY>;
1698 reset-names = "phy";
1699 assigned-clocks = <&clkc CLKID_PCIE_PLL>;
1700 assigned-clock-rates = <100000000>;
1704 eth_phy: mdio-multiplexer@4c000 {
1705 compatible = "amlogic,g12a-mdio-mux";
1706 reg = <0x0 0x4c000 0x0 0xa4>;
1707 clocks = <&clkc CLKID_ETH_PHY>,
1709 <&clkc CLKID_MPLL_50M>;
1710 clock-names = "pclk", "clkin0", "clkin1";
1711 mdio-parent-bus = <&mdio0>;
1712 #address-cells = <1>;
1717 #address-cells = <1>;
1723 #address-cells = <1>;
1726 internal_ephy: ethernet_phy@8 {
1727 compatible = "ethernet-phy-id0180.3301",
1728 "ethernet-phy-ieee802.3-c22";
1729 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1737 aobus: bus@ff800000 {
1738 compatible = "simple-bus";
1739 reg = <0x0 0xff800000 0x0 0x100000>;
1740 #address-cells = <2>;
1742 ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
1745 compatible = "amlogic,meson-gx-ao-sysctrl",
1746 "simple-mfd", "syscon";
1747 reg = <0x0 0x0 0x0 0x100>;
1748 #address-cells = <2>;
1750 ranges = <0x0 0x0 0x0 0x0 0x0 0x100>;
1752 clkc_AO: clock-controller {
1753 compatible = "amlogic,meson-g12a-aoclkc";
1756 clocks = <&xtal>, <&clkc CLKID_CLK81>;
1757 clock-names = "xtal", "mpeg-clk";
1760 ao_pinctrl: pinctrl@14 {
1761 compatible = "amlogic,meson-g12a-aobus-pinctrl";
1762 #address-cells = <2>;
1767 reg = <0x0 0x14 0x0 0x8>,
1769 <0x0 0x24 0x0 0x14>;
1775 gpio-ranges = <&ao_pinctrl 0 0 15>;
1778 i2c_ao_sck_pins: i2c_ao_sck_pins {
1780 groups = "i2c_ao_sck";
1781 function = "i2c_ao";
1783 drive-strength-microamp = <3000>;
1787 i2c_ao_sda_pins: i2c_ao_sda {
1789 groups = "i2c_ao_sda";
1790 function = "i2c_ao";
1792 drive-strength-microamp = <3000>;
1796 i2c_ao_sck_e_pins: i2c_ao_sck_e {
1798 groups = "i2c_ao_sck_e";
1799 function = "i2c_ao";
1801 drive-strength-microamp = <3000>;
1805 i2c_ao_sda_e_pins: i2c_ao_sda_e {
1807 groups = "i2c_ao_sda_e";
1808 function = "i2c_ao";
1810 drive-strength-microamp = <3000>;
1814 mclk0_ao_pins: mclk0-ao {
1816 groups = "mclk0_ao";
1817 function = "mclk0_ao";
1819 drive-strength-microamp = <3000>;
1823 tdm_ao_b_din0_pins: tdm-ao-b-din0 {
1825 groups = "tdm_ao_b_din0";
1826 function = "tdm_ao_b";
1831 spdif_ao_out_pins: spdif-ao-out {
1833 groups = "spdif_ao_out";
1834 function = "spdif_ao_out";
1835 drive-strength-microamp = <500>;
1840 tdm_ao_b_din1_pins: tdm-ao-b-din1 {
1842 groups = "tdm_ao_b_din1";
1843 function = "tdm_ao_b";
1848 tdm_ao_b_din2_pins: tdm-ao-b-din2 {
1850 groups = "tdm_ao_b_din2";
1851 function = "tdm_ao_b";
1856 tdm_ao_b_dout0_pins: tdm-ao-b-dout0 {
1858 groups = "tdm_ao_b_dout0";
1859 function = "tdm_ao_b";
1861 drive-strength-microamp = <3000>;
1865 tdm_ao_b_dout1_pins: tdm-ao-b-dout1 {
1867 groups = "tdm_ao_b_dout1";
1868 function = "tdm_ao_b";
1870 drive-strength-microamp = <3000>;
1874 tdm_ao_b_dout2_pins: tdm-ao-b-dout2 {
1876 groups = "tdm_ao_b_dout2";
1877 function = "tdm_ao_b";
1879 drive-strength-microamp = <3000>;
1883 tdm_ao_b_fs_pins: tdm-ao-b-fs {
1885 groups = "tdm_ao_b_fs";
1886 function = "tdm_ao_b";
1888 drive-strength-microamp = <3000>;
1892 tdm_ao_b_sclk_pins: tdm-ao-b-sclk {
1894 groups = "tdm_ao_b_sclk";
1895 function = "tdm_ao_b";
1897 drive-strength-microamp = <3000>;
1901 tdm_ao_b_slv_fs_pins: tdm-ao-b-slv-fs {
1903 groups = "tdm_ao_b_slv_fs";
1904 function = "tdm_ao_b";
1909 tdm_ao_b_slv_sclk_pins: tdm-ao-b-slv-sclk {
1911 groups = "tdm_ao_b_slv_sclk";
1912 function = "tdm_ao_b";
1917 uart_ao_a_pins: uart-a-ao {
1919 groups = "uart_ao_a_tx",
1921 function = "uart_ao_a";
1926 uart_ao_a_cts_rts_pins: uart-ao-a-cts-rts {
1928 groups = "uart_ao_a_cts",
1930 function = "uart_ao_a";
1935 pwm_a_e_pins: pwm-a-e {
1938 function = "pwm_a_e";
1943 pwm_ao_a_pins: pwm-ao-a {
1945 groups = "pwm_ao_a";
1946 function = "pwm_ao_a";
1951 pwm_ao_b_pins: pwm-ao-b {
1953 groups = "pwm_ao_b";
1954 function = "pwm_ao_b";
1959 pwm_ao_c_4_pins: pwm-ao-c-4 {
1961 groups = "pwm_ao_c_4";
1962 function = "pwm_ao_c";
1967 pwm_ao_c_6_pins: pwm-ao-c-6 {
1969 groups = "pwm_ao_c_6";
1970 function = "pwm_ao_c";
1975 pwm_ao_d_5_pins: pwm-ao-d-5 {
1977 groups = "pwm_ao_d_5";
1978 function = "pwm_ao_d";
1983 pwm_ao_d_10_pins: pwm-ao-d-10 {
1985 groups = "pwm_ao_d_10";
1986 function = "pwm_ao_d";
1991 pwm_ao_d_e_pins: pwm-ao-d-e {
1993 groups = "pwm_ao_d_e";
1994 function = "pwm_ao_d";
1998 remote_input_ao_pins: remote-input-ao {
2000 groups = "remote_ao_input";
2001 function = "remote_ao_input";
2009 compatible = "amlogic,meson-vrtc";
2010 reg = <0x0 0x000a8 0x0 0x4>;
2014 compatible = "amlogic,meson-gx-ao-cec";
2015 reg = <0x0 0x00100 0x0 0x14>;
2016 interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
2017 clocks = <&clkc_AO CLKID_AO_CEC>;
2018 clock-names = "core";
2019 status = "disabled";
2022 sec_AO: ao-secure@140 {
2023 compatible = "amlogic,meson-gx-ao-secure", "syscon";
2024 reg = <0x0 0x140 0x0 0x140>;
2025 amlogic,has-chip-id;
2029 compatible = "amlogic,meson-g12a-ao-cec";
2030 reg = <0x0 0x00280 0x0 0x1c>;
2031 interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
2032 clocks = <&clkc_AO CLKID_AO_CTS_OSCIN>;
2033 clock-names = "oscin";
2034 status = "disabled";
2037 pwm_AO_cd: pwm@2000 {
2038 compatible = "amlogic,meson-g12a-ao-pwm-cd";
2039 reg = <0x0 0x2000 0x0 0x20>;
2041 status = "disabled";
2044 uart_AO: serial@3000 {
2045 compatible = "amlogic,meson-gx-uart",
2046 "amlogic,meson-ao-uart";
2047 reg = <0x0 0x3000 0x0 0x18>;
2048 interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
2049 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART>, <&xtal>;
2050 clock-names = "xtal", "pclk", "baud";
2051 status = "disabled";
2054 uart_AO_B: serial@4000 {
2055 compatible = "amlogic,meson-gx-uart",
2056 "amlogic,meson-ao-uart";
2057 reg = <0x0 0x4000 0x0 0x18>;
2058 interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
2059 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
2060 clock-names = "xtal", "pclk", "baud";
2061 status = "disabled";
2065 compatible = "amlogic,meson-axg-i2c";
2066 status = "disabled";
2067 reg = <0x0 0x05000 0x0 0x20>;
2068 interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
2069 #address-cells = <1>;
2071 clocks = <&clkc CLKID_I2C>;
2074 pwm_AO_ab: pwm@7000 {
2075 compatible = "amlogic,meson-g12a-ao-pwm-ab";
2076 reg = <0x0 0x7000 0x0 0x20>;
2078 status = "disabled";
2082 compatible = "amlogic,meson-gxbb-ir";
2083 reg = <0x0 0x8000 0x0 0x20>;
2084 interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
2085 status = "disabled";
2089 compatible = "amlogic,meson-g12a-saradc",
2090 "amlogic,meson-saradc";
2091 reg = <0x0 0x9000 0x0 0x48>;
2092 #io-channel-cells = <1>;
2093 interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>;
2095 <&clkc_AO CLKID_AO_SAR_ADC>,
2096 <&clkc_AO CLKID_AO_SAR_ADC_CLK>,
2097 <&clkc_AO CLKID_AO_SAR_ADC_SEL>;
2098 clock-names = "clkin", "core", "adc_clk", "adc_sel";
2099 status = "disabled";
2103 vdec: video-decoder@ff620000 {
2104 compatible = "amlogic,g12a-vdec";
2105 reg = <0x0 0xff620000 0x0 0x10000>,
2106 <0x0 0xffd0e180 0x0 0xe4>;
2107 reg-names = "dos", "esparser";
2108 interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
2109 <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
2110 interrupt-names = "vdec", "esparser";
2112 amlogic,ao-sysctrl = <&rti>;
2113 amlogic,canvas = <&canvas>;
2115 clocks = <&clkc CLKID_PARSER>,
2117 <&clkc CLKID_VDEC_1>,
2118 <&clkc CLKID_VDEC_HEVC>,
2119 <&clkc CLKID_VDEC_HEVCF>;
2120 clock-names = "dos_parser", "dos", "vdec_1",
2121 "vdec_hevc", "vdec_hevcf";
2122 resets = <&reset RESET_PARSER>;
2123 reset-names = "esparser";
2127 compatible = "amlogic,meson-g12a-vpu";
2128 reg = <0x0 0xff900000 0x0 0x100000>,
2129 <0x0 0xff63c000 0x0 0x1000>;
2130 reg-names = "vpu", "hhi";
2131 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
2132 #address-cells = <1>;
2134 amlogic,canvas = <&canvas>;
2136 /* CVBS VDAC output port */
2137 cvbs_vdac_port: port@0 {
2141 /* HDMI-TX output port */
2142 hdmi_tx_port: port@1 {
2145 hdmi_tx_out: endpoint {
2146 remote-endpoint = <&hdmi_tx_in>;
2151 gic: interrupt-controller@ffc01000 {
2152 compatible = "arm,gic-400";
2153 reg = <0x0 0xffc01000 0 0x1000>,
2154 <0x0 0xffc02000 0 0x2000>,
2155 <0x0 0xffc04000 0 0x2000>,
2156 <0x0 0xffc06000 0 0x2000>;
2157 interrupt-controller;
2158 interrupts = <GIC_PPI 9
2159 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
2160 #interrupt-cells = <3>;
2161 #address-cells = <0>;
2164 cbus: bus@ffd00000 {
2165 compatible = "simple-bus";
2166 reg = <0x0 0xffd00000 0x0 0x100000>;
2167 #address-cells = <2>;
2169 ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x100000>;
2171 reset: reset-controller@1004 {
2172 compatible = "amlogic,meson-axg-reset";
2173 reg = <0x0 0x1004 0x0 0x9c>;
2177 gpio_intc: interrupt-controller@f080 {
2178 compatible = "amlogic,meson-g12a-gpio-intc",
2179 "amlogic,meson-gpio-intc";
2180 reg = <0x0 0xf080 0x0 0x10>;
2181 interrupt-controller;
2182 #interrupt-cells = <2>;
2183 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
2186 watchdog: wdt@f0d0 {
2187 compatible = "amlogic,meson-gxbb-wdt";
2188 reg = <0x0 0xf0d0 0x0 0x10>;
2193 compatible = "amlogic,meson-g12a-spicc";
2194 reg = <0x0 0x13000 0x0 0x44>;
2195 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
2196 clocks = <&clkc CLKID_SPICC0>,
2197 <&clkc CLKID_SPICC0_SCLK>;
2198 clock-names = "core", "pclk";
2199 #address-cells = <1>;
2201 status = "disabled";
2205 compatible = "amlogic,meson-g12a-spicc";
2206 reg = <0x0 0x15000 0x0 0x44>;
2207 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
2208 clocks = <&clkc CLKID_SPICC1>,
2209 <&clkc CLKID_SPICC1_SCLK>;
2210 clock-names = "core", "pclk";
2211 #address-cells = <1>;
2213 status = "disabled";
2217 compatible = "amlogic,meson-gxbb-spifc";
2218 status = "disabled";
2219 reg = <0x0 0x14000 0x0 0x80>;
2220 #address-cells = <1>;
2222 clocks = <&clkc CLKID_CLK81>;
2226 compatible = "amlogic,meson-g12a-ee-pwm";
2227 reg = <0x0 0x19000 0x0 0x20>;
2229 status = "disabled";
2233 compatible = "amlogic,meson-g12a-ee-pwm";
2234 reg = <0x0 0x1a000 0x0 0x20>;
2236 status = "disabled";
2240 compatible = "amlogic,meson-g12a-ee-pwm";
2241 reg = <0x0 0x1b000 0x0 0x20>;
2243 status = "disabled";
2247 compatible = "amlogic,meson-axg-i2c";
2248 status = "disabled";
2249 reg = <0x0 0x1c000 0x0 0x20>;
2250 interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
2251 #address-cells = <1>;
2253 clocks = <&clkc CLKID_I2C>;
2257 compatible = "amlogic,meson-axg-i2c";
2258 status = "disabled";
2259 reg = <0x0 0x1d000 0x0 0x20>;
2260 interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
2261 #address-cells = <1>;
2263 clocks = <&clkc CLKID_I2C>;
2267 compatible = "amlogic,meson-axg-i2c";
2268 status = "disabled";
2269 reg = <0x0 0x1e000 0x0 0x20>;
2270 interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
2271 #address-cells = <1>;
2273 clocks = <&clkc CLKID_I2C>;
2277 compatible = "amlogic,meson-axg-i2c";
2278 status = "disabled";
2279 reg = <0x0 0x1f000 0x0 0x20>;
2280 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
2281 #address-cells = <1>;
2283 clocks = <&clkc CLKID_I2C>;
2286 clk_msr: clock-measure@18000 {
2287 compatible = "amlogic,meson-g12a-clk-measure";
2288 reg = <0x0 0x18000 0x0 0x10>;
2291 uart_C: serial@22000 {
2292 compatible = "amlogic,meson-gx-uart";
2293 reg = <0x0 0x22000 0x0 0x18>;
2294 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
2295 clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>;
2296 clock-names = "xtal", "pclk", "baud";
2297 status = "disabled";
2300 uart_B: serial@23000 {
2301 compatible = "amlogic,meson-gx-uart";
2302 reg = <0x0 0x23000 0x0 0x18>;
2303 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
2304 clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
2305 clock-names = "xtal", "pclk", "baud";
2306 status = "disabled";
2309 uart_A: serial@24000 {
2310 compatible = "amlogic,meson-gx-uart";
2311 reg = <0x0 0x24000 0x0 0x18>;
2312 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
2313 clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
2314 clock-names = "xtal", "pclk", "baud";
2315 status = "disabled";
2319 sd_emmc_a: sd@ffe03000 {
2320 compatible = "amlogic,meson-axg-mmc";
2321 reg = <0x0 0xffe03000 0x0 0x800>;
2322 interrupts = <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
2323 status = "disabled";
2324 clocks = <&clkc CLKID_SD_EMMC_A>,
2325 <&clkc CLKID_SD_EMMC_A_CLK0>,
2326 <&clkc CLKID_FCLK_DIV2>;
2327 clock-names = "core", "clkin0", "clkin1";
2328 resets = <&reset RESET_SD_EMMC_A>;
2331 sd_emmc_b: sd@ffe05000 {
2332 compatible = "amlogic,meson-axg-mmc";
2333 reg = <0x0 0xffe05000 0x0 0x800>;
2334 interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>;
2335 status = "disabled";
2336 clocks = <&clkc CLKID_SD_EMMC_B>,
2337 <&clkc CLKID_SD_EMMC_B_CLK0>,
2338 <&clkc CLKID_FCLK_DIV2>;
2339 clock-names = "core", "clkin0", "clkin1";
2340 resets = <&reset RESET_SD_EMMC_B>;
2343 sd_emmc_c: mmc@ffe07000 {
2344 compatible = "amlogic,meson-axg-mmc";
2345 reg = <0x0 0xffe07000 0x0 0x800>;
2346 interrupts = <GIC_SPI 191 IRQ_TYPE_EDGE_RISING>;
2347 status = "disabled";
2348 clocks = <&clkc CLKID_SD_EMMC_C>,
2349 <&clkc CLKID_SD_EMMC_C_CLK0>,
2350 <&clkc CLKID_FCLK_DIV2>;
2351 clock-names = "core", "clkin0", "clkin1";
2352 resets = <&reset RESET_SD_EMMC_C>;
2356 status = "disabled";
2357 compatible = "amlogic,meson-g12a-usb-ctrl";
2358 reg = <0x0 0xffe09000 0x0 0xa0>;
2359 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
2360 #address-cells = <2>;
2364 clocks = <&clkc CLKID_USB>;
2365 resets = <&reset RESET_USB>;
2369 phys = <&usb2_phy0>, <&usb2_phy1>,
2370 <&usb3_pcie_phy PHY_TYPE_USB3>;
2371 phy-names = "usb2-phy0", "usb2-phy1", "usb3-phy0";
2373 dwc2: usb@ff400000 {
2374 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
2375 reg = <0x0 0xff400000 0x0 0x40000>;
2376 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
2377 clocks = <&clkc CLKID_USB1_DDR_BRIDGE>;
2378 clock-names = "otg";
2379 phys = <&usb2_phy1>;
2380 phy-names = "usb2-phy";
2381 dr_mode = "peripheral";
2382 g-rx-fifo-size = <192>;
2383 g-np-tx-fifo-size = <128>;
2384 g-tx-fifo-size = <128 128 16 16 16>;
2387 dwc3: usb@ff500000 {
2388 compatible = "snps,dwc3";
2389 reg = <0x0 0xff500000 0x0 0x100000>;
2390 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
2392 snps,dis_u2_susphy_quirk;
2393 snps,quirk-frame-length-adjustment;
2394 snps,parkmode-disable-ss-quirk;
2398 mali: gpu@ffe40000 {
2399 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
2400 reg = <0x0 0xffe40000 0x0 0x40000>;
2401 interrupt-parent = <&gic>;
2402 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
2403 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
2404 <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
2405 interrupt-names = "job", "mmu", "gpu";
2406 clocks = <&clkc CLKID_MALI>;
2407 resets = <&reset RESET_DVALIN_CAPB3>, <&reset RESET_DVALIN>;
2408 operating-points-v2 = <&gpu_opp_table>;
2409 #cooling-cells = <2>;
2414 compatible = "arm,armv8-timer";
2415 interrupts = <GIC_PPI 13
2416 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
2418 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
2420 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
2422 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
2423 arm,no-tick-in-suspend;
2427 compatible = "fixed-clock";
2428 clock-frequency = <24000000>;
2429 clock-output-names = "xtal";