18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Renesas R-Car H2 System Controller 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2016 Glider bvba 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include <linux/kernel.h> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include <dt-bindings/power/r8a7790-sysc.h> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#include "rcar-sysc.h" 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_cistatic const struct rcar_sysc_area r8a7790_areas[] __initconst = { 158c2ecf20Sopenharmony_ci { "always-on", 0, 0, R8A7790_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, 168c2ecf20Sopenharmony_ci { "ca15-scu", 0x180, 0, R8A7790_PD_CA15_SCU, R8A7790_PD_ALWAYS_ON, 178c2ecf20Sopenharmony_ci PD_SCU }, 188c2ecf20Sopenharmony_ci { "ca15-cpu0", 0x40, 0, R8A7790_PD_CA15_CPU0, R8A7790_PD_CA15_SCU, 198c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 208c2ecf20Sopenharmony_ci { "ca15-cpu1", 0x40, 1, R8A7790_PD_CA15_CPU1, R8A7790_PD_CA15_SCU, 218c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 228c2ecf20Sopenharmony_ci { "ca15-cpu2", 0x40, 2, R8A7790_PD_CA15_CPU2, R8A7790_PD_CA15_SCU, 238c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 248c2ecf20Sopenharmony_ci { "ca15-cpu3", 0x40, 3, R8A7790_PD_CA15_CPU3, R8A7790_PD_CA15_SCU, 258c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 268c2ecf20Sopenharmony_ci { "ca7-scu", 0x100, 0, R8A7790_PD_CA7_SCU, R8A7790_PD_ALWAYS_ON, 278c2ecf20Sopenharmony_ci PD_SCU }, 288c2ecf20Sopenharmony_ci { "ca7-cpu0", 0x1c0, 0, R8A7790_PD_CA7_CPU0, R8A7790_PD_CA7_SCU, 298c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 308c2ecf20Sopenharmony_ci { "ca7-cpu1", 0x1c0, 1, R8A7790_PD_CA7_CPU1, R8A7790_PD_CA7_SCU, 318c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 328c2ecf20Sopenharmony_ci { "ca7-cpu2", 0x1c0, 2, R8A7790_PD_CA7_CPU2, R8A7790_PD_CA7_SCU, 338c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 348c2ecf20Sopenharmony_ci { "ca7-cpu3", 0x1c0, 3, R8A7790_PD_CA7_CPU3, R8A7790_PD_CA7_SCU, 358c2ecf20Sopenharmony_ci PD_CPU_NOCR }, 368c2ecf20Sopenharmony_ci { "sh-4a", 0x80, 0, R8A7790_PD_SH_4A, R8A7790_PD_ALWAYS_ON }, 378c2ecf20Sopenharmony_ci { "rgx", 0xc0, 0, R8A7790_PD_RGX, R8A7790_PD_ALWAYS_ON }, 388c2ecf20Sopenharmony_ci { "imp", 0x140, 0, R8A7790_PD_IMP, R8A7790_PD_ALWAYS_ON }, 398c2ecf20Sopenharmony_ci}; 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ciconst struct rcar_sysc_info r8a7790_sysc_info __initconst = { 428c2ecf20Sopenharmony_ci .areas = r8a7790_areas, 438c2ecf20Sopenharmony_ci .num_areas = ARRAY_SIZE(r8a7790_areas), 448c2ecf20Sopenharmony_ci}; 45