aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings/clk/at91.h
blob: a178b94157b43137588a203a910a941d7235befc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * This header provides constants for AT91 pmc status.
 * The constants defined in this header are being used in dts and PMC code.
 *
 * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries
 *
 * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
 *
 * Based on include/dt-bindings/clock/at91.h on Linux.
 */

#ifndef _DT_BINDINGS_CLK_AT91_H
#define _DT_BINDINGS_CLK_AT91_H

#define PMC_TYPE_CORE		1
#define PMC_TYPE_SYSTEM		2
#define PMC_TYPE_PERIPHERAL	3
#define PMC_TYPE_GCK		4
#define PMC_TYPE_SLOW		5
#define USB_UTMI		6

#define USB_UTMI1		0
#define USB_UTMI2		1
#define USB_UTMI3		2

#endif