Baikal-T1 APB-bus
Schema identifier ($id): "http://devicetree.org/schemas/bus/baikal,bt1-apb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"
Baikal-T1 CPU or DMAC MMIO requests are handled by the AMBA 3 AXI Interconnect which routes them to the AXI-APB bridge. This interface is a single master multiple slaves bus in turn serializing IO accesses and routing them to the addressed APB slave devices. In case of any APB protocol collisions, slave device not responding on timeout an IRQ is raised with an erroneous address reported to the APB terminator (APB Errors Handler Block).
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/simple-bus.yaml#
Properties and child nodes (properties) #
compatible — required here #
Rule for matching array elements (contains) #
Exact value (
const):"baikal,bt1-apb"
reg — required here #
Array item rules (items) #
Item 1
APB EHB MMIO registers
Item 2
APB MMIO region with no any device mapped
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ehb"
Item 2
Exact value (
const):"nodev"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
APB reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
resets — not listed as required here #
Array item rules (items) #
Item 1
APB domain reset line
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"prst"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names"
Examples (examples) #
#include <dt-bindings/interrupt-controller/mips-gic.h>
bus@1f059000 {
compatible = "baikal,bt1-apb", "simple-bus";
reg = <0x1f059000 0x1000>,
<0x1d000000 0x2040000>;
reg-names = "ehb", "nodev";
#address-cells = <1>;
#size-cells = <1>;
ranges;
interrupts = <GIC_SHARED 16 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu_sys 1>;
clock-names = "pclk";
resets = <&ccu_sys 1>;
reset-names = "prst";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 BAIKAL ELECTRONICS, JSC