dts: arm: nxp: Add node and bindings for lpc11u6x clock controller

This commit adds a bindings for the clock controller used in lpc11u6x
MCUs. It also adds a clock-controller node for the lpc11u6x soc series.

Signed-off-by: Maxime Bittan <maxime.bittan@seagate.com>
This commit is contained in:
Maxime Bittan 2020-03-31 16:37:29 +02:00 committed by Carles Cufí
commit 1724bf49be
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2020 Seagate Technology LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_LPC11U6X_CLOCK_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_LPC11U6X_CLOCK_H_
#define LPC11U6X_CLOCK_I2C0 0
#define LPC11U6X_CLOCK_I2C1 1
#define LPC11U6X_CLOCK_GPIO 2
#define LPC11U6X_CLOCK_USART0 3
#define LPC11U6X_CLOCK_USART1 4
#define LPC11U6X_CLOCK_USART2 5
#define LPC11U6X_CLOCK_USART3 6
#define LPC11U6X_CLOCK_USART4 7
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_LPC11U6X_CLOCK_H_ */