blob: 24e6e1f86f7912cfc18d54c1382e2e59e88c8003 [file] [log] [blame]
// SPDX-License-Identifier: GPL-2.0-only
/*
* Edge TPU device tree source
*
* Copyright 2020 Google,LLC
*
*/
/ {
/* TPU */
edgetpu: abrolhos@1CE00000 {
compatible = "google,edgetpu-gs101";
#dma-address-cells = <1>;
#dma-size-cells = <1>;
/* TPU uses regions under 0x18000000 for special purpose */
dma-window = <0x18000000 0xE7FFF000>;
reg = <0x0 0x1CE00000 0x200000
0x0 0x1CCF0000 0x10000>;
reg-names = "tpu", "ssmt";
interrupts = <GIC_SPI IRQ_NS_TPU_TPU IRQ_TYPE_LEVEL_HIGH>;
hardware-id = <0x0 0xb>;
iommus = <&sysmmu_tpu>;
samsung,iommu-group = <&iommu_group_tpu>;
status = "okay";
memory-region = <&tpu_fw_reserved>;
/* CSR Region for APM <-> TPU Mailbox */
csr-iova = <0x17690000>;
csr-phys = <0x17690000>;
csr-size = <0x10000>;
gsa-device = <&gsa>;
tpu_dvfs_table_size = <6 2>; /*<row col>*/
/* DVFS values calculated from average power with real-world workloads
* on B0
*/
tpu_dvfs_table = <
/* when updating tpu_dvfs_table, update tpu_dvfs_table_size as well
* freq power(mW)
*----------------------------------
*/
1024000 4819
967000 4101
836000 3085
627000 1916
455000 1213
226000 0
>;
samsung,tzmp;
};
tpu_cooling: tpu-cooling {
#cooling-cells = <2>;
};
};