11.1Sjmcneill/* $NetBSD: r8a7790-clock.h,v 1.1.1.3 2020/01/03 14:33:04 skrll Exp $ */ 21.1Sjmcneill 31.1.1.3Sskrll/* SPDX-License-Identifier: GPL-2.0-or-later */ 41.1Sjmcneill/* 51.1Sjmcneill * Copyright 2013 Ideas On Board SPRL 61.1Sjmcneill */ 71.1Sjmcneill 81.1Sjmcneill#ifndef __DT_BINDINGS_CLOCK_R8A7790_H__ 91.1Sjmcneill#define __DT_BINDINGS_CLOCK_R8A7790_H__ 101.1Sjmcneill 111.1Sjmcneill/* CPG */ 121.1Sjmcneill#define R8A7790_CLK_MAIN 0 131.1Sjmcneill#define R8A7790_CLK_PLL0 1 141.1Sjmcneill#define R8A7790_CLK_PLL1 2 151.1Sjmcneill#define R8A7790_CLK_PLL3 3 161.1Sjmcneill#define R8A7790_CLK_LB 4 171.1Sjmcneill#define R8A7790_CLK_QSPI 5 181.1Sjmcneill#define R8A7790_CLK_SDH 6 191.1Sjmcneill#define R8A7790_CLK_SD0 7 201.1Sjmcneill#define R8A7790_CLK_SD1 8 211.1Sjmcneill#define R8A7790_CLK_Z 9 221.1Sjmcneill#define R8A7790_CLK_RCAN 10 231.1Sjmcneill#define R8A7790_CLK_ADSP 11 241.1Sjmcneill 251.1Sjmcneill/* MSTP0 */ 261.1Sjmcneill#define R8A7790_CLK_MSIOF0 0 271.1Sjmcneill 281.1Sjmcneill/* MSTP1 */ 291.1Sjmcneill#define R8A7790_CLK_VCP1 0 301.1Sjmcneill#define R8A7790_CLK_VCP0 1 311.1Sjmcneill#define R8A7790_CLK_VPC1 2 321.1Sjmcneill#define R8A7790_CLK_VPC0 3 331.1Sjmcneill#define R8A7790_CLK_JPU 6 341.1Sjmcneill#define R8A7790_CLK_SSP1 9 351.1Sjmcneill#define R8A7790_CLK_TMU1 11 361.1Sjmcneill#define R8A7790_CLK_3DG 12 371.1Sjmcneill#define R8A7790_CLK_2DDMAC 15 381.1Sjmcneill#define R8A7790_CLK_FDP1_2 17 391.1Sjmcneill#define R8A7790_CLK_FDP1_1 18 401.1Sjmcneill#define R8A7790_CLK_FDP1_0 19 411.1Sjmcneill#define R8A7790_CLK_TMU3 21 421.1Sjmcneill#define R8A7790_CLK_TMU2 22 431.1Sjmcneill#define R8A7790_CLK_CMT0 24 441.1Sjmcneill#define R8A7790_CLK_TMU0 25 451.1Sjmcneill#define R8A7790_CLK_VSP1_DU1 27 461.1Sjmcneill#define R8A7790_CLK_VSP1_DU0 28 471.1Sjmcneill#define R8A7790_CLK_VSP1_R 30 481.1Sjmcneill#define R8A7790_CLK_VSP1_S 31 491.1Sjmcneill 501.1Sjmcneill/* MSTP2 */ 511.1Sjmcneill#define R8A7790_CLK_SCIFA2 2 521.1Sjmcneill#define R8A7790_CLK_SCIFA1 3 531.1Sjmcneill#define R8A7790_CLK_SCIFA0 4 541.1Sjmcneill#define R8A7790_CLK_MSIOF2 5 551.1Sjmcneill#define R8A7790_CLK_SCIFB0 6 561.1Sjmcneill#define R8A7790_CLK_SCIFB1 7 571.1Sjmcneill#define R8A7790_CLK_MSIOF1 8 581.1Sjmcneill#define R8A7790_CLK_MSIOF3 15 591.1Sjmcneill#define R8A7790_CLK_SCIFB2 16 601.1Sjmcneill#define R8A7790_CLK_SYS_DMAC1 18 611.1Sjmcneill#define R8A7790_CLK_SYS_DMAC0 19 621.1Sjmcneill 631.1Sjmcneill/* MSTP3 */ 641.1Sjmcneill#define R8A7790_CLK_IIC2 0 651.1Sjmcneill#define R8A7790_CLK_TPU0 4 661.1Sjmcneill#define R8A7790_CLK_MMCIF1 5 671.1Sjmcneill#define R8A7790_CLK_SCIF2 10 681.1Sjmcneill#define R8A7790_CLK_SDHI3 11 691.1Sjmcneill#define R8A7790_CLK_SDHI2 12 701.1Sjmcneill#define R8A7790_CLK_SDHI1 13 711.1Sjmcneill#define R8A7790_CLK_SDHI0 14 721.1Sjmcneill#define R8A7790_CLK_MMCIF0 15 731.1Sjmcneill#define R8A7790_CLK_IIC0 18 741.1Sjmcneill#define R8A7790_CLK_PCIEC 19 751.1Sjmcneill#define R8A7790_CLK_IIC1 23 761.1Sjmcneill#define R8A7790_CLK_SSUSB 28 771.1Sjmcneill#define R8A7790_CLK_CMT1 29 781.1Sjmcneill#define R8A7790_CLK_USBDMAC0 30 791.1Sjmcneill#define R8A7790_CLK_USBDMAC1 31 801.1Sjmcneill 811.1Sjmcneill/* MSTP4 */ 821.1Sjmcneill#define R8A7790_CLK_IRQC 7 831.1.1.2Sjmcneill#define R8A7790_CLK_INTC_SYS 8 841.1Sjmcneill 851.1Sjmcneill/* MSTP5 */ 861.1Sjmcneill#define R8A7790_CLK_AUDIO_DMAC1 1 871.1Sjmcneill#define R8A7790_CLK_AUDIO_DMAC0 2 881.1Sjmcneill#define R8A7790_CLK_ADSP_MOD 6 891.1Sjmcneill#define R8A7790_CLK_THERMAL 22 901.1Sjmcneill#define R8A7790_CLK_PWM 23 911.1Sjmcneill 921.1Sjmcneill/* MSTP7 */ 931.1Sjmcneill#define R8A7790_CLK_EHCI 3 941.1Sjmcneill#define R8A7790_CLK_HSUSB 4 951.1Sjmcneill#define R8A7790_CLK_HSCIF1 16 961.1Sjmcneill#define R8A7790_CLK_HSCIF0 17 971.1Sjmcneill#define R8A7790_CLK_SCIF1 20 981.1Sjmcneill#define R8A7790_CLK_SCIF0 21 991.1Sjmcneill#define R8A7790_CLK_DU2 22 1001.1Sjmcneill#define R8A7790_CLK_DU1 23 1011.1Sjmcneill#define R8A7790_CLK_DU0 24 1021.1Sjmcneill#define R8A7790_CLK_LVDS1 25 1031.1Sjmcneill#define R8A7790_CLK_LVDS0 26 1041.1Sjmcneill 1051.1Sjmcneill/* MSTP8 */ 1061.1Sjmcneill#define R8A7790_CLK_MLB 2 1071.1Sjmcneill#define R8A7790_CLK_VIN3 8 1081.1Sjmcneill#define R8A7790_CLK_VIN2 9 1091.1Sjmcneill#define R8A7790_CLK_VIN1 10 1101.1Sjmcneill#define R8A7790_CLK_VIN0 11 1111.1Sjmcneill#define R8A7790_CLK_ETHERAVB 12 1121.1Sjmcneill#define R8A7790_CLK_ETHER 13 1131.1Sjmcneill#define R8A7790_CLK_SATA1 14 1141.1Sjmcneill#define R8A7790_CLK_SATA0 15 1151.1Sjmcneill 1161.1Sjmcneill/* MSTP9 */ 1171.1Sjmcneill#define R8A7790_CLK_GPIO5 7 1181.1Sjmcneill#define R8A7790_CLK_GPIO4 8 1191.1Sjmcneill#define R8A7790_CLK_GPIO3 9 1201.1Sjmcneill#define R8A7790_CLK_GPIO2 10 1211.1Sjmcneill#define R8A7790_CLK_GPIO1 11 1221.1Sjmcneill#define R8A7790_CLK_GPIO0 12 1231.1Sjmcneill#define R8A7790_CLK_RCAN1 15 1241.1Sjmcneill#define R8A7790_CLK_RCAN0 16 1251.1Sjmcneill#define R8A7790_CLK_QSPI_MOD 17 1261.1Sjmcneill#define R8A7790_CLK_IICDVFS 26 1271.1Sjmcneill#define R8A7790_CLK_I2C3 28 1281.1Sjmcneill#define R8A7790_CLK_I2C2 29 1291.1Sjmcneill#define R8A7790_CLK_I2C1 30 1301.1Sjmcneill#define R8A7790_CLK_I2C0 31 1311.1Sjmcneill 1321.1Sjmcneill/* MSTP10 */ 1331.1Sjmcneill#define R8A7790_CLK_SSI_ALL 5 1341.1Sjmcneill#define R8A7790_CLK_SSI9 6 1351.1Sjmcneill#define R8A7790_CLK_SSI8 7 1361.1Sjmcneill#define R8A7790_CLK_SSI7 8 1371.1Sjmcneill#define R8A7790_CLK_SSI6 9 1381.1Sjmcneill#define R8A7790_CLK_SSI5 10 1391.1Sjmcneill#define R8A7790_CLK_SSI4 11 1401.1Sjmcneill#define R8A7790_CLK_SSI3 12 1411.1Sjmcneill#define R8A7790_CLK_SSI2 13 1421.1Sjmcneill#define R8A7790_CLK_SSI1 14 1431.1Sjmcneill#define R8A7790_CLK_SSI0 15 1441.1Sjmcneill#define R8A7790_CLK_SCU_ALL 17 1451.1Sjmcneill#define R8A7790_CLK_SCU_DVC1 18 1461.1Sjmcneill#define R8A7790_CLK_SCU_DVC0 19 1471.1Sjmcneill#define R8A7790_CLK_SCU_CTU1_MIX1 20 1481.1Sjmcneill#define R8A7790_CLK_SCU_CTU0_MIX0 21 1491.1Sjmcneill#define R8A7790_CLK_SCU_SRC9 22 1501.1Sjmcneill#define R8A7790_CLK_SCU_SRC8 23 1511.1Sjmcneill#define R8A7790_CLK_SCU_SRC7 24 1521.1Sjmcneill#define R8A7790_CLK_SCU_SRC6 25 1531.1Sjmcneill#define R8A7790_CLK_SCU_SRC5 26 1541.1Sjmcneill#define R8A7790_CLK_SCU_SRC4 27 1551.1Sjmcneill#define R8A7790_CLK_SCU_SRC3 28 1561.1Sjmcneill#define R8A7790_CLK_SCU_SRC2 29 1571.1Sjmcneill#define R8A7790_CLK_SCU_SRC1 30 1581.1Sjmcneill#define R8A7790_CLK_SCU_SRC0 31 1591.1Sjmcneill 1601.1Sjmcneill#endif /* __DT_BINDINGS_CLOCK_R8A7790_H__ */ 161