Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/bus/st,stm32mp131-dbg-bus.yaml
170953 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/bus/st,stm32mp131-dbg-bus.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: STM32 Coresight bus
8
9
maintainers:
10
- Gatien Chevallier <gatien.chevallier@foss.st.com>
11
12
description:
13
The STM32 debug bus is in charge of checking the debug configuration
14
of the platform before probing the peripheral drivers that rely on the debug
15
domain.
16
17
properties:
18
compatible:
19
items:
20
- enum:
21
- st,stm32mp131-dbg-bus
22
- st,stm32mp151-dbg-bus
23
24
"#address-cells":
25
const: 1
26
27
"#size-cells":
28
const: 1
29
30
ranges:
31
minItems: 1
32
maxItems: 2
33
34
"#access-controller-cells":
35
const: 1
36
description:
37
Contains the debug profile necessary to access the peripheral.
38
39
patternProperties:
40
"@[0-9a-f]+$":
41
description: Debug related peripherals
42
type: object
43
44
additionalProperties: true
45
46
required:
47
- access-controllers
48
49
required:
50
- "#access-controller-cells"
51
- "#address-cells"
52
- "#size-cells"
53
- compatible
54
- ranges
55
56
additionalProperties: false
57
58
examples:
59
- |
60
#include <dt-bindings/clock/stm32mp1-clks.h>
61
62
dbg_bus: bus@50080000 {
63
compatible = "st,stm32mp131-dbg-bus";
64
#address-cells = <1>;
65
#size-cells = <1>;
66
#access-controller-cells = <1>;
67
ranges = <0x50080000 0x50080000 0x3f80000>;
68
69
cti@50094000 {
70
compatible = "arm,coresight-cti", "arm,primecell";
71
reg = <0x50094000 0x1000>;
72
clocks = <&rcc CK_DBG>;
73
clock-names = "apb_pclk";
74
access-controllers = <&dbg_bus 0>;
75
};
76
};
77
78