Merge branch 'clk-hi3519' into clk-next

* clk-hi3519:
  clk: hisilicon: add CRG driver for hi3519 soc
  clk: hisilicon: export some hisilicon APIs to modules
  reset: hisilicon: add reset controller driver for hisilicon SOCs
This commit is contained in:
Stephen Boyd
2016-05-06 11:21:23 -07:00
9 changed files with 426 additions and 15 deletions

View File

@@ -0,0 +1,40 @@
/*
* Copyright (c) 2015 HiSilicon Technologies Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __DTS_HI3519_CLOCK_H
#define __DTS_HI3519_CLOCK_H
#define HI3519_FMC_CLK 1
#define HI3519_SPI0_CLK 2
#define HI3519_SPI1_CLK 3
#define HI3519_SPI2_CLK 4
#define HI3519_UART0_CLK 5
#define HI3519_UART1_CLK 6
#define HI3519_UART2_CLK 7
#define HI3519_UART3_CLK 8
#define HI3519_UART4_CLK 9
#define HI3519_PWM_CLK 10
#define HI3519_DMA_CLK 11
#define HI3519_IR_CLK 12
#define HI3519_ETH_PHY_CLK 13
#define HI3519_ETH_MAC_CLK 14
#define HI3519_ETH_MACIF_CLK 15
#define HI3519_USB2_BUS_CLK 16
#define HI3519_USB2_PORT_CLK 17
#define HI3519_USB3_CLK 18
#endif /* __DTS_HI3519_CLOCK_H */