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:
parent
502d306630
commit
521f4778a1
7 changed files with 163 additions and 0 deletions
36
dts/bindings/riscv/openisa,rv32m1-pcc.yaml
Normal file
36
dts/bindings/riscv/openisa,rv32m1-pcc.yaml
Normal 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
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue