WIP: device tree MVP

This commit is contained in:
Daniel Agar
2022-01-06 17:20:17 -05:00
parent 07d75d85cf
commit 1f39b42525
1395 changed files with 68755 additions and 0 deletions
@@ -0,0 +1,21 @@
# Copyright (c) 2018 Foundries.io
# SPDX-License-Identifier: Apache-2.0
description: RV32M1 PCC (Peripheral Clock Control) IP node
compatible: "openisa,rv32m1-pcc"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
label:
required: true
"#clock-cells":
const: 1
clock-cells:
- name
+31
View File
@@ -0,0 +1,31 @@
# Copyright (c) 2021 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
include: cpu.yaml
properties:
mmu-type:
description: Memory Management Unit (MMU)
required: false
type: string
enum:
- riscv,sv32
- riscv,sv39
- riscv,sv48
- riscv,none
riscv,isa:
description: RISC-V instruction set architecture
required: true
type: string
enum:
- rv32imac
- rv32imafc
- rv32imafcb
- rv64imac
- rv64imafdc
riscv,pmpregions:
description: Physical Memory Protection (PMP)
required: true
type: int
+8
View File
@@ -0,0 +1,8 @@
# Copyright (c) 2021 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
description: SiFive E24 Standard Core CPU
compatible: "riscv,sifive-e24"
include: riscv,sifive.yaml
+12
View File
@@ -0,0 +1,12 @@
# Copyright (c) 2021 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
# Common fields for SiFive RISC-V CPUs
include: riscv,cpus.yaml
properties:
hardware-exec-breakpoint-count:
type: int
required: false
description: Number of hardware break points