Path: blob/master/Documentation/devicetree/bindings/bus/baikal,bt1-apb.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright (C) 2020 BAIKAL ELECTRONICS, JSC2%YAML 1.23---4$id: http://devicetree.org/schemas/bus/baikal,bt1-apb.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Baikal-T1 APB-bus89maintainers:10- Serge Semin <fancer.lancer@gmail.com>1112description: |13Baikal-T1 CPU or DMAC MMIO requests are handled by the AMBA 3 AXI Interconnect14which routes them to the AXI-APB bridge. This interface is a single master15multiple slaves bus in turn serializing IO accesses and routing them to the16addressed APB slave devices. In case of any APB protocol collisions, slave17device not responding on timeout an IRQ is raised with an erroneous address18reported to the APB terminator (APB Errors Handler Block).1920allOf:21- $ref: /schemas/simple-bus.yaml#2223properties:24compatible:25contains:26const: baikal,bt1-apb2728reg:29items:30- description: APB EHB MMIO registers31- description: APB MMIO region with no any device mapped3233reg-names:34items:35- const: ehb36- const: nodev3738interrupts:39maxItems: 14041clocks:42items:43- description: APB reference clock4445clock-names:46items:47- const: pclk4849resets:50items:51- description: APB domain reset line5253reset-names:54items:55- const: prst5657unevaluatedProperties: false5859required:60- compatible61- reg62- reg-names63- interrupts64- clocks65- clock-names6667examples:68- |69#include <dt-bindings/interrupt-controller/mips-gic.h>7071bus@1f059000 {72compatible = "baikal,bt1-apb", "simple-bus";73reg = <0x1f059000 0x1000>,74<0x1d000000 0x2040000>;75reg-names = "ehb", "nodev";76#address-cells = <1>;77#size-cells = <1>;7879ranges;8081interrupts = <GIC_SHARED 16 IRQ_TYPE_LEVEL_HIGH>;8283clocks = <&ccu_sys 1>;84clock-names = "pclk";8586resets = <&ccu_sys 1>;87reset-names = "prst";88};89...909192