clock_control: RV32M1: introduce PCC driver / DT bindings

Add a Peripheral Clock Controller (PCC) driver. This gates and ungates
clocks to various peripherals on the SoC.

Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Marti Bolivar <marti@foundries.io>
This commit is contained in:
Michael Scott 2018-11-07 10:13:52 -08:00 committed by Anas Nashif
commit 521f4778a1
7 changed files with 163 additions and 0 deletions

View file

@ -0,0 +1,36 @@
#
# Copyright (c) 2018 Foundries.io
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: RV32M1 PCC (Peripheral Clock Control)
version: 0.1
description: >
This is a representation of the RV32M1 PCC IP node
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "openisa,rv32m1-pcc"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- name
- offset
...