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>;
56 compatible = "arm,psci-1.0";
65 /* 3 MiB reserved for ARM Trusted Firmware (BL31) */
66 secmon_reserved: secmon@5000000 {
67 reg = <0x0 0x05000000 0x0 0x300000>;
72 compatible = "shared-dma-pool";
74 size = <0x0 0x10000000>;
75 alignment = <0x0 0x400000>;
81 compatible = "amlogic,meson-gxbb-sm";
85 compatible = "simple-bus";
91 compatible = "amlogic,g12a-pcie", "snps,dw-pcie";
92 reg = <0x0 0xfc000000 0x0 0x400000
93 0x0 0xff648000 0x0 0x2000
94 0x0 0xfc400000 0x0 0x200000>;
95 reg-names = "elbi", "cfg", "config";
96 interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
97 #interrupt-cells = <1>;
98 interrupt-map-mask = <0 0 0 0>;
99 interrupt-map = <0 0 0 0 &gic GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
100 bus-range = <0x0 0xff>;
101 #address-cells = <3>;
104 ranges = <0x81000000 0 0 0x0 0xfc600000 0 0x00100000
105 0x82000000 0 0xfc700000 0x0 0xfc700000 0 0x1900000>;
107 clocks = <&clkc CLKID_PCIE_PHY
108 &clkc CLKID_PCIE_COMB
109 &clkc CLKID_PCIE_PLL>;
110 clock-names = "general",
113 resets = <&reset RESET_PCIE_CTRL_A>,
114 <&reset RESET_PCIE_APB>;
115 reset-names = "port",
118 phys = <&usb3_pcie_phy PHY_TYPE_PCIE>;
124 cpu_thermal: cpu-thermal {
125 polling-delay = <1000>;
126 polling-delay-passive = <100>;
127 thermal-sensors = <&cpu_temp>;
130 cpu_passive: cpu-passive {
131 temperature = <85000>; /* millicelsius */
132 hysteresis = <2000>; /* millicelsius */
137 temperature = <95000>; /* millicelsius */
138 hysteresis = <2000>; /* millicelsius */
142 cpu_critical: cpu-critical {
143 temperature = <110000>; /* millicelsius */
144 hysteresis = <2000>; /* millicelsius */
150 ddr_thermal: ddr-thermal {
151 polling-delay = <1000>;
152 polling-delay-passive = <100>;
153 thermal-sensors = <&ddr_temp>;
156 ddr_passive: ddr-passive {
157 temperature = <85000>; /* millicelsius */
158 hysteresis = <2000>; /* millicelsius */
162 ddr_critical: ddr-critical {
163 temperature = <110000>; /* millicelsius */
164 hysteresis = <2000>; /* millicelsius */
171 trip = <&ddr_passive>;
172 cooling-device = <&mali THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
178 ethmac: ethernet@ff3f0000 {
179 compatible = "amlogic,meson-axg-dwmac",
182 reg = <0x0 0xff3f0000 0x0 0x10000>,
183 <0x0 0xff634540 0x0 0x8>;
184 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
185 interrupt-names = "macirq";
186 clocks = <&clkc CLKID_ETH>,
187 <&clkc CLKID_FCLK_DIV2>,
189 clock-names = "stmmaceth", "clkin0", "clkin1";
190 rx-fifo-depth = <4096>;
191 tx-fifo-depth = <2048>;
195 #address-cells = <1>;
197 compatible = "snps,dwmac-mdio";
202 compatible = "simple-bus";
203 reg = <0x0 0xff600000 0x0 0x200000>;
204 #address-cells = <2>;
206 ranges = <0x0 0x0 0x0 0xff600000 0x0 0x200000>;
209 compatible = "amlogic,meson-g12a-dw-hdmi";
210 reg = <0x0 0x0 0x0 0x10000>;
211 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
212 resets = <&reset RESET_HDMITX_CAPB3>,
213 <&reset RESET_HDMITX_PHY>,
214 <&reset RESET_HDMITX>;
215 reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
216 clocks = <&clkc CLKID_HDMI>,
217 <&clkc CLKID_HTX_PCLK>,
218 <&clkc CLKID_VPU_INTR>;
219 clock-names = "isfr", "iahb", "venci";
220 #address-cells = <1>;
222 #sound-dai-cells = <0>;
226 hdmi_tx_venc_port: port@0 {
229 hdmi_tx_in: endpoint {
230 remote-endpoint = <&hdmi_tx_out>;
235 hdmi_tx_tmds_port: port@1 {
240 apb_efuse: bus@30000 {
241 compatible = "simple-bus";
242 reg = <0x0 0x30000 0x0 0x2000>;
243 #address-cells = <2>;
245 ranges = <0x0 0x0 0x0 0x30000 0x0 0x2000>;
248 compatible = "amlogic,meson-rng";
249 reg = <0x0 0x218 0x0 0x4>;
254 compatible = "simple-bus";
255 reg = <0x0 0x34400 0x0 0x400>;
256 #address-cells = <2>;
258 ranges = <0x0 0x0 0x0 0x34400 0x0 0x400>;
260 periphs_pinctrl: pinctrl@40 {
261 compatible = "amlogic,meson-g12a-periphs-pinctrl";
262 #address-cells = <2>;
267 reg = <0x0 0x40 0x0 0x4c>,
269 <0x0 0x120 0x0 0x18>,
270 <0x0 0x2c0 0x0 0x40>,
271 <0x0 0x340 0x0 0x1c>;
279 gpio-ranges = <&periphs_pinctrl 0 0 86>;
282 cec_ao_a_h_pins: cec_ao_a_h {
284 groups = "cec_ao_a_h";
285 function = "cec_ao_a_h";
290 cec_ao_b_h_pins: cec_ao_b_h {
292 groups = "cec_ao_b_h";
293 function = "cec_ao_b_h";
298 emmc_ctrl_pins: emmc-ctrl {
303 drive-strength-microamp = <4000>;
310 drive-strength-microamp = <4000>;
314 emmc_data_4b_pins: emmc-data-4b {
316 groups = "emmc_nand_d0",
322 drive-strength-microamp = <4000>;
326 emmc_data_8b_pins: emmc-data-8b {
328 groups = "emmc_nand_d0",
338 drive-strength-microamp = <4000>;
342 emmc_ds_pins: emmc-ds {
344 groups = "emmc_nand_ds";
347 drive-strength-microamp = <4000>;
351 emmc_clk_gate_pins: emmc_clk_gate {
354 function = "gpio_periphs";
356 drive-strength-microamp = <4000>;
360 hdmitx_ddc_pins: hdmitx_ddc {
362 groups = "hdmitx_sda",
366 drive-strength-microamp = <4000>;
370 hdmitx_hpd_pins: hdmitx_hpd {
372 groups = "hdmitx_hpd_in";
379 i2c0_sda_c_pins: i2c0-sda-c {
381 groups = "i2c0_sda_c";
384 drive-strength-microamp = <3000>;
389 i2c0_sck_c_pins: i2c0-sck-c {
391 groups = "i2c0_sck_c";
394 drive-strength-microamp = <3000>;
398 i2c0_sda_z0_pins: i2c0-sda-z0 {
400 groups = "i2c0_sda_z0";
403 drive-strength-microamp = <3000>;
407 i2c0_sck_z1_pins: i2c0-sck-z1 {
409 groups = "i2c0_sck_z1";
412 drive-strength-microamp = <3000>;
416 i2c0_sda_z7_pins: i2c0-sda-z7 {
418 groups = "i2c0_sda_z7";
421 drive-strength-microamp = <3000>;
425 i2c0_sda_z8_pins: i2c0-sda-z8 {
427 groups = "i2c0_sda_z8";
430 drive-strength-microamp = <3000>;
434 i2c1_sda_x_pins: i2c1-sda-x {
436 groups = "i2c1_sda_x";
439 drive-strength-microamp = <3000>;
443 i2c1_sck_x_pins: i2c1-sck-x {
445 groups = "i2c1_sck_x";
448 drive-strength-microamp = <3000>;
452 i2c1_sda_h2_pins: i2c1-sda-h2 {
454 groups = "i2c1_sda_h2";
457 drive-strength-microamp = <3000>;
461 i2c1_sck_h3_pins: i2c1-sck-h3 {
463 groups = "i2c1_sck_h3";
466 drive-strength-microamp = <3000>;
470 i2c1_sda_h6_pins: i2c1-sda-h6 {
472 groups = "i2c1_sda_h6";
475 drive-strength-microamp = <3000>;
479 i2c1_sck_h7_pins: i2c1-sck-h7 {
481 groups = "i2c1_sck_h7";
484 drive-strength-microamp = <3000>;
488 i2c2_sda_x_pins: i2c2-sda-x {
490 groups = "i2c2_sda_x";
493 drive-strength-microamp = <3000>;
497 i2c2_sck_x_pins: i2c2-sck-x {
499 groups = "i2c2_sck_x";
502 drive-strength-microamp = <3000>;
506 i2c2_sda_z_pins: i2c2-sda-z {
508 groups = "i2c2_sda_z";
511 drive-strength-microamp = <3000>;
515 i2c2_sck_z_pins: i2c2-sck-z {
517 groups = "i2c2_sck_z";
520 drive-strength-microamp = <3000>;
524 i2c3_sda_h_pins: i2c3-sda-h {
526 groups = "i2c3_sda_h";
529 drive-strength-microamp = <3000>;
533 i2c3_sck_h_pins: i2c3-sck-h {
535 groups = "i2c3_sck_h";
538 drive-strength-microamp = <3000>;
542 i2c3_sda_a_pins: i2c3-sda-a {
544 groups = "i2c3_sda_a";
547 drive-strength-microamp = <3000>;
551 i2c3_sck_a_pins: i2c3-sck-a {
553 groups = "i2c3_sck_a";
556 drive-strength-microamp = <3000>;
560 mclk0_a_pins: mclk0-a {
565 drive-strength-microamp = <3000>;
569 mclk1_a_pins: mclk1-a {
574 drive-strength-microamp = <3000>;
578 mclk1_x_pins: mclk1-x {
583 drive-strength-microamp = <3000>;
587 mclk1_z_pins: mclk1-z {
592 drive-strength-microamp = <3000>;
607 pdm_din0_a_pins: pdm-din0-a {
609 groups = "pdm_din0_a";
615 pdm_din0_c_pins: pdm-din0-c {
617 groups = "pdm_din0_c";
623 pdm_din0_x_pins: pdm-din0-x {
625 groups = "pdm_din0_x";
631 pdm_din0_z_pins: pdm-din0-z {
633 groups = "pdm_din0_z";
639 pdm_din1_a_pins: pdm-din1-a {
641 groups = "pdm_din1_a";
647 pdm_din1_c_pins: pdm-din1-c {
649 groups = "pdm_din1_c";
655 pdm_din1_x_pins: pdm-din1-x {
657 groups = "pdm_din1_x";
663 pdm_din1_z_pins: pdm-din1-z {
665 groups = "pdm_din1_z";
671 pdm_din2_a_pins: pdm-din2-a {
673 groups = "pdm_din2_a";
679 pdm_din2_c_pins: pdm-din2-c {
681 groups = "pdm_din2_c";
687 pdm_din2_x_pins: pdm-din2-x {
689 groups = "pdm_din2_x";
695 pdm_din2_z_pins: pdm-din2-z {
697 groups = "pdm_din2_z";
703 pdm_din3_a_pins: pdm-din3-a {
705 groups = "pdm_din3_a";
711 pdm_din3_c_pins: pdm-din3-c {
713 groups = "pdm_din3_c";
719 pdm_din3_x_pins: pdm-din3-x {
721 groups = "pdm_din3_x";
727 pdm_din3_z_pins: pdm-din3-z {
729 groups = "pdm_din3_z";
735 pdm_dclk_a_pins: pdm-dclk-a {
737 groups = "pdm_dclk_a";
740 drive-strength-microamp = <500>;
744 pdm_dclk_c_pins: pdm-dclk-c {
746 groups = "pdm_dclk_c";
749 drive-strength-microamp = <500>;
753 pdm_dclk_x_pins: pdm-dclk-x {
755 groups = "pdm_dclk_x";
758 drive-strength-microamp = <500>;
762 pdm_dclk_z_pins: pdm-dclk-z {
764 groups = "pdm_dclk_z";
767 drive-strength-microamp = <500>;
779 pwm_b_x7_pins: pwm-b-x7 {
787 pwm_b_x19_pins: pwm-b-x19 {
789 groups = "pwm_b_x19";
795 pwm_c_c_pins: pwm-c-c {
803 pwm_c_x5_pins: pwm-c-x5 {
811 pwm_c_x8_pins: pwm-c-x8 {
819 pwm_d_x3_pins: pwm-d-x3 {
827 pwm_d_x6_pins: pwm-d-x6 {
843 pwm_f_x_pins: pwm-f-x {
851 pwm_f_h_pins: pwm-f-h {
859 sdcard_c_pins: sdcard_c {
861 groups = "sdcard_d0_c",
868 drive-strength-microamp = <4000>;
872 groups = "sdcard_clk_c";
875 drive-strength-microamp = <4000>;
879 sdcard_clk_gate_c_pins: sdcard_clk_gate_c {
882 function = "gpio_periphs";
884 drive-strength-microamp = <4000>;
888 sdcard_z_pins: sdcard_z {
890 groups = "sdcard_d0_z",
897 drive-strength-microamp = <4000>;
901 groups = "sdcard_clk_z";
904 drive-strength-microamp = <4000>;
908 sdcard_clk_gate_z_pins: sdcard_clk_gate_z {
911 function = "gpio_periphs";
913 drive-strength-microamp = <4000>;
927 drive-strength-microamp = <4000>;
931 sdio_clk_gate_pins: sdio_clk_gate {
934 function = "gpio_periphs";
936 drive-strength-microamp = <4000>;
940 spdif_in_a10_pins: spdif-in-a10 {
942 groups = "spdif_in_a10";
943 function = "spdif_in";
948 spdif_in_a12_pins: spdif-in-a12 {
950 groups = "spdif_in_a12";
951 function = "spdif_in";
956 spdif_in_h_pins: spdif-in-h {
958 groups = "spdif_in_h";
959 function = "spdif_in";
964 spdif_out_h_pins: spdif-out-h {
966 groups = "spdif_out_h";
967 function = "spdif_out";
968 drive-strength-microamp = <500>;
973 spdif_out_a11_pins: spdif-out-a11 {
975 groups = "spdif_out_a11";
976 function = "spdif_out";
977 drive-strength-microamp = <500>;
982 spdif_out_a13_pins: spdif-out-a13 {
984 groups = "spdif_out_a13";
985 function = "spdif_out";
986 drive-strength-microamp = <500>;
991 spicc0_x_pins: spicc0-x {
993 groups = "spi0_mosi_x",
997 drive-strength-microamp = <4000>;
1002 spicc0_ss0_x_pins: spicc0-ss0-x {
1004 groups = "spi0_ss0_x";
1006 drive-strength-microamp = <4000>;
1011 spicc0_c_pins: spicc0-c {
1013 groups = "spi0_mosi_c",
1018 drive-strength-microamp = <4000>;
1023 spicc1_pins: spicc1 {
1025 groups = "spi1_mosi",
1029 drive-strength-microamp = <4000>;
1033 spicc1_ss0_pins: spicc1-ss0 {
1035 groups = "spi1_ss0";
1037 drive-strength-microamp = <4000>;
1042 tdm_a_din0_pins: tdm-a-din0 {
1044 groups = "tdm_a_din0";
1051 tdm_a_din1_pins: tdm-a-din1 {
1053 groups = "tdm_a_din1";
1059 tdm_a_dout0_pins: tdm-a-dout0 {
1061 groups = "tdm_a_dout0";
1064 drive-strength-microamp = <3000>;
1068 tdm_a_dout1_pins: tdm-a-dout1 {
1070 groups = "tdm_a_dout1";
1073 drive-strength-microamp = <3000>;
1077 tdm_a_fs_pins: tdm-a-fs {
1079 groups = "tdm_a_fs";
1082 drive-strength-microamp = <3000>;
1086 tdm_a_sclk_pins: tdm-a-sclk {
1088 groups = "tdm_a_sclk";
1091 drive-strength-microamp = <3000>;
1095 tdm_a_slv_fs_pins: tdm-a-slv-fs {
1097 groups = "tdm_a_slv_fs";
1104 tdm_a_slv_sclk_pins: tdm-a-slv-sclk {
1106 groups = "tdm_a_slv_sclk";
1112 tdm_b_din0_pins: tdm-b-din0 {
1114 groups = "tdm_b_din0";
1120 tdm_b_din1_pins: tdm-b-din1 {
1122 groups = "tdm_b_din1";
1128 tdm_b_din2_pins: tdm-b-din2 {
1130 groups = "tdm_b_din2";
1136 tdm_b_din3_a_pins: tdm-b-din3-a {
1138 groups = "tdm_b_din3_a";
1144 tdm_b_din3_h_pins: tdm-b-din3-h {
1146 groups = "tdm_b_din3_h";
1152 tdm_b_dout0_pins: tdm-b-dout0 {
1154 groups = "tdm_b_dout0";
1157 drive-strength-microamp = <3000>;
1161 tdm_b_dout1_pins: tdm-b-dout1 {
1163 groups = "tdm_b_dout1";
1166 drive-strength-microamp = <3000>;
1170 tdm_b_dout2_pins: tdm-b-dout2 {
1172 groups = "tdm_b_dout2";
1175 drive-strength-microamp = <3000>;
1179 tdm_b_dout3_a_pins: tdm-b-dout3-a {
1181 groups = "tdm_b_dout3_a";
1184 drive-strength-microamp = <3000>;
1188 tdm_b_dout3_h_pins: tdm-b-dout3-h {
1190 groups = "tdm_b_dout3_h";
1193 drive-strength-microamp = <3000>;
1197 tdm_b_fs_pins: tdm-b-fs {
1199 groups = "tdm_b_fs";
1202 drive-strength-microamp = <3000>;
1206 tdm_b_sclk_pins: tdm-b-sclk {
1208 groups = "tdm_b_sclk";
1211 drive-strength-microamp = <3000>;
1215 tdm_b_slv_fs_pins: tdm-b-slv-fs {
1217 groups = "tdm_b_slv_fs";
1223 tdm_b_slv_sclk_pins: tdm-b-slv-sclk {
1225 groups = "tdm_b_slv_sclk";
1231 tdm_c_din0_a_pins: tdm-c-din0-a {
1233 groups = "tdm_c_din0_a";
1239 tdm_c_din0_z_pins: tdm-c-din0-z {
1241 groups = "tdm_c_din0_z";
1247 tdm_c_din1_a_pins: tdm-c-din1-a {
1249 groups = "tdm_c_din1_a";
1255 tdm_c_din1_z_pins: tdm-c-din1-z {
1257 groups = "tdm_c_din1_z";
1263 tdm_c_din2_a_pins: tdm-c-din2-a {
1265 groups = "tdm_c_din2_a";
1271 eth_leds_pins: eth-leds {
1273 groups = "eth_link_led",
1282 groups = "eth_mdio",
1292 drive-strength-microamp = <4000>;
1297 eth_rgmii_pins: eth-rgmii {
1299 groups = "eth_rxd2_rgmii",
1305 drive-strength-microamp = <4000>;
1310 tdm_c_din2_z_pins: tdm-c-din2-z {
1312 groups = "tdm_c_din2_z";
1318 tdm_c_din3_a_pins: tdm-c-din3-a {
1320 groups = "tdm_c_din3_a";
1326 tdm_c_din3_z_pins: tdm-c-din3-z {
1328 groups = "tdm_c_din3_z";
1334 tdm_c_dout0_a_pins: tdm-c-dout0-a {
1336 groups = "tdm_c_dout0_a";
1339 drive-strength-microamp = <3000>;
1343 tdm_c_dout0_z_pins: tdm-c-dout0-z {
1345 groups = "tdm_c_dout0_z";
1348 drive-strength-microamp = <3000>;
1352 tdm_c_dout1_a_pins: tdm-c-dout1-a {
1354 groups = "tdm_c_dout1_a";
1357 drive-strength-microamp = <3000>;
1361 tdm_c_dout1_z_pins: tdm-c-dout1-z {
1363 groups = "tdm_c_dout1_z";
1366 drive-strength-microamp = <3000>;
1370 tdm_c_dout2_a_pins: tdm-c-dout2-a {
1372 groups = "tdm_c_dout2_a";
1375 drive-strength-microamp = <3000>;
1379 tdm_c_dout2_z_pins: tdm-c-dout2-z {
1381 groups = "tdm_c_dout2_z";
1384 drive-strength-microamp = <3000>;
1388 tdm_c_dout3_a_pins: tdm-c-dout3-a {
1390 groups = "tdm_c_dout3_a";
1393 drive-strength-microamp = <3000>;
1397 tdm_c_dout3_z_pins: tdm-c-dout3-z {
1399 groups = "tdm_c_dout3_z";
1402 drive-strength-microamp = <3000>;
1406 tdm_c_fs_a_pins: tdm-c-fs-a {
1408 groups = "tdm_c_fs_a";
1411 drive-strength-microamp = <3000>;
1415 tdm_c_fs_z_pins: tdm-c-fs-z {
1417 groups = "tdm_c_fs_z";
1420 drive-strength-microamp = <3000>;
1424 tdm_c_sclk_a_pins: tdm-c-sclk-a {
1426 groups = "tdm_c_sclk_a";
1429 drive-strength-microamp = <3000>;
1433 tdm_c_sclk_z_pins: tdm-c-sclk-z {
1435 groups = "tdm_c_sclk_z";
1438 drive-strength-microamp = <3000>;
1442 tdm_c_slv_fs_a_pins: tdm-c-slv-fs-a {
1444 groups = "tdm_c_slv_fs_a";
1450 tdm_c_slv_fs_z_pins: tdm-c-slv-fs-z {
1452 groups = "tdm_c_slv_fs_z";
1458 tdm_c_slv_sclk_a_pins: tdm-c-slv-sclk-a {
1460 groups = "tdm_c_slv_sclk_a";
1466 tdm_c_slv_sclk_z_pins: tdm-c-slv-sclk-z {
1468 groups = "tdm_c_slv_sclk_z";
1474 uart_a_pins: uart-a {
1476 groups = "uart_a_tx",
1478 function = "uart_a";
1483 uart_a_cts_rts_pins: uart-a-cts-rts {
1485 groups = "uart_a_cts",
1487 function = "uart_a";
1492 uart_b_pins: uart-b {
1494 groups = "uart_b_tx",
1496 function = "uart_b";
1501 uart_c_pins: uart-c {
1503 groups = "uart_c_tx",
1505 function = "uart_c";
1510 uart_c_cts_rts_pins: uart-c-cts-rts {
1512 groups = "uart_c_cts",
1514 function = "uart_c";
1521 cpu_temp: temperature-sensor@34800 {
1522 compatible = "amlogic,g12a-cpu-thermal",
1523 "amlogic,g12a-thermal";
1524 reg = <0x0 0x34800 0x0 0x50>;
1525 interrupts = <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>;
1526 clocks = <&clkc CLKID_TS>;
1527 #thermal-sensor-cells = <0>;
1528 amlogic,ao-secure = <&sec_AO>;
1531 ddr_temp: temperature-sensor@34c00 {
1532 compatible = "amlogic,g12a-ddr-thermal",
1533 "amlogic,g12a-thermal";
1534 reg = <0x0 0x34c00 0x0 0x50>;
1535 interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>;
1536 clocks = <&clkc CLKID_TS>;
1537 #thermal-sensor-cells = <0>;
1538 amlogic,ao-secure = <&sec_AO>;
1541 usb2_phy0: phy@36000 {
1542 compatible = "amlogic,g12a-usb2-phy";
1543 reg = <0x0 0x36000 0x0 0x2000>;
1545 clock-names = "xtal";
1546 resets = <&reset RESET_USB_PHY20>;
1547 reset-names = "phy";
1552 compatible = "simple-bus";
1553 reg = <0x0 0x38000 0x0 0x400>;
1554 #address-cells = <2>;
1556 ranges = <0x0 0x0 0x0 0x38000 0x0 0x400>;
1558 canvas: video-lut@48 {
1559 compatible = "amlogic,canvas";
1560 reg = <0x0 0x48 0x0 0x14>;
1564 usb2_phy1: phy@3a000 {
1565 compatible = "amlogic,g12a-usb2-phy";
1566 reg = <0x0 0x3a000 0x0 0x2000>;
1568 clock-names = "xtal";
1569 resets = <&reset RESET_USB_PHY21>;
1570 reset-names = "phy";
1575 compatible = "simple-bus";
1576 reg = <0x0 0x3c000 0x0 0x1400>;
1577 #address-cells = <2>;
1579 ranges = <0x0 0x0 0x0 0x3c000 0x0 0x1400>;
1581 hhi: system-controller@0 {
1582 compatible = "amlogic,meson-gx-hhi-sysctrl",
1583 "simple-mfd", "syscon";
1584 reg = <0 0 0 0x400>;
1586 clkc: clock-controller {
1587 compatible = "amlogic,g12a-clkc";
1590 clock-names = "xtal";
1593 pwrc: power-controller {
1594 compatible = "amlogic,meson-g12a-pwrc";
1595 #power-domain-cells = <1>;
1596 amlogic,ao-sysctrl = <&rti>;
1597 resets = <&reset RESET_VIU>,
1598 <&reset RESET_VENC>,
1599 <&reset RESET_VCBUS>,
1600 <&reset RESET_BT656>,
1601 <&reset RESET_RDMA>,
1602 <&reset RESET_VENCI>,
1603 <&reset RESET_VENCP>,
1604 <&reset RESET_VDAC>,
1605 <&reset RESET_VDI6>,
1606 <&reset RESET_VENCL>,
1607 <&reset RESET_VID_LOCK>;
1608 reset-names = "viu", "venc", "vcbus", "bt656",
1609 "rdma", "venci", "vencp", "vdac",
1610 "vdi6", "vencl", "vid_lock";
1611 clocks = <&clkc CLKID_VPU>,
1613 clock-names = "vpu", "vapb";
1615 * VPU clocking is provided by two identical clock paths
1616 * VPU_0 and VPU_1 muxed to a single clock by a glitch
1617 * free mux to safely change frequency while running.
1618 * Same for VAPB but with a final gate after the glitch free mux.
1620 assigned-clocks = <&clkc CLKID_VPU_0_SEL>,
1621 <&clkc CLKID_VPU_0>,
1622 <&clkc CLKID_VPU>, /* Glitch free mux */
1623 <&clkc CLKID_VAPB_0_SEL>,
1624 <&clkc CLKID_VAPB_0>,
1625 <&clkc CLKID_VAPB_SEL>; /* Glitch free mux */
1626 assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
1627 <0>, /* Do Nothing */
1628 <&clkc CLKID_VPU_0>,
1629 <&clkc CLKID_FCLK_DIV4>,
1630 <0>, /* Do Nothing */
1631 <&clkc CLKID_VAPB_0>;
1632 assigned-clock-rates = <0>, /* Do Nothing */
1634 <0>, /* Do Nothing */
1635 <0>, /* Do Nothing */
1637 <0>; /* Do Nothing */
1642 usb3_pcie_phy: phy@46000 {
1643 compatible = "amlogic,g12a-usb3-pcie-phy";
1644 reg = <0x0 0x46000 0x0 0x2000>;
1645 clocks = <&clkc CLKID_PCIE_PLL>;
1646 clock-names = "ref_clk";
1647 resets = <&reset RESET_PCIE_PHY>;
1648 reset-names = "phy";
1649 assigned-clocks = <&clkc CLKID_PCIE_PLL>;
1650 assigned-clock-rates = <100000000>;
1654 eth_phy: mdio-multiplexer@4c000 {
1655 compatible = "amlogic,g12a-mdio-mux";
1656 reg = <0x0 0x4c000 0x0 0xa4>;
1657 clocks = <&clkc CLKID_ETH_PHY>,
1659 <&clkc CLKID_MPLL_50M>;
1660 clock-names = "pclk", "clkin0", "clkin1";
1661 mdio-parent-bus = <&mdio0>;
1662 #address-cells = <1>;
1667 #address-cells = <1>;
1673 #address-cells = <1>;
1676 internal_ephy: ethernet_phy@8 {
1677 compatible = "ethernet-phy-id0180.3301",
1678 "ethernet-phy-ieee802.3-c22";
1679 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1687 aobus: bus@ff800000 {
1688 compatible = "simple-bus";
1689 reg = <0x0 0xff800000 0x0 0x100000>;
1690 #address-cells = <2>;
1692 ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
1695 compatible = "amlogic,meson-gx-ao-sysctrl",
1696 "simple-mfd", "syscon";
1697 reg = <0x0 0x0 0x0 0x100>;
1698 #address-cells = <2>;
1700 ranges = <0x0 0x0 0x0 0x0 0x0 0x100>;
1702 clkc_AO: clock-controller {
1703 compatible = "amlogic,meson-g12a-aoclkc";
1706 clocks = <&xtal>, <&clkc CLKID_CLK81>;
1707 clock-names = "xtal", "mpeg-clk";
1710 ao_pinctrl: pinctrl@14 {
1711 compatible = "amlogic,meson-g12a-aobus-pinctrl";
1712 #address-cells = <2>;
1717 reg = <0x0 0x14 0x0 0x8>,
1719 <0x0 0x24 0x0 0x14>;
1725 gpio-ranges = <&ao_pinctrl 0 0 15>;
1728 i2c_ao_sck_pins: i2c_ao_sck_pins {
1730 groups = "i2c_ao_sck";
1731 function = "i2c_ao";
1733 drive-strength-microamp = <3000>;
1737 i2c_ao_sda_pins: i2c_ao_sda {
1739 groups = "i2c_ao_sda";
1740 function = "i2c_ao";
1742 drive-strength-microamp = <3000>;
1746 i2c_ao_sck_e_pins: i2c_ao_sck_e {
1748 groups = "i2c_ao_sck_e";
1749 function = "i2c_ao";
1751 drive-strength-microamp = <3000>;
1755 i2c_ao_sda_e_pins: i2c_ao_sda_e {
1757 groups = "i2c_ao_sda_e";
1758 function = "i2c_ao";
1760 drive-strength-microamp = <3000>;
1764 mclk0_ao_pins: mclk0-ao {
1766 groups = "mclk0_ao";
1767 function = "mclk0_ao";
1769 drive-strength-microamp = <3000>;
1773 tdm_ao_b_din0_pins: tdm-ao-b-din0 {
1775 groups = "tdm_ao_b_din0";
1776 function = "tdm_ao_b";
1781 spdif_ao_out_pins: spdif-ao-out {
1783 groups = "spdif_ao_out";
1784 function = "spdif_ao_out";
1785 drive-strength-microamp = <500>;
1790 tdm_ao_b_din1_pins: tdm-ao-b-din1 {
1792 groups = "tdm_ao_b_din1";
1793 function = "tdm_ao_b";
1798 tdm_ao_b_din2_pins: tdm-ao-b-din2 {
1800 groups = "tdm_ao_b_din2";
1801 function = "tdm_ao_b";
1806 tdm_ao_b_dout0_pins: tdm-ao-b-dout0 {
1808 groups = "tdm_ao_b_dout0";
1809 function = "tdm_ao_b";
1811 drive-strength-microamp = <3000>;
1815 tdm_ao_b_dout1_pins: tdm-ao-b-dout1 {
1817 groups = "tdm_ao_b_dout1";
1818 function = "tdm_ao_b";
1820 drive-strength-microamp = <3000>;
1824 tdm_ao_b_dout2_pins: tdm-ao-b-dout2 {
1826 groups = "tdm_ao_b_dout2";
1827 function = "tdm_ao_b";
1829 drive-strength-microamp = <3000>;
1833 tdm_ao_b_fs_pins: tdm-ao-b-fs {
1835 groups = "tdm_ao_b_fs";
1836 function = "tdm_ao_b";
1838 drive-strength-microamp = <3000>;
1842 tdm_ao_b_sclk_pins: tdm-ao-b-sclk {
1844 groups = "tdm_ao_b_sclk";
1845 function = "tdm_ao_b";
1847 drive-strength-microamp = <3000>;
1851 tdm_ao_b_slv_fs_pins: tdm-ao-b-slv-fs {
1853 groups = "tdm_ao_b_slv_fs";
1854 function = "tdm_ao_b";
1859 tdm_ao_b_slv_sclk_pins: tdm-ao-b-slv-sclk {
1861 groups = "tdm_ao_b_slv_sclk";
1862 function = "tdm_ao_b";
1867 uart_ao_a_pins: uart-a-ao {
1869 groups = "uart_ao_a_tx",
1871 function = "uart_ao_a";
1876 uart_ao_a_cts_rts_pins: uart-ao-a-cts-rts {
1878 groups = "uart_ao_a_cts",
1880 function = "uart_ao_a";
1885 pwm_a_e_pins: pwm-a-e {
1888 function = "pwm_a_e";
1893 pwm_ao_a_pins: pwm-ao-a {
1895 groups = "pwm_ao_a";
1896 function = "pwm_ao_a";
1901 pwm_ao_b_pins: pwm-ao-b {
1903 groups = "pwm_ao_b";
1904 function = "pwm_ao_b";
1909 pwm_ao_c_4_pins: pwm-ao-c-4 {
1911 groups = "pwm_ao_c_4";
1912 function = "pwm_ao_c";
1917 pwm_ao_c_6_pins: pwm-ao-c-6 {
1919 groups = "pwm_ao_c_6";
1920 function = "pwm_ao_c";
1925 pwm_ao_d_5_pins: pwm-ao-d-5 {
1927 groups = "pwm_ao_d_5";
1928 function = "pwm_ao_d";
1933 pwm_ao_d_10_pins: pwm-ao-d-10 {
1935 groups = "pwm_ao_d_10";
1936 function = "pwm_ao_d";
1941 pwm_ao_d_e_pins: pwm-ao-d-e {
1943 groups = "pwm_ao_d_e";
1944 function = "pwm_ao_d";
1948 remote_input_ao_pins: remote-input-ao {
1950 groups = "remote_ao_input";
1951 function = "remote_ao_input";
1959 compatible = "amlogic,meson-vrtc";
1960 reg = <0x0 0x000a8 0x0 0x4>;
1964 compatible = "amlogic,meson-gx-ao-cec";
1965 reg = <0x0 0x00100 0x0 0x14>;
1966 interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
1967 clocks = <&clkc_AO CLKID_AO_CEC>;
1968 clock-names = "core";
1969 status = "disabled";
1972 sec_AO: ao-secure@140 {
1973 compatible = "amlogic,meson-gx-ao-secure", "syscon";
1974 reg = <0x0 0x140 0x0 0x140>;
1975 amlogic,has-chip-id;
1979 compatible = "amlogic,meson-g12a-ao-cec";
1980 reg = <0x0 0x00280 0x0 0x1c>;
1981 interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
1982 clocks = <&clkc_AO CLKID_AO_CTS_OSCIN>;
1983 clock-names = "oscin";
1984 status = "disabled";
1987 pwm_AO_cd: pwm@2000 {
1988 compatible = "amlogic,meson-g12a-ao-pwm-cd";
1989 reg = <0x0 0x2000 0x0 0x20>;
1991 status = "disabled";
1994 uart_AO: serial@3000 {
1995 compatible = "amlogic,meson-gx-uart",
1996 "amlogic,meson-ao-uart";
1997 reg = <0x0 0x3000 0x0 0x18>;
1998 interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
1999 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART>, <&xtal>;
2000 clock-names = "xtal", "pclk", "baud";
2001 status = "disabled";
2004 uart_AO_B: serial@4000 {
2005 compatible = "amlogic,meson-gx-uart",
2006 "amlogic,meson-ao-uart";
2007 reg = <0x0 0x4000 0x0 0x18>;
2008 interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
2009 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
2010 clock-names = "xtal", "pclk", "baud";
2011 status = "disabled";
2015 compatible = "amlogic,meson-axg-i2c";
2016 status = "disabled";
2017 reg = <0x0 0x05000 0x0 0x20>;
2018 interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
2019 #address-cells = <1>;
2021 clocks = <&clkc CLKID_I2C>;
2024 pwm_AO_ab: pwm@7000 {
2025 compatible = "amlogic,meson-g12a-ao-pwm-ab";
2026 reg = <0x0 0x7000 0x0 0x20>;
2028 status = "disabled";
2032 compatible = "amlogic,meson-gxbb-ir";
2033 reg = <0x0 0x8000 0x0 0x20>;
2034 interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
2035 status = "disabled";
2039 compatible = "amlogic,meson-g12a-saradc",
2040 "amlogic,meson-saradc";
2041 reg = <0x0 0x9000 0x0 0x48>;
2042 #io-channel-cells = <1>;
2043 interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>;
2045 <&clkc_AO CLKID_AO_SAR_ADC>,
2046 <&clkc_AO CLKID_AO_SAR_ADC_CLK>,
2047 <&clkc_AO CLKID_AO_SAR_ADC_SEL>;
2048 clock-names = "clkin", "core", "adc_clk", "adc_sel";
2049 status = "disabled";
2053 vdec: video-decoder@ff620000 {
2054 compatible = "amlogic,g12a-vdec";
2055 reg = <0x0 0xff620000 0x0 0x10000>,
2056 <0x0 0xffd0e180 0x0 0xe4>;
2057 reg-names = "dos", "esparser";
2058 interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
2059 <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
2060 interrupt-names = "vdec", "esparser";
2062 amlogic,ao-sysctrl = <&rti>;
2063 amlogic,canvas = <&canvas>;
2065 clocks = <&clkc CLKID_PARSER>,
2067 <&clkc CLKID_VDEC_1>,
2068 <&clkc CLKID_VDEC_HEVC>,
2069 <&clkc CLKID_VDEC_HEVCF>;
2070 clock-names = "dos_parser", "dos", "vdec_1",
2071 "vdec_hevc", "vdec_hevcf";
2072 resets = <&reset RESET_PARSER>;
2073 reset-names = "esparser";
2077 compatible = "amlogic,meson-g12a-vpu";
2078 reg = <0x0 0xff900000 0x0 0x100000>,
2079 <0x0 0xff63c000 0x0 0x1000>;
2080 reg-names = "vpu", "hhi";
2081 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
2082 #address-cells = <1>;
2084 amlogic,canvas = <&canvas>;
2086 /* CVBS VDAC output port */
2087 cvbs_vdac_port: port@0 {
2091 /* HDMI-TX output port */
2092 hdmi_tx_port: port@1 {
2095 hdmi_tx_out: endpoint {
2096 remote-endpoint = <&hdmi_tx_in>;
2101 gic: interrupt-controller@ffc01000 {
2102 compatible = "arm,gic-400";
2103 reg = <0x0 0xffc01000 0 0x1000>,
2104 <0x0 0xffc02000 0 0x2000>,
2105 <0x0 0xffc04000 0 0x2000>,
2106 <0x0 0xffc06000 0 0x2000>;
2107 interrupt-controller;
2108 interrupts = <GIC_PPI 9
2109 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
2110 #interrupt-cells = <3>;
2111 #address-cells = <0>;
2114 cbus: bus@ffd00000 {
2115 compatible = "simple-bus";
2116 reg = <0x0 0xffd00000 0x0 0x100000>;
2117 #address-cells = <2>;
2119 ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x100000>;
2121 reset: reset-controller@1004 {
2122 compatible = "amlogic,meson-axg-reset";
2123 reg = <0x0 0x1004 0x0 0x9c>;
2127 gpio_intc: interrupt-controller@f080 {
2128 compatible = "amlogic,meson-g12a-gpio-intc",
2129 "amlogic,meson-gpio-intc";
2130 reg = <0x0 0xf080 0x0 0x10>;
2131 interrupt-controller;
2132 #interrupt-cells = <2>;
2133 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
2137 compatible = "amlogic,meson-g12a-spicc";
2138 reg = <0x0 0x13000 0x0 0x44>;
2139 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
2140 clocks = <&clkc CLKID_SPICC0>,
2141 <&clkc CLKID_SPICC0_SCLK>;
2142 clock-names = "core", "pclk";
2143 #address-cells = <1>;
2145 status = "disabled";
2149 compatible = "amlogic,meson-g12a-spicc";
2150 reg = <0x0 0x15000 0x0 0x44>;
2151 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
2152 clocks = <&clkc CLKID_SPICC1>,
2153 <&clkc CLKID_SPICC1_SCLK>;
2154 clock-names = "core", "pclk";
2155 #address-cells = <1>;
2157 status = "disabled";
2161 compatible = "amlogic,meson-gxbb-spifc";
2162 status = "disabled";
2163 reg = <0x0 0x14000 0x0 0x80>;
2164 #address-cells = <1>;
2166 clocks = <&clkc CLKID_CLK81>;
2170 compatible = "amlogic,meson-g12a-ee-pwm";
2171 reg = <0x0 0x19000 0x0 0x20>;
2173 status = "disabled";
2177 compatible = "amlogic,meson-g12a-ee-pwm";
2178 reg = <0x0 0x1a000 0x0 0x20>;
2180 status = "disabled";
2184 compatible = "amlogic,meson-g12a-ee-pwm";
2185 reg = <0x0 0x1b000 0x0 0x20>;
2187 status = "disabled";
2191 compatible = "amlogic,meson-axg-i2c";
2192 status = "disabled";
2193 reg = <0x0 0x1c000 0x0 0x20>;
2194 interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
2195 #address-cells = <1>;
2197 clocks = <&clkc CLKID_I2C>;
2201 compatible = "amlogic,meson-axg-i2c";
2202 status = "disabled";
2203 reg = <0x0 0x1d000 0x0 0x20>;
2204 interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
2205 #address-cells = <1>;
2207 clocks = <&clkc CLKID_I2C>;
2211 compatible = "amlogic,meson-axg-i2c";
2212 status = "disabled";
2213 reg = <0x0 0x1e000 0x0 0x20>;
2214 interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
2215 #address-cells = <1>;
2217 clocks = <&clkc CLKID_I2C>;
2221 compatible = "amlogic,meson-axg-i2c";
2222 status = "disabled";
2223 reg = <0x0 0x1f000 0x0 0x20>;
2224 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
2225 #address-cells = <1>;
2227 clocks = <&clkc CLKID_I2C>;
2230 clk_msr: clock-measure@18000 {
2231 compatible = "amlogic,meson-g12a-clk-measure";
2232 reg = <0x0 0x18000 0x0 0x10>;
2235 uart_C: serial@22000 {
2236 compatible = "amlogic,meson-gx-uart";
2237 reg = <0x0 0x22000 0x0 0x18>;
2238 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
2239 clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>;
2240 clock-names = "xtal", "pclk", "baud";
2241 status = "disabled";
2244 uart_B: serial@23000 {
2245 compatible = "amlogic,meson-gx-uart";
2246 reg = <0x0 0x23000 0x0 0x18>;
2247 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
2248 clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
2249 clock-names = "xtal", "pclk", "baud";
2250 status = "disabled";
2253 uart_A: serial@24000 {
2254 compatible = "amlogic,meson-gx-uart";
2255 reg = <0x0 0x24000 0x0 0x18>;
2256 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
2257 clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
2258 clock-names = "xtal", "pclk", "baud";
2259 status = "disabled";
2263 sd_emmc_a: sd@ffe03000 {
2264 compatible = "amlogic,meson-axg-mmc";
2265 reg = <0x0 0xffe03000 0x0 0x800>;
2266 interrupts = <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
2267 status = "disabled";
2268 clocks = <&clkc CLKID_SD_EMMC_A>,
2269 <&clkc CLKID_SD_EMMC_A_CLK0>,
2270 <&clkc CLKID_FCLK_DIV2>;
2271 clock-names = "core", "clkin0", "clkin1";
2272 resets = <&reset RESET_SD_EMMC_A>;
2275 sd_emmc_b: sd@ffe05000 {
2276 compatible = "amlogic,meson-axg-mmc";
2277 reg = <0x0 0xffe05000 0x0 0x800>;
2278 interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>;
2279 status = "disabled";
2280 clocks = <&clkc CLKID_SD_EMMC_B>,
2281 <&clkc CLKID_SD_EMMC_B_CLK0>,
2282 <&clkc CLKID_FCLK_DIV2>;
2283 clock-names = "core", "clkin0", "clkin1";
2284 resets = <&reset RESET_SD_EMMC_B>;
2287 sd_emmc_c: mmc@ffe07000 {
2288 compatible = "amlogic,meson-axg-mmc";
2289 reg = <0x0 0xffe07000 0x0 0x800>;
2290 interrupts = <GIC_SPI 191 IRQ_TYPE_EDGE_RISING>;
2291 status = "disabled";
2292 clocks = <&clkc CLKID_SD_EMMC_C>,
2293 <&clkc CLKID_SD_EMMC_C_CLK0>,
2294 <&clkc CLKID_FCLK_DIV2>;
2295 clock-names = "core", "clkin0", "clkin1";
2296 resets = <&reset RESET_SD_EMMC_C>;
2300 status = "disabled";
2301 compatible = "amlogic,meson-g12a-usb-ctrl";
2302 reg = <0x0 0xffe09000 0x0 0xa0>;
2303 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
2304 #address-cells = <2>;
2308 clocks = <&clkc CLKID_USB>;
2309 resets = <&reset RESET_USB>;
2313 phys = <&usb2_phy0>, <&usb2_phy1>,
2314 <&usb3_pcie_phy PHY_TYPE_USB3>;
2315 phy-names = "usb2-phy0", "usb2-phy1", "usb3-phy0";
2317 dwc2: usb@ff400000 {
2318 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
2319 reg = <0x0 0xff400000 0x0 0x40000>;
2320 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
2321 clocks = <&clkc CLKID_USB1_DDR_BRIDGE>;
2322 clock-names = "ddr";
2323 phys = <&usb2_phy1>;
2324 phy-names = "usb2-phy";
2325 dr_mode = "peripheral";
2326 g-rx-fifo-size = <192>;
2327 g-np-tx-fifo-size = <128>;
2328 g-tx-fifo-size = <128 128 16 16 16>;
2331 dwc3: usb@ff500000 {
2332 compatible = "snps,dwc3";
2333 reg = <0x0 0xff500000 0x0 0x100000>;
2334 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
2336 snps,dis_u2_susphy_quirk;
2337 snps,quirk-frame-length-adjustment;
2338 snps,parkmode-disable-ss-quirk;
2342 mali: gpu@ffe40000 {
2343 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
2344 reg = <0x0 0xffe40000 0x0 0x40000>;
2345 interrupt-parent = <&gic>;
2346 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
2347 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
2348 <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
2349 interrupt-names = "job", "mmu", "gpu";
2350 clocks = <&clkc CLKID_MALI>;
2351 resets = <&reset RESET_DVALIN_CAPB3>, <&reset RESET_DVALIN>;
2354 * Mali clocking is provided by two identical clock paths
2355 * MALI_0 and MALI_1 muxed to a single clock by a glitch
2356 * free mux to safely change frequency while running.
2358 assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
2359 <&clkc CLKID_MALI_0>,
2360 <&clkc CLKID_MALI>; /* Glitch free mux */
2361 assigned-clock-parents = <&clkc CLKID_FCLK_DIV2P5>,
2362 <0>, /* Do Nothing */
2363 <&clkc CLKID_MALI_0>;
2364 assigned-clock-rates = <0>, /* Do Nothing */
2366 <0>; /* Do Nothing */
2367 #cooling-cells = <2>;
2372 compatible = "arm,armv8-timer";
2373 interrupts = <GIC_PPI 13
2374 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
2376 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
2378 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
2380 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
2381 arm,no-tick-in-suspend;
2385 compatible = "fixed-clock";
2386 clock-frequency = <24000000>;
2387 clock-output-names = "xtal";