include/dt-bindings/clock/fsl,qoriq-clockgen.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef DT_CLOCK_FSL_QORIQ_CLOCKGEN_H |
| 4 | #define DT_CLOCK_FSL_QORIQ_CLOCKGEN_H |
| 5 | |
| 6 | #define QORIQ_CLK_SYSCLK 0 |
| 7 | #define QORIQ_CLK_CMUX 1 |
| 8 | #define QORIQ_CLK_HWACCEL 2 |
| 9 | #define QORIQ_CLK_FMAN 3 |
| 10 | #define QORIQ_CLK_PLATFORM_PLL 4 |
| 11 | #define QORIQ_CLK_CORECLK 5 |
| 12 | |
| 13 | #define QORIQ_CLK_PLL_DIV(x) ((x) - 1) |
| 14 | |
| 15 | #endif /* DT_CLOCK_FSL_QORIQ_CLOCKGEN_H */ |