From 0a08c4e1e9667a24b528c858ecbebe30ee933e8a Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Tue, 18 Dec 2018 19:24:53 +0100 Subject: [PATCH] dts: arm: add DTS binding for ARM MPU peripheral Add DTS binding files for the ARM MPU, for both ARM MPU architecture variants, ARMv7-M and ARMv8-M. Signed-off-by: Ioannis Glaropoulos --- dts/bindings/mmu_mpu/arm,armv7m-mpu.yaml | 28 ++++++++++++++++++++++++ dts/bindings/mmu_mpu/arm,armv8m-mpu.yaml | 28 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dts/bindings/mmu_mpu/arm,armv7m-mpu.yaml create mode 100644 dts/bindings/mmu_mpu/arm,armv8m-mpu.yaml diff --git a/dts/bindings/mmu_mpu/arm,armv7m-mpu.yaml b/dts/bindings/mmu_mpu/arm,armv7m-mpu.yaml new file mode 100644 index 00000000000..bd5a5702fc3 --- /dev/null +++ b/dts/bindings/mmu_mpu/arm,armv7m-mpu.yaml @@ -0,0 +1,28 @@ +--- +title: ARMv7-M Memory Protection Unit +version: 0.1 + +description: > + This binding describes the ARMv7-M Memory Protection Unit (MPU). + +properties: + compatible: + category: required + type: string + description: compatible strings + constraint: "arm,armv7m-mpu" + generation: define + + reg: + category: required + type: int + description: mmio register space + generation: define + + arm,num-mpu-regions: + category: required + type: int + description: number of MPU regions supported by hardware + generation: define + +... diff --git a/dts/bindings/mmu_mpu/arm,armv8m-mpu.yaml b/dts/bindings/mmu_mpu/arm,armv8m-mpu.yaml new file mode 100644 index 00000000000..81cf565f810 --- /dev/null +++ b/dts/bindings/mmu_mpu/arm,armv8m-mpu.yaml @@ -0,0 +1,28 @@ +--- +title: ARMv8-M Memory Protection Unit +version: 0.1 + +description: > + This binding describes the ARMv8-M Memory Protection Unit (MPU). + +properties: + compatible: + category: required + type: string + description: compatible strings + constraint: "arm,armv8m-mpu" + generation: define + + reg: + category: required + type: int + description: mmio register space + generation: define + + arm,num-mpu-regions: + category: required + type: int + description: number of MPU regions supported by hardware + generation: define + +...