]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/dt-bindings/clock/rk3066a-cru.h
bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
[mirror_ubuntu-bionic-kernel.git] / include / dt-bindings / clock / rk3066a-cru.h
CommitLineData
2c14736c
HS
1/*
2 * Copyright (c) 2014 MundoReader S.L.
3 * Author: Heiko Stuebner <heiko@sntech.de>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
7c8f03d5
HS
16#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H
17#define _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H
18
2c14736c
HS
19#include <dt-bindings/clock/rk3188-cru-common.h>
20
21/* soft-reset indices */
22#define SRST_SRST1 0
23#define SRST_SRST2 1
24
25#define SRST_L2MEM 18
26#define SRST_I2S0 23
27#define SRST_I2S1 24
28#define SRST_I2S2 25
29#define SRST_TIMER2 29
30
31#define SRST_GPIO4 36
32#define SRST_GPIO6 38
33
34#define SRST_TSADC 92
35
36#define SRST_HDMI 96
37#define SRST_HDMI_APB 97
38#define SRST_CIF1 111
7c8f03d5
HS
39
40#endif