11.1Sjmcneill/* $NetBSD: r8a7792-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 (C) 2016 Cogent Embedded, Inc. 61.1Sjmcneill */ 71.1Sjmcneill 81.1Sjmcneill#ifndef __DT_BINDINGS_CLOCK_R8A7792_H__ 91.1Sjmcneill#define __DT_BINDINGS_CLOCK_R8A7792_H__ 101.1Sjmcneill 111.1Sjmcneill/* CPG */ 121.1Sjmcneill#define R8A7792_CLK_MAIN 0 131.1Sjmcneill#define R8A7792_CLK_PLL0 1 141.1Sjmcneill#define R8A7792_CLK_PLL1 2 151.1Sjmcneill#define R8A7792_CLK_PLL3 3 161.1Sjmcneill#define R8A7792_CLK_LB 4 171.1Sjmcneill#define R8A7792_CLK_QSPI 5 181.1Sjmcneill 191.1Sjmcneill/* MSTP0 */ 201.1Sjmcneill#define R8A7792_CLK_MSIOF0 0 211.1Sjmcneill 221.1Sjmcneill/* MSTP1 */ 231.1Sjmcneill#define R8A7792_CLK_JPU 6 241.1Sjmcneill#define R8A7792_CLK_TMU1 11 251.1Sjmcneill#define R8A7792_CLK_TMU3 21 261.1Sjmcneill#define R8A7792_CLK_TMU2 22 271.1Sjmcneill#define R8A7792_CLK_CMT0 24 281.1Sjmcneill#define R8A7792_CLK_TMU0 25 291.1Sjmcneill#define R8A7792_CLK_VSP1DU1 27 301.1Sjmcneill#define R8A7792_CLK_VSP1DU0 28 311.1Sjmcneill#define R8A7792_CLK_VSP1_SY 31 321.1Sjmcneill 331.1Sjmcneill/* MSTP2 */ 341.1Sjmcneill#define R8A7792_CLK_MSIOF1 8 351.1Sjmcneill#define R8A7792_CLK_SYS_DMAC1 18 361.1Sjmcneill#define R8A7792_CLK_SYS_DMAC0 19 371.1Sjmcneill 381.1Sjmcneill/* MSTP3 */ 391.1Sjmcneill#define R8A7792_CLK_TPU0 4 401.1Sjmcneill#define R8A7792_CLK_SDHI0 14 411.1Sjmcneill#define R8A7792_CLK_CMT1 29 421.1Sjmcneill 431.1Sjmcneill/* MSTP4 */ 441.1Sjmcneill#define R8A7792_CLK_IRQC 7 451.1.1.2Sjmcneill#define R8A7792_CLK_INTC_SYS 8 461.1Sjmcneill 471.1Sjmcneill/* MSTP5 */ 481.1Sjmcneill#define R8A7792_CLK_AUDIO_DMAC0 2 491.1Sjmcneill#define R8A7792_CLK_THERMAL 22 501.1Sjmcneill#define R8A7792_CLK_PWM 23 511.1Sjmcneill 521.1Sjmcneill/* MSTP7 */ 531.1Sjmcneill#define R8A7792_CLK_HSCIF1 16 541.1Sjmcneill#define R8A7792_CLK_HSCIF0 17 551.1Sjmcneill#define R8A7792_CLK_SCIF3 18 561.1Sjmcneill#define R8A7792_CLK_SCIF2 19 571.1Sjmcneill#define R8A7792_CLK_SCIF1 20 581.1Sjmcneill#define R8A7792_CLK_SCIF0 21 591.1Sjmcneill#define R8A7792_CLK_DU1 23 601.1Sjmcneill#define R8A7792_CLK_DU0 24 611.1Sjmcneill 621.1Sjmcneill/* MSTP8 */ 631.1Sjmcneill#define R8A7792_CLK_VIN5 4 641.1Sjmcneill#define R8A7792_CLK_VIN4 5 651.1Sjmcneill#define R8A7792_CLK_VIN3 8 661.1Sjmcneill#define R8A7792_CLK_VIN2 9 671.1Sjmcneill#define R8A7792_CLK_VIN1 10 681.1Sjmcneill#define R8A7792_CLK_VIN0 11 691.1Sjmcneill#define R8A7792_CLK_ETHERAVB 12 701.1Sjmcneill 711.1Sjmcneill/* MSTP9 */ 721.1Sjmcneill#define R8A7792_CLK_GPIO7 4 731.1Sjmcneill#define R8A7792_CLK_GPIO6 5 741.1Sjmcneill#define R8A7792_CLK_GPIO5 7 751.1Sjmcneill#define R8A7792_CLK_GPIO4 8 761.1Sjmcneill#define R8A7792_CLK_GPIO3 9 771.1Sjmcneill#define R8A7792_CLK_GPIO2 10 781.1Sjmcneill#define R8A7792_CLK_GPIO1 11 791.1Sjmcneill#define R8A7792_CLK_GPIO0 12 801.1Sjmcneill#define R8A7792_CLK_GPIO11 13 811.1Sjmcneill#define R8A7792_CLK_GPIO10 14 821.1Sjmcneill#define R8A7792_CLK_CAN1 15 831.1Sjmcneill#define R8A7792_CLK_CAN0 16 841.1Sjmcneill#define R8A7792_CLK_QSPI_MOD 17 851.1Sjmcneill#define R8A7792_CLK_GPIO9 19 861.1Sjmcneill#define R8A7792_CLK_GPIO8 21 871.1Sjmcneill#define R8A7792_CLK_I2C5 25 881.1Sjmcneill#define R8A7792_CLK_IICDVFS 26 891.1Sjmcneill#define R8A7792_CLK_I2C4 27 901.1Sjmcneill#define R8A7792_CLK_I2C3 28 911.1Sjmcneill#define R8A7792_CLK_I2C2 29 921.1Sjmcneill#define R8A7792_CLK_I2C1 30 931.1Sjmcneill#define R8A7792_CLK_I2C0 31 941.1Sjmcneill 951.1Sjmcneill/* MSTP10 */ 961.1Sjmcneill#define R8A7792_CLK_SSI_ALL 5 971.1Sjmcneill#define R8A7792_CLK_SSI4 11 981.1Sjmcneill#define R8A7792_CLK_SSI3 12 991.1Sjmcneill 1001.1Sjmcneill#endif /* __DT_BINDINGS_CLOCK_R8A7792_H__ */ 101