0001
0002
0003
0004
0005
0006
0007
0008 #include <linux/init.h>
0009 #include <linux/kernel.h>
0010
0011 #include <dt-bindings/power/r8a7792-sysc.h>
0012
0013 #include "rcar-sysc.h"
0014
0015 static const struct rcar_sysc_area r8a7792_areas[] __initconst = {
0016 { "always-on", 0, 0, R8A7792_PD_ALWAYS_ON, -1, PD_ALWAYS_ON },
0017 { "ca15-scu", 0x180, 0, R8A7792_PD_CA15_SCU, R8A7792_PD_ALWAYS_ON,
0018 PD_SCU },
0019 { "ca15-cpu0", 0x40, 0, R8A7792_PD_CA15_CPU0, R8A7792_PD_CA15_SCU,
0020 PD_CPU_NOCR },
0021 { "ca15-cpu1", 0x40, 1, R8A7792_PD_CA15_CPU1, R8A7792_PD_CA15_SCU,
0022 PD_CPU_NOCR },
0023 { "sgx", 0xc0, 0, R8A7792_PD_SGX, R8A7792_PD_ALWAYS_ON },
0024 { "imp", 0x140, 0, R8A7792_PD_IMP, R8A7792_PD_ALWAYS_ON },
0025 };
0026
0027 const struct rcar_sysc_info r8a7792_sysc_info __initconst = {
0028 .areas = r8a7792_areas,
0029 .num_areas = ARRAY_SIZE(r8a7792_areas),
0030 };