Lines Matching +full:g12a +full:- +full:cpu +full:- +full:thermal

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/axg-aoclkc.h>
7 #include <dt-bindings/clock/axg-audio-clkc.h>
8 #include <dt-bindings/clock/axg-clkc.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/gpio/meson-axg-gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
15 #include <dt-bindings/power/meson-axg-power.h>
18 compatible = "amlogic,meson-axg";
20 interrupt-parent = <&gic>;
21 #address-cells = <2>;
22 #size-cells = <2>;
24 tdmif_a: audio-controller-0 {
25 compatible = "amlogic,axg-tdm-iface";
26 #sound-dai-cells = <0>;
27 sound-name-prefix = "TDM_A";
31 clock-names = "mclk", "sclk", "lrclk";
35 tdmif_b: audio-controller-1 {
36 compatible = "amlogic,axg-tdm-iface";
37 #sound-dai-cells = <0>;
38 sound-name-prefix = "TDM_B";
42 clock-names = "mclk", "sclk", "lrclk";
46 tdmif_c: audio-controller-2 {
47 compatible = "amlogic,axg-tdm-iface";
48 #sound-dai-cells = <0>;
49 sound-name-prefix = "TDM_C";
53 clock-names = "mclk", "sclk", "lrclk";
57 arm-pmu {
58 compatible = "arm,cortex-a53-pmu";
63 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
67 #address-cells = <0x2>;
68 #size-cells = <0x0>;
70 cpu0: cpu@0 {
71 device_type = "cpu";
72 compatible = "arm,cortex-a53";
74 enable-method = "psci";
75 next-level-cache = <&l2>;
79 cpu1: cpu@1 {
80 device_type = "cpu";
81 compatible = "arm,cortex-a53";
83 enable-method = "psci";
84 next-level-cache = <&l2>;
88 cpu2: cpu@2 {
89 device_type = "cpu";
90 compatible = "arm,cortex-a53";
92 enable-method = "psci";
93 next-level-cache = <&l2>;
97 cpu3: cpu@3 {
98 device_type = "cpu";
99 compatible = "arm,cortex-a53";
101 enable-method = "psci";
102 next-level-cache = <&l2>;
106 l2: l2-cache0 {
111 sm: secure-monitor {
112 compatible = "amlogic,meson-gxbb-sm";
116 compatible = "amlogic,meson-gxbb-efuse";
118 #address-cells = <1>;
119 #size-cells = <1>;
120 read-only;
121 secure-monitor = <&sm>;
125 compatible = "arm,psci-1.0";
129 reserved-memory {
130 #address-cells = <2>;
131 #size-cells = <2>;
137 no-map;
143 no-map;
148 compatible = "arm,scpi-pre-1.0";
153 compatible = "arm,scpi-clocks";
155 scpi_dvfs: clock-controller {
156 compatible = "arm,scpi-dvfs-clocks";
157 #clock-cells = <1>;
158 clock-indices = <0>;
159 clock-output-names = "vcpu";
164 compatible = "amlogic,meson-gxbb-scpi-sensors";
165 #thermal-sensor-cells = <1>;
170 compatible = "simple-bus";
171 #address-cells = <2>;
172 #size-cells = <2>;
176 compatible = "amlogic,axg-pcie", "snps,dw-pcie";
180 reg-names = "elbi", "cfg", "config";
182 #interrupt-cells = <1>;
183 interrupt-map-mask = <0 0 0 0>;
184 interrupt-map = <0 0 0 0 &gic GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
185 bus-range = <0x0 0xff>;
186 #address-cells = <3>;
187 #size-cells = <2>;
192 clock-names = "general", "pclk", "port";
194 reset-names = "port", "apb";
195 num-lanes = <1>;
197 phy-names = "pcie";
202 compatible = "amlogic,axg-pcie", "snps,dw-pcie";
206 reg-names = "elbi", "cfg", "config";
208 #interrupt-cells = <1>;
209 interrupt-map-mask = <0 0 0 0>;
210 interrupt-map = <0 0 0 0 &gic GIC_SPI 169 IRQ_TYPE_EDGE_RISING>;
211 bus-range = <0x0 0xff>;
212 #address-cells = <3>;
213 #size-cells = <2>;
218 clock-names = "general", "pclk", "port";
220 reset-names = "port", "apb";
221 num-lanes = <1>;
223 phy-names = "pcie";
228 compatible = "amlogic,meson-axg-usb-ctrl";
231 #address-cells = <2>;
232 #size-cells = <2>;
236 clock-names = "usb_ctrl", "ddr";
242 phy-names = "usb2-phy1";
245 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
249 clock-names = "otg";
252 g-rx-fifo-size = <192>;
253 g-np-tx-fifo-size = <128>;
254 g-tx-fifo-size = <128 128 16 16 16>;
262 maximum-speed = "high-speed";
268 compatible = "amlogic,meson-axg-dwmac",
269 "snps,dwmac-3.70a",
274 interrupt-names = "macirq";
279 clock-names = "stmmaceth", "clkin0", "clkin1",
280 "timing-adjustment";
281 rx-fifo-depth = <4096>;
282 tx-fifo-depth = <2048>;
283 power-domains = <&pwrc PWRC_AXG_ETHERNET_MEM_ID>;
288 compatible = "amlogic,axg-pcie-phy";
292 phy-names = "analog";
293 #phy-cells = <0>;
296 pdm: audio-controller@ff632000 {
297 compatible = "amlogic,axg-pdm";
299 #sound-dai-cells = <0>;
300 sound-name-prefix = "PDM";
304 clock-names = "pclk", "dclk", "sysclk";
309 compatible = "simple-bus";
311 #address-cells = <2>;
312 #size-cells = <2>;
316 compatible = "amlogic,meson-rng";
319 clock-names = "core";
323 compatible = "amlogic,meson-axg-periphs-pinctrl";
324 #address-cells = <2>;
325 #size-cells = <2>;
333 reg-names = "mux", "pull", "pull-enable", "gpio";
334 gpio-controller;
335 #gpio-cells = <2>;
336 gpio-ranges = <&pinctrl_periphs 0 0 86>;
344 bias-disable;
353 bias-disable;
362 bias-disable;
371 bias-disable;
380 bias-disable;
389 bias-disable;
398 bias-disable;
407 bias-disable;
412 mux-0 {
423 bias-pull-up;
426 mux-1 {
429 bias-disable;
437 bias-pull-down;
445 bias-pull-down;
449 eth_rgmii_x_pins: eth-x-rgmii {
466 bias-disable;
470 eth_rgmii_y_pins: eth-y-rgmii {
487 bias-disable;
491 eth_rmii_x_pins: eth-x-rmii {
503 bias-disable;
507 eth_rmii_y_pins: eth-y-rmii {
519 bias-disable;
527 bias-disable;
535 bias-disable;
543 bias-disable;
551 bias-disable;
559 bias-disable;
567 bias-disable;
575 bias-disable;
583 bias-disable;
591 bias-disable;
599 bias-disable;
607 bias-disable;
615 bias-disable;
623 bias-disable;
631 bias-disable;
639 bias-disable;
647 bias-disable;
655 bias-disable;
663 bias-disable;
671 bias-disable;
679 bias-disable;
684 mux-0 {
691 bias-pull-up;
694 mux-1 {
697 bias-disable;
705 bias-pull-down;
713 bias-disable;
721 bias-disable;
729 bias-disable;
737 bias-disable;
745 bias-disable;
753 bias-disable;
761 bias-disable;
769 bias-disable;
777 bias-disable;
785 bias-disable;
795 bias-disable;
803 bias-disable;
811 bias-disable;
819 bias-disable;
829 bias-disable;
837 bias-disable;
845 bias-disable;
855 bias-disable;
863 bias-disable;
871 bias-disable;
879 bias-disable;
887 bias-disable;
895 bias-disable;
903 bias-disable;
911 bias-disable;
919 bias-disable;
927 bias-disable;
935 bias-disable;
943 bias-disable;
951 bias-disable;
959 bias-disable;
967 bias-disable;
975 bias-disable;
983 bias-disable;
991 bias-disable;
999 bias-disable;
1007 bias-disable;
1015 bias-disable;
1023 bias-disable;
1031 bias-disable;
1039 bias-disable;
1047 bias-disable;
1055 bias-disable;
1063 bias-disable;
1071 bias-disable;
1079 bias-disable;
1087 bias-disable;
1095 bias-disable;
1103 bias-disable;
1111 bias-disable;
1119 bias-disable;
1127 bias-disable;
1136 bias-disable;
1145 bias-disable;
1154 bias-disable;
1163 bias-disable;
1172 bias-disable;
1181 bias-disable;
1190 bias-disable;
1199 bias-disable;
1206 compatible = "simple-bus";
1208 #address-cells = <2>;
1209 #size-cells = <2>;
1212 sysctrl: system-controller@0 {
1213 compatible = "amlogic,meson-axg-hhi-sysctrl",
1214 "simple-mfd", "syscon";
1217 clkc: clock-controller {
1218 compatible = "amlogic,axg-clkc";
1219 #clock-cells = <1>;
1221 clock-names = "xtal";
1224 pwrc: power-controller {
1225 compatible = "amlogic,meson-axg-pwrc";
1226 #power-domain-cells = <1>;
1227 amlogic,ao-sysctrl = <&sysctrl_AO>;
1233 reset-names = "viu", "venc", "vcbus",
1237 clock-names = "vpu", "vapb";
1244 assigned-clocks = <&clkc CLKID_VPU_0_SEL>,
1250 assigned-clock-parents = <&clkc CLKID_FCLK_DIV4>,
1256 assigned-clock-rates = <0>, /* Do Nothing */
1265 compatible = "amlogic,axg-mipi-pcie-analog-phy";
1266 #phy-cells = <0>;
1273 compatible = "amlogic,meson-gxbb-mhu";
1278 #mbox-cells = <1>;
1282 compatible = "amlogic,axg-mipi-dphy";
1285 clock-names = "pclk";
1287 reset-names = "phy";
1289 phy-names = "analog";
1290 #phy-cells = <0>;
1295 compatible = "simple-bus";
1297 #address-cells = <2>;
1298 #size-cells = <2>;
1301 clkc_audio: clock-controller@0 {
1302 compatible = "amlogic,axg-audio-clkc";
1304 #clock-cells = <1>;
1315 clock-names = "pclk",
1328 toddr_a: audio-controller@100 {
1329 compatible = "amlogic,axg-toddr";
1331 #sound-dai-cells = <0>;
1332 sound-name-prefix = "TODDR_A";
1336 amlogic,fifo-depth = <512>;
1340 toddr_b: audio-controller@140 {
1341 compatible = "amlogic,axg-toddr";
1343 #sound-dai-cells = <0>;
1344 sound-name-prefix = "TODDR_B";
1348 amlogic,fifo-depth = <256>;
1352 toddr_c: audio-controller@180 {
1353 compatible = "amlogic,axg-toddr";
1355 #sound-dai-cells = <0>;
1356 sound-name-prefix = "TODDR_C";
1360 amlogic,fifo-depth = <256>;
1364 frddr_a: audio-controller@1c0 {
1365 compatible = "amlogic,axg-frddr";
1367 #sound-dai-cells = <0>;
1368 sound-name-prefix = "FRDDR_A";
1372 amlogic,fifo-depth = <512>;
1376 frddr_b: audio-controller@200 {
1377 compatible = "amlogic,axg-frddr";
1379 #sound-dai-cells = <0>;
1380 sound-name-prefix = "FRDDR_B";
1384 amlogic,fifo-depth = <256>;
1388 frddr_c: audio-controller@240 {
1389 compatible = "amlogic,axg-frddr";
1391 #sound-dai-cells = <0>;
1392 sound-name-prefix = "FRDDR_C";
1396 amlogic,fifo-depth = <256>;
1400 arb: reset-controller@280 {
1401 compatible = "amlogic,meson-axg-audio-arb";
1403 #reset-cells = <1>;
1407 tdmin_a: audio-controller@300 {
1408 compatible = "amlogic,axg-tdmin";
1410 sound-name-prefix = "TDMIN_A";
1416 clock-names = "pclk", "sclk", "sclk_sel",
1421 tdmin_b: audio-controller@340 {
1422 compatible = "amlogic,axg-tdmin";
1424 sound-name-prefix = "TDMIN_B";
1430 clock-names = "pclk", "sclk", "sclk_sel",
1435 tdmin_c: audio-controller@380 {
1436 compatible = "amlogic,axg-tdmin";
1438 sound-name-prefix = "TDMIN_C";
1444 clock-names = "pclk", "sclk", "sclk_sel",
1449 tdmin_lb: audio-controller@3c0 {
1450 compatible = "amlogic,axg-tdmin";
1452 sound-name-prefix = "TDMIN_LB";
1458 clock-names = "pclk", "sclk", "sclk_sel",
1463 spdifin: audio-controller@400 {
1464 compatible = "amlogic,axg-spdifin";
1466 #sound-dai-cells = <0>;
1467 sound-name-prefix = "SPDIFIN";
1471 clock-names = "pclk", "refclk";
1475 spdifout: audio-controller@480 {
1476 compatible = "amlogic,axg-spdifout";
1478 #sound-dai-cells = <0>;
1479 sound-name-prefix = "SPDIFOUT";
1482 clock-names = "pclk", "mclk";
1486 tdmout_a: audio-controller@500 {
1487 compatible = "amlogic,axg-tdmout";
1489 sound-name-prefix = "TDMOUT_A";
1495 clock-names = "pclk", "sclk", "sclk_sel",
1500 tdmout_b: audio-controller@540 {
1501 compatible = "amlogic,axg-tdmout";
1503 sound-name-prefix = "TDMOUT_B";
1509 clock-names = "pclk", "sclk", "sclk_sel",
1514 tdmout_c: audio-controller@580 {
1515 compatible = "amlogic,axg-tdmout";
1517 sound-name-prefix = "TDMOUT_C";
1523 clock-names = "pclk", "sclk", "sclk_sel",
1530 compatible = "simple-bus";
1532 #address-cells = <2>;
1533 #size-cells = <2>;
1536 sysctrl_AO: sys-ctrl@0 {
1537 compatible = "amlogic,meson-axg-ao-sysctrl", "simple-mfd", "syscon";
1540 clkc_AO: clock-controller {
1541 compatible = "amlogic,meson-axg-aoclkc";
1542 #clock-cells = <1>;
1543 #reset-cells = <1>;
1545 clock-names = "xtal", "mpeg-clk";
1550 compatible = "amlogic,meson-axg-aobus-pinctrl";
1551 #address-cells = <2>;
1552 #size-cells = <2>;
1559 reg-names = "mux", "pull", "gpio";
1560 gpio-controller;
1561 #gpio-cells = <2>;
1562 gpio-ranges = <&pinctrl_aobus 0 0 15>;
1569 bias-disable;
1577 bias-disable;
1585 bias-disable;
1593 bias-disable;
1601 bias-disable;
1609 bias-disable;
1617 bias-disable;
1626 bias-disable;
1635 bias-disable;
1644 bias-disable;
1653 bias-disable;
1658 sec_AO: ao-secure@140 {
1659 compatible = "amlogic,meson-gx-ao-secure", "syscon";
1661 amlogic,has-chip-id;
1665 compatible = "amlogic,meson-axg-ao-pwm";
1667 #pwm-cells = <3>;
1672 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
1676 clock-names = "xtal", "pclk", "baud";
1681 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
1685 clock-names = "xtal", "pclk", "baud";
1690 compatible = "amlogic,meson-axg-i2c";
1694 #address-cells = <1>;
1695 #size-cells = <0>;
1700 compatible = "amlogic,meson-axg-ao-pwm";
1702 #pwm-cells = <3>;
1707 compatible = "amlogic,meson-gxbb-ir";
1714 compatible = "amlogic,meson-axg-saradc",
1715 "amlogic,meson-saradc";
1717 #io-channel-cells = <1>;
1723 clock-names = "clkin", "core", "adc_clk", "adc_sel";
1729 compatible = "amlogic,axg-ge2d";
1736 gic: interrupt-controller@ffc01000 {
1737 compatible = "arm,gic-400";
1742 interrupt-controller;
1745 #interrupt-cells = <3>;
1746 #address-cells = <0>;
1750 compatible = "simple-bus";
1752 #address-cells = <2>;
1753 #size-cells = <2>;
1756 reset: reset-controller@1004 {
1757 compatible = "amlogic,meson-axg-reset";
1759 #reset-cells = <1>;
1762 gpio_intc: interrupt-controller@f080 {
1763 compatible = "amlogic,meson-axg-gpio-intc",
1764 "amlogic,meson-gpio-intc";
1766 interrupt-controller;
1767 #interrupt-cells = <2>;
1768 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
1772 compatible = "amlogic,meson-gxbb-wdt";
1778 compatible = "amlogic,meson-axg-ee-pwm";
1780 #pwm-cells = <3>;
1785 compatible = "amlogic,meson-axg-ee-pwm";
1787 #pwm-cells = <3>;
1792 compatible = "amlogic,meson-axg-spicc";
1796 clock-names = "core";
1797 #address-cells = <1>;
1798 #size-cells = <0>;
1803 compatible = "amlogic,meson-axg-spicc";
1807 clock-names = "core";
1808 #address-cells = <1>;
1809 #size-cells = <0>;
1813 clk_msr: clock-measure@18000 {
1814 compatible = "amlogic,meson-axg-clk-measure";
1819 compatible = "amlogic,meson-axg-i2c";
1823 #address-cells = <1>;
1824 #size-cells = <0>;
1829 compatible = "amlogic,meson-axg-i2c";
1833 #address-cells = <1>;
1834 #size-cells = <0>;
1839 compatible = "amlogic,meson-axg-i2c";
1843 #address-cells = <1>;
1844 #size-cells = <0>;
1849 compatible = "amlogic,meson-axg-i2c";
1853 #address-cells = <1>;
1854 #size-cells = <0>;
1859 compatible = "amlogic,meson-gx-uart";
1864 clock-names = "xtal", "pclk", "baud";
1868 compatible = "amlogic,meson-gx-uart";
1873 clock-names = "xtal", "pclk", "baud";
1874 fifo-size = <128>;
1879 compatible = "simple-bus";
1881 #address-cells = <2>;
1882 #size-cells = <2>;
1886 compatible = "amlogic,meson-axg-mmc";
1893 clock-names = "core", "clkin0", "clkin1";
1898 compatible = "amlogic,meson-axg-mmc";
1905 clock-names = "core", "clkin0", "clkin1";
1910 compatible = "amlogic,meson-gxl-usb2-phy";
1911 #phy-cells = <0>;
1914 clock-names = "phy";
1916 reset-names = "phy";
1921 compatible = "mmio-sram";
1923 #address-cells = <1>;
1924 #size-cells = <1>;
1927 cpu_scp_lpri: scp-sram@13000 {
1928 compatible = "amlogic,meson-axg-scp-shmem";
1932 cpu_scp_hpri: scp-sram@13400 {
1933 compatible = "amlogic,meson-axg-scp-shmem";
1940 compatible = "arm,armv8-timer";
1951 xtal: xtal-clk {
1952 compatible = "fixed-clock";
1953 clock-frequency = <24000000>;
1954 clock-output-names = "xtal";
1955 #clock-cells = <0>;