18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2017 BayLibre SAS 48c2ecf20Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/ { 88c2ecf20Sopenharmony_ci gpu_opp_table: opp-table { 98c2ecf20Sopenharmony_ci compatible = "operating-points-v2"; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci opp-125000000 { 128c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <125000000>; 138c2ecf20Sopenharmony_ci opp-microvolt = <950000>; 148c2ecf20Sopenharmony_ci }; 158c2ecf20Sopenharmony_ci opp-250000000 { 168c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <250000000>; 178c2ecf20Sopenharmony_ci opp-microvolt = <950000>; 188c2ecf20Sopenharmony_ci }; 198c2ecf20Sopenharmony_ci opp-285714285 { 208c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <285714285>; 218c2ecf20Sopenharmony_ci opp-microvolt = <950000>; 228c2ecf20Sopenharmony_ci }; 238c2ecf20Sopenharmony_ci opp-400000000 { 248c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <400000000>; 258c2ecf20Sopenharmony_ci opp-microvolt = <950000>; 268c2ecf20Sopenharmony_ci }; 278c2ecf20Sopenharmony_ci opp-500000000 { 288c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <500000000>; 298c2ecf20Sopenharmony_ci opp-microvolt = <950000>; 308c2ecf20Sopenharmony_ci }; 318c2ecf20Sopenharmony_ci opp-666666666 { 328c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <666666666>; 338c2ecf20Sopenharmony_ci opp-microvolt = <950000>; 348c2ecf20Sopenharmony_ci }; 358c2ecf20Sopenharmony_ci opp-744000000 { 368c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <744000000>; 378c2ecf20Sopenharmony_ci opp-microvolt = <950000>; 388c2ecf20Sopenharmony_ci }; 398c2ecf20Sopenharmony_ci }; 408c2ecf20Sopenharmony_ci}; 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci&apb { 438c2ecf20Sopenharmony_ci mali: gpu@c0000 { 448c2ecf20Sopenharmony_ci compatible = "arm,mali-450"; 458c2ecf20Sopenharmony_ci reg = <0x0 0xc0000 0x0 0x40000>; 468c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, 478c2ecf20Sopenharmony_ci <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, 488c2ecf20Sopenharmony_ci <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, 498c2ecf20Sopenharmony_ci <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, 508c2ecf20Sopenharmony_ci <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, 518c2ecf20Sopenharmony_ci <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, 528c2ecf20Sopenharmony_ci <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, 538c2ecf20Sopenharmony_ci <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, 548c2ecf20Sopenharmony_ci <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, 558c2ecf20Sopenharmony_ci <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; 568c2ecf20Sopenharmony_ci interrupt-names = "gp", "gpmmu", "pp", "pmu", 578c2ecf20Sopenharmony_ci "pp0", "ppmmu0", "pp1", "ppmmu1", 588c2ecf20Sopenharmony_ci "pp2", "ppmmu2"; 598c2ecf20Sopenharmony_ci operating-points-v2 = <&gpu_opp_table>; 608c2ecf20Sopenharmony_ci }; 618c2ecf20Sopenharmony_ci}; 62