1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (c) 2019 BayLibre, SAS 4c66ec88fSEmmanuel Vadot * Author: Neil Armstrong <narmstrong@baylibre.com> 5c66ec88fSEmmanuel Vadot */ 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadot#include "meson-g12.dtsi" 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadot/ { 10c66ec88fSEmmanuel Vadot compatible = "amlogic,g12b"; 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadot cpus { 13c66ec88fSEmmanuel Vadot #address-cells = <0x2>; 14c66ec88fSEmmanuel Vadot #size-cells = <0x0>; 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot cpu-map { 17c66ec88fSEmmanuel Vadot cluster0 { 18c66ec88fSEmmanuel Vadot core0 { 19c66ec88fSEmmanuel Vadot cpu = <&cpu0>; 20c66ec88fSEmmanuel Vadot }; 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadot core1 { 23c66ec88fSEmmanuel Vadot cpu = <&cpu1>; 24c66ec88fSEmmanuel Vadot }; 25c66ec88fSEmmanuel Vadot }; 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot cluster1 { 28c66ec88fSEmmanuel Vadot core0 { 29c66ec88fSEmmanuel Vadot cpu = <&cpu100>; 30c66ec88fSEmmanuel Vadot }; 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot core1 { 33c66ec88fSEmmanuel Vadot cpu = <&cpu101>; 34c66ec88fSEmmanuel Vadot }; 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot core2 { 37c66ec88fSEmmanuel Vadot cpu = <&cpu102>; 38c66ec88fSEmmanuel Vadot }; 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot core3 { 41c66ec88fSEmmanuel Vadot cpu = <&cpu103>; 42c66ec88fSEmmanuel Vadot }; 43c66ec88fSEmmanuel Vadot }; 44c66ec88fSEmmanuel Vadot }; 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot cpu0: cpu@0 { 47c66ec88fSEmmanuel Vadot device_type = "cpu"; 48c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 49c66ec88fSEmmanuel Vadot reg = <0x0 0x0>; 50c66ec88fSEmmanuel Vadot enable-method = "psci"; 51c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <592>; 52c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 53c66ec88fSEmmanuel Vadot #cooling-cells = <2>; 54c66ec88fSEmmanuel Vadot }; 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadot cpu1: cpu@1 { 57c66ec88fSEmmanuel Vadot device_type = "cpu"; 58c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 59c66ec88fSEmmanuel Vadot reg = <0x0 0x1>; 60c66ec88fSEmmanuel Vadot enable-method = "psci"; 61c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <592>; 62c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 63c66ec88fSEmmanuel Vadot #cooling-cells = <2>; 64c66ec88fSEmmanuel Vadot }; 65c66ec88fSEmmanuel Vadot 66c66ec88fSEmmanuel Vadot cpu100: cpu@100 { 67c66ec88fSEmmanuel Vadot device_type = "cpu"; 68c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a73"; 69c66ec88fSEmmanuel Vadot reg = <0x0 0x100>; 70c66ec88fSEmmanuel Vadot enable-method = "psci"; 71c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <1024>; 72c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 73c66ec88fSEmmanuel Vadot #cooling-cells = <2>; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot cpu101: cpu@101 { 77c66ec88fSEmmanuel Vadot device_type = "cpu"; 78c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a73"; 79c66ec88fSEmmanuel Vadot reg = <0x0 0x101>; 80c66ec88fSEmmanuel Vadot enable-method = "psci"; 81c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <1024>; 82c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 83c66ec88fSEmmanuel Vadot #cooling-cells = <2>; 84c66ec88fSEmmanuel Vadot }; 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadot cpu102: cpu@102 { 87c66ec88fSEmmanuel Vadot device_type = "cpu"; 88c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a73"; 89c66ec88fSEmmanuel Vadot reg = <0x0 0x102>; 90c66ec88fSEmmanuel Vadot enable-method = "psci"; 91c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <1024>; 92c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 93c66ec88fSEmmanuel Vadot #cooling-cells = <2>; 94c66ec88fSEmmanuel Vadot }; 95c66ec88fSEmmanuel Vadot 96c66ec88fSEmmanuel Vadot cpu103: cpu@103 { 97c66ec88fSEmmanuel Vadot device_type = "cpu"; 98c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a73"; 99c66ec88fSEmmanuel Vadot reg = <0x0 0x103>; 100c66ec88fSEmmanuel Vadot enable-method = "psci"; 101c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <1024>; 102c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 103c66ec88fSEmmanuel Vadot #cooling-cells = <2>; 104c66ec88fSEmmanuel Vadot }; 105c66ec88fSEmmanuel Vadot 106c66ec88fSEmmanuel Vadot l2: l2-cache0 { 107c66ec88fSEmmanuel Vadot compatible = "cache"; 1088bab661aSEmmanuel Vadot cache-level = <2>; 109*f126890aSEmmanuel Vadot cache-unified; 110c66ec88fSEmmanuel Vadot }; 111c66ec88fSEmmanuel Vadot }; 112c66ec88fSEmmanuel Vadot}; 113c66ec88fSEmmanuel Vadot 114c66ec88fSEmmanuel Vadot&clkc { 115c66ec88fSEmmanuel Vadot compatible = "amlogic,g12b-clkc"; 116c66ec88fSEmmanuel Vadot}; 117c66ec88fSEmmanuel Vadot 118c66ec88fSEmmanuel Vadot&cpu_thermal { 119c66ec88fSEmmanuel Vadot cooling-maps { 120c66ec88fSEmmanuel Vadot map0 { 121c66ec88fSEmmanuel Vadot trip = <&cpu_passive>; 122c66ec88fSEmmanuel Vadot cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 123c66ec88fSEmmanuel Vadot <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 124c66ec88fSEmmanuel Vadot <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 125c66ec88fSEmmanuel Vadot <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 126c66ec88fSEmmanuel Vadot <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 127c66ec88fSEmmanuel Vadot <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 128c66ec88fSEmmanuel Vadot }; 129c66ec88fSEmmanuel Vadot map1 { 130c66ec88fSEmmanuel Vadot trip = <&cpu_hot>; 131c66ec88fSEmmanuel Vadot cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 132c66ec88fSEmmanuel Vadot <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 133c66ec88fSEmmanuel Vadot <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 134c66ec88fSEmmanuel Vadot <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 135c66ec88fSEmmanuel Vadot <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 136c66ec88fSEmmanuel Vadot <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 137c66ec88fSEmmanuel Vadot }; 138c66ec88fSEmmanuel Vadot }; 139c66ec88fSEmmanuel Vadot}; 1405def4c47SEmmanuel Vadot 1415def4c47SEmmanuel Vadot&mali { 1425def4c47SEmmanuel Vadot dma-coherent; 1435def4c47SEmmanuel Vadot}; 1448bab661aSEmmanuel Vadot 1458bab661aSEmmanuel Vadot&pmu { 1468bab661aSEmmanuel Vadot compatible = "amlogic,g12b-ddr-pmu"; 1478bab661aSEmmanuel Vadot}; 148cb7aa33aSEmmanuel Vadot 149cb7aa33aSEmmanuel Vadot&npu { 150cb7aa33aSEmmanuel Vadot power-domains = <&pwrc PWRC_G12A_NNA_ID>; 151cb7aa33aSEmmanuel Vadot}; 152