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 = "sclk", "lrclk", "mclk";
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 = "sclk", "lrclk", "mclk";
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 = "sclk", "lrclk", "mclk";
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>;
77 dynamic-power-coefficient = <140>;
78 #cooling-cells = <2>;
81 cpu1: cpu@1 {
82 device_type = "cpu";
83 compatible = "arm,cortex-a53";
85 enable-method = "psci";
86 next-level-cache = <&l2>;
88 dynamic-power-coefficient = <140>;
89 #cooling-cells = <2>;
92 cpu2: cpu@2 {
93 device_type = "cpu";
94 compatible = "arm,cortex-a53";
96 enable-method = "psci";
97 next-level-cache = <&l2>;
99 dynamic-power-coefficient = <140>;
100 #cooling-cells = <2>;
103 cpu3: cpu@3 {
104 device_type = "cpu";
105 compatible = "arm,cortex-a53";
107 enable-method = "psci";
108 next-level-cache = <&l2>;
110 dynamic-power-coefficient = <140>;
111 #cooling-cells = <2>;
114 l2: l2-cache0 {
116 cache-level = <2>;
117 cache-unified;
121 sm: secure-monitor {
122 compatible = "amlogic,meson-gxbb-sm";
126 compatible = "amlogic,meson-gxbb-efuse";
128 #address-cells = <1>;
129 #size-cells = <1>;
130 read-only;
131 secure-monitor = <&sm>;
135 compatible = "arm,psci-1.0";
139 reserved-memory {
140 #address-cells = <2>;
141 #size-cells = <2>;
147 no-map;
153 no-map;
158 compatible = "arm,scpi-pre-1.0";
163 compatible = "arm,scpi-clocks";
165 scpi_dvfs: clocks-0 {
166 compatible = "arm,scpi-dvfs-clocks";
167 #clock-cells = <1>;
168 clock-indices = <0>;
169 clock-output-names = "vcpu";
174 compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";
175 #thermal-sensor-cells = <1>;
180 compatible = "simple-bus";
181 #address-cells = <2>;
182 #size-cells = <2>;
186 compatible = "amlogic,axg-pcie", "snps,dw-pcie";
190 reg-names = "elbi", "cfg", "config";
192 #interrupt-cells = <1>;
193 interrupt-map-mask = <0 0 0 0>;
194 interrupt-map = <0 0 0 0 &gic GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
195 bus-range = <0x0 0xff>;
196 #address-cells = <3>;
197 #size-cells = <2>;
202 clock-names = "general", "pclk", "port";
204 reset-names = "port", "apb";
205 num-lanes = <1>;
207 phy-names = "pcie";
212 compatible = "amlogic,axg-pcie", "snps,dw-pcie";
216 reg-names = "elbi", "cfg", "config";
218 #interrupt-cells = <1>;
219 interrupt-map-mask = <0 0 0 0>;
220 interrupt-map = <0 0 0 0 &gic GIC_SPI 169 IRQ_TYPE_EDGE_RISING>;
221 bus-range = <0x0 0xff>;
222 #address-cells = <3>;
223 #size-cells = <2>;
228 clock-names = "general", "pclk", "port";
230 reset-names = "port", "apb";
231 num-lanes = <1>;
233 phy-names = "pcie";
238 compatible = "amlogic,meson-axg-usb-ctrl";
241 #address-cells = <2>;
242 #size-cells = <2>;
246 clock-names = "usb_ctrl", "ddr";
252 phy-names = "usb2-phy1";
255 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
259 clock-names = "otg";
262 g-rx-fifo-size = <192>;
263 g-np-tx-fifo-size = <128>;
264 g-tx-fifo-size = <128 128 16 16 16>;
272 maximum-speed = "high-speed";
278 compatible = "amlogic,meson-axg-dwmac",
279 "snps,dwmac-3.70a",
284 interrupt-names = "macirq";
289 clock-names = "stmmaceth", "clkin0", "clkin1",
290 "timing-adjustment";
291 rx-fifo-depth = <4096>;
292 tx-fifo-depth = <2048>;
293 power-domains = <&pwrc PWRC_AXG_ETHERNET_MEM_ID>;
298 compatible = "amlogic,axg-pcie-phy";
302 phy-names = "analog";
303 #phy-cells = <0>;
306 pdm: audio-controller@ff632000 {
307 compatible = "amlogic,axg-pdm";
309 #sound-dai-cells = <0>;
310 sound-name-prefix = "PDM";
314 clock-names = "pclk", "dclk", "sysclk";
319 compatible = "simple-bus";
321 #address-cells = <2>;
322 #size-cells = <2>;
326 compatible = "amlogic,meson-rng";
329 clock-names = "core";
333 compatible = "amlogic,meson-axg-periphs-pinctrl";
334 #address-cells = <2>;
335 #size-cells = <2>;
343 reg-names = "mux", "pull", "pull-enable", "gpio";
344 gpio-controller;
345 #gpio-cells = <2>;
346 gpio-ranges = <&pinctrl_periphs 0 0 86>;
354 bias-disable;
363 bias-disable;
372 bias-disable;
381 bias-disable;
390 bias-disable;
399 bias-disable;
408 bias-disable;
417 bias-disable;
422 mux-0 {
433 bias-pull-up;
436 mux-1 {
439 bias-disable;
443 nand_all_pins: nand-all-pins {
459 input-enable;
460 bias-pull-up;
468 bias-pull-down;
476 bias-pull-down;
480 eth_rgmii_x_pins: eth-x-rgmii {
497 bias-disable;
501 eth_rgmii_y_pins: eth-y-rgmii {
518 bias-disable;
522 eth_rmii_x_pins: eth-x-rmii {
534 bias-disable;
538 eth_rmii_y_pins: eth-y-rmii {
550 bias-disable;
558 bias-disable;
566 bias-disable;
574 bias-disable;
582 bias-disable;
590 bias-disable;
598 bias-disable;
606 bias-disable;
614 bias-disable;
622 bias-disable;
630 bias-disable;
638 bias-disable;
646 bias-disable;
654 bias-disable;
662 bias-disable;
670 bias-disable;
678 bias-disable;
686 bias-disable;
694 bias-disable;
702 bias-disable;
710 bias-disable;
715 mux-0 {
722 bias-pull-up;
725 mux-1 {
728 bias-disable;
736 bias-pull-down;
744 bias-disable;
752 bias-disable;
760 bias-disable;
768 bias-disable;
776 bias-disable;
784 bias-disable;
792 bias-disable;
800 bias-disable;
808 bias-disable;
816 bias-disable;
826 bias-disable;
834 bias-disable;
842 bias-disable;
850 bias-disable;
860 bias-disable;
868 bias-disable;
876 bias-disable;
886 bias-disable;
894 bias-disable;
902 bias-disable;
910 bias-disable;
918 bias-disable;
926 bias-disable;
934 bias-disable;
942 bias-disable;
950 bias-disable;
958 bias-disable;
966 bias-disable;
974 bias-disable;
982 bias-disable;
990 bias-disable;
998 bias-disable;
1006 bias-disable;
1014 bias-disable;
1022 bias-disable;
1030 bias-disable;
1038 bias-disable;
1046 bias-disable;
1054 bias-disable;
1062 bias-disable;
1070 bias-disable;
1078 bias-disable;
1086 bias-disable;
1094 bias-disable;
1102 bias-disable;
1110 bias-disable;
1118 bias-disable;
1126 bias-disable;
1134 bias-disable;
1142 bias-disable;
1150 bias-disable;
1158 bias-disable;
1167 bias-disable;
1176 bias-disable;
1185 bias-disable;
1194 bias-disable;
1203 bias-disable;
1212 bias-disable;
1221 bias-disable;
1230 bias-disable;
1237 compatible = "simple-bus";
1239 #address-cells = <2>;
1240 #size-cells = <2>;
1243 sysctrl: system-controller@0 {
1244 compatible = "amlogic,meson-axg-hhi-sysctrl",
1245 "simple-mfd", "syscon";
1248 clkc: clock-controller {
1249 compatible = "amlogic,axg-clkc";
1250 #clock-cells = <1>;
1252 clock-names = "xtal";
1255 pwrc: power-controller {
1256 compatible = "amlogic,meson-axg-pwrc";
1257 #power-domain-cells = <1>;
1258 amlogic,ao-sysctrl = <&sysctrl_AO>;
1264 reset-names = "viu", "venc", "vcbus",
1268 clock-names = "vpu", "vapb";
1275 assigned-clocks = <&clkc CLKID_VPU_0_SEL>,
1281 assigned-clock-parents = <&clkc CLKID_FCLK_DIV4>,
1287 assigned-clock-rates = <0>, /* Do Nothing */
1296 compatible = "amlogic,axg-mipi-pcie-analog-phy";
1297 #phy-cells = <0>;
1304 compatible = "amlogic,meson-gxbb-mhu";
1309 #mbox-cells = <1>;
1313 compatible = "amlogic,axg-mipi-dphy";
1316 clock-names = "pclk";
1318 reset-names = "phy";
1320 phy-names = "analog";
1321 #phy-cells = <0>;
1326 compatible = "simple-bus";
1328 #address-cells = <2>;
1329 #size-cells = <2>;
1332 clkc_audio: clock-controller@0 {
1333 compatible = "amlogic,axg-audio-clkc";
1335 #clock-cells = <1>;
1346 clock-names = "pclk",
1359 toddr_a: audio-controller@100 {
1360 compatible = "amlogic,axg-toddr";
1362 #sound-dai-cells = <0>;
1363 sound-name-prefix = "TODDR_A";
1367 amlogic,fifo-depth = <512>;
1371 toddr_b: audio-controller@140 {
1372 compatible = "amlogic,axg-toddr";
1374 #sound-dai-cells = <0>;
1375 sound-name-prefix = "TODDR_B";
1379 amlogic,fifo-depth = <256>;
1383 toddr_c: audio-controller@180 {
1384 compatible = "amlogic,axg-toddr";
1386 #sound-dai-cells = <0>;
1387 sound-name-prefix = "TODDR_C";
1391 amlogic,fifo-depth = <256>;
1395 frddr_a: audio-controller@1c0 {
1396 compatible = "amlogic,axg-frddr";
1398 #sound-dai-cells = <0>;
1399 sound-name-prefix = "FRDDR_A";
1403 amlogic,fifo-depth = <512>;
1407 frddr_b: audio-controller@200 {
1408 compatible = "amlogic,axg-frddr";
1410 #sound-dai-cells = <0>;
1411 sound-name-prefix = "FRDDR_B";
1415 amlogic,fifo-depth = <256>;
1419 frddr_c: audio-controller@240 {
1420 compatible = "amlogic,axg-frddr";
1422 #sound-dai-cells = <0>;
1423 sound-name-prefix = "FRDDR_C";
1427 amlogic,fifo-depth = <256>;
1431 arb: reset-controller@280 {
1432 compatible = "amlogic,meson-axg-audio-arb";
1434 #reset-cells = <1>;
1438 tdmin_a: audio-controller@300 {
1439 compatible = "amlogic,axg-tdmin";
1441 sound-name-prefix = "TDMIN_A";
1447 clock-names = "pclk", "sclk", "sclk_sel",
1452 tdmin_b: audio-controller@340 {
1453 compatible = "amlogic,axg-tdmin";
1455 sound-name-prefix = "TDMIN_B";
1461 clock-names = "pclk", "sclk", "sclk_sel",
1466 tdmin_c: audio-controller@380 {
1467 compatible = "amlogic,axg-tdmin";
1469 sound-name-prefix = "TDMIN_C";
1475 clock-names = "pclk", "sclk", "sclk_sel",
1480 tdmin_lb: audio-controller@3c0 {
1481 compatible = "amlogic,axg-tdmin";
1483 sound-name-prefix = "TDMIN_LB";
1489 clock-names = "pclk", "sclk", "sclk_sel",
1494 spdifin: audio-controller@400 {
1495 compatible = "amlogic,axg-spdifin";
1497 #sound-dai-cells = <0>;
1498 sound-name-prefix = "SPDIFIN";
1502 clock-names = "pclk", "refclk";
1506 spdifout: audio-controller@480 {
1507 compatible = "amlogic,axg-spdifout";
1509 #sound-dai-cells = <0>;
1510 sound-name-prefix = "SPDIFOUT";
1513 clock-names = "pclk", "mclk";
1517 tdmout_a: audio-controller@500 {
1518 compatible = "amlogic,axg-tdmout";
1520 sound-name-prefix = "TDMOUT_A";
1526 clock-names = "pclk", "sclk", "sclk_sel",
1531 tdmout_b: audio-controller@540 {
1532 compatible = "amlogic,axg-tdmout";
1534 sound-name-prefix = "TDMOUT_B";
1540 clock-names = "pclk", "sclk", "sclk_sel",
1545 tdmout_c: audio-controller@580 {
1546 compatible = "amlogic,axg-tdmout";
1548 sound-name-prefix = "TDMOUT_C";
1554 clock-names = "pclk", "sclk", "sclk_sel",
1561 compatible = "simple-bus";
1563 #address-cells = <2>;
1564 #size-cells = <2>;
1567 sysctrl_AO: sys-ctrl@0 {
1568 compatible = "amlogic,meson-axg-ao-sysctrl", "simple-mfd", "syscon";
1571 clkc_AO: clock-controller {
1572 compatible = "amlogic,meson-axg-aoclkc";
1573 #clock-cells = <1>;
1574 #reset-cells = <1>;
1576 clock-names = "xtal", "mpeg-clk";
1581 compatible = "amlogic,meson-axg-aobus-pinctrl";
1582 #address-cells = <2>;
1583 #size-cells = <2>;
1590 reg-names = "mux", "pull", "gpio";
1591 gpio-controller;
1592 #gpio-cells = <2>;
1593 gpio-ranges = <&pinctrl_aobus 0 0 15>;
1600 bias-disable;
1608 bias-disable;
1616 bias-disable;
1624 bias-disable;
1632 bias-disable;
1640 bias-disable;
1648 bias-disable;
1657 bias-disable;
1666 bias-disable;
1675 bias-disable;
1684 bias-disable;
1689 sec_AO: ao-secure@140 {
1690 compatible = "amlogic,meson-gx-ao-secure", "syscon";
1692 amlogic,has-chip-id;
1696 compatible = "amlogic,meson-axg-ao-pwm";
1698 #pwm-cells = <3>;
1703 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
1707 clock-names = "xtal", "pclk", "baud";
1712 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
1716 clock-names = "xtal", "pclk", "baud";
1721 compatible = "amlogic,meson-axg-i2c";
1725 #address-cells = <1>;
1726 #size-cells = <0>;
1731 compatible = "amlogic,meson-axg-ao-pwm";
1733 #pwm-cells = <3>;
1738 compatible = "amlogic,meson-gxbb-ir";
1745 compatible = "amlogic,meson-axg-saradc",
1746 "amlogic,meson-saradc";
1748 #io-channel-cells = <1>;
1754 clock-names = "clkin", "core", "adc_clk", "adc_sel";
1760 compatible = "amlogic,axg-ge2d";
1767 gic: interrupt-controller@ffc01000 {
1768 compatible = "arm,gic-400";
1773 interrupt-controller;
1776 #interrupt-cells = <3>;
1777 #address-cells = <0>;
1781 compatible = "simple-bus";
1783 #address-cells = <2>;
1784 #size-cells = <2>;
1787 reset: reset-controller@1004 {
1788 compatible = "amlogic,meson-axg-reset";
1790 #reset-cells = <1>;
1793 gpio_intc: interrupt-controller@f080 {
1794 compatible = "amlogic,meson-axg-gpio-intc",
1795 "amlogic,meson-gpio-intc";
1797 interrupt-controller;
1798 #interrupt-cells = <2>;
1799 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
1803 compatible = "amlogic,meson-gxbb-wdt";
1809 compatible = "amlogic,meson-axg-ee-pwm";
1811 #pwm-cells = <3>;
1816 compatible = "amlogic,meson-axg-ee-pwm";
1818 #pwm-cells = <3>;
1823 compatible = "amlogic,meson-axg-spicc";
1827 clock-names = "core";
1828 #address-cells = <1>;
1829 #size-cells = <0>;
1834 compatible = "amlogic,meson-axg-spicc";
1838 clock-names = "core";
1839 #address-cells = <1>;
1840 #size-cells = <0>;
1844 clk_msr: clock-measure@18000 {
1845 compatible = "amlogic,meson-axg-clk-measure";
1850 compatible = "amlogic,meson-axg-i2c";
1854 #address-cells = <1>;
1855 #size-cells = <0>;
1860 compatible = "amlogic,meson-axg-i2c";
1864 #address-cells = <1>;
1865 #size-cells = <0>;
1870 compatible = "amlogic,meson-axg-i2c";
1874 #address-cells = <1>;
1875 #size-cells = <0>;
1880 compatible = "amlogic,meson-axg-i2c";
1884 #address-cells = <1>;
1885 #size-cells = <0>;
1890 compatible = "amlogic,meson-gx-uart";
1895 clock-names = "xtal", "pclk", "baud";
1899 compatible = "amlogic,meson-gx-uart";
1904 clock-names = "xtal", "pclk", "baud";
1905 fifo-size = <128>;
1910 compatible = "simple-bus";
1912 #address-cells = <2>;
1913 #size-cells = <2>;
1917 compatible = "amlogic,meson-axg-mmc";
1924 clock-names = "core", "clkin0", "clkin1";
1929 compatible = "amlogic,meson-axg-mmc";
1936 clock-names = "core", "clkin0", "clkin1";
1940 nfc: nand-controller@7800 {
1941 compatible = "amlogic,meson-axg-nfc";
1944 reg-names = "nfc", "emmc";
1945 pinctrl-0 = <&nand_all_pins>;
1946 pinctrl-names = "default";
1947 #address-cells = <1>;
1948 #size-cells = <0>;
1952 clock-names = "core", "device";
1956 compatible = "amlogic,meson-gxl-usb2-phy";
1957 #phy-cells = <0>;
1960 clock-names = "phy";
1962 reset-names = "phy";
1967 compatible = "mmio-sram";
1969 #address-cells = <1>;
1970 #size-cells = <1>;
1973 cpu_scp_lpri: scp-sram@13000 {
1974 compatible = "amlogic,meson-axg-scp-shmem";
1978 cpu_scp_hpri: scp-sram@13400 {
1979 compatible = "amlogic,meson-axg-scp-shmem";
1986 compatible = "arm,armv8-timer";
1997 xtal: xtal-clk {
1998 compatible = "fixed-clock";
1999 clock-frequency = <24000000>;
2000 clock-output-names = "xtal";
2001 #clock-cells = <0>;