14549e789STom Rini// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 248622156SNeil Armstrong/* 348622156SNeil Armstrong * Copyright (c) 2017 BayLibre SAS 448622156SNeil Armstrong * Author: Neil Armstrong <narmstrong@baylibre.com> 548622156SNeil Armstrong */ 648622156SNeil Armstrong 748622156SNeil Armstrong&apb { 848622156SNeil Armstrong mali: gpu@c0000 { 9*8973d816SLoic Devulder compatible = "amlogic,meson-gxl-mali", "arm,mali-450"; 1048622156SNeil Armstrong reg = <0x0 0xc0000 0x0 0x40000>; 1148622156SNeil Armstrong interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, 1248622156SNeil Armstrong <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, 1348622156SNeil Armstrong <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, 1448622156SNeil Armstrong <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, 1548622156SNeil Armstrong <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, 1648622156SNeil Armstrong <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, 1748622156SNeil Armstrong <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, 1848622156SNeil Armstrong <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, 1948622156SNeil Armstrong <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, 2048622156SNeil Armstrong <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; 2148622156SNeil Armstrong interrupt-names = "gp", "gpmmu", "pp", "pmu", 2248622156SNeil Armstrong "pp0", "ppmmu0", "pp1", "ppmmu1", 2348622156SNeil Armstrong "pp2", "ppmmu2"; 2448622156SNeil Armstrong clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; 2548622156SNeil Armstrong clock-names = "bus", "core"; 2648622156SNeil Armstrong 2748622156SNeil Armstrong /* 2848622156SNeil Armstrong * Mali clocking is provided by two identical clock paths 2948622156SNeil Armstrong * MALI_0 and MALI_1 muxed to a single clock by a glitch 3048622156SNeil Armstrong * free mux to safely change frequency while running. 3148622156SNeil Armstrong */ 325b3da7faSNeil Armstrong assigned-clocks = <&clkc CLKID_GP0_PLL>, 335b3da7faSNeil Armstrong <&clkc CLKID_MALI_0_SEL>, 3448622156SNeil Armstrong <&clkc CLKID_MALI_0>, 3548622156SNeil Armstrong <&clkc CLKID_MALI>; /* Glitch free mux */ 365b3da7faSNeil Armstrong assigned-clock-parents = <0>, /* Do Nothing */ 375b3da7faSNeil Armstrong <&clkc CLKID_GP0_PLL>, 3848622156SNeil Armstrong <0>, /* Do Nothing */ 3948622156SNeil Armstrong <&clkc CLKID_MALI_0>; 405b3da7faSNeil Armstrong assigned-clock-rates = <744000000>, 415b3da7faSNeil Armstrong <0>, /* Do Nothing */ 425b3da7faSNeil Armstrong <744000000>, 4348622156SNeil Armstrong <0>; /* Do Nothing */ 4448622156SNeil Armstrong }; 4548622156SNeil Armstrong}; 46