91 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) 2020 BAIKAL ELECTRONICS, JSC3%YAML 1.24---5$id: http://devicetree.org/schemas/bus/baikal,bt1-apb.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Baikal-T1 APB-bus9 10maintainers:11 - Serge Semin <fancer.lancer@gmail.com>12 13description: |14 Baikal-T1 CPU or DMAC MMIO requests are handled by the AMBA 3 AXI Interconnect15 which routes them to the AXI-APB bridge. This interface is a single master16 multiple slaves bus in turn serializing IO accesses and routing them to the17 addressed APB slave devices. In case of any APB protocol collisions, slave18 device not responding on timeout an IRQ is raised with an erroneous address19 reported to the APB terminator (APB Errors Handler Block).20 21allOf:22 - $ref: /schemas/simple-bus.yaml#23 24properties:25 compatible:26 contains:27 const: baikal,bt1-apb28 29 reg:30 items:31 - description: APB EHB MMIO registers32 - description: APB MMIO region with no any device mapped33 34 reg-names:35 items:36 - const: ehb37 - const: nodev38 39 interrupts:40 maxItems: 141 42 clocks:43 items:44 - description: APB reference clock45 46 clock-names:47 items:48 - const: pclk49 50 resets:51 items:52 - description: APB domain reset line53 54 reset-names:55 items:56 - const: prst57 58unevaluatedProperties: false59 60required:61 - compatible62 - reg63 - reg-names64 - interrupts65 - clocks66 - clock-names67 68examples:69 - |70 #include <dt-bindings/interrupt-controller/mips-gic.h>71 72 bus@1f059000 {73 compatible = "baikal,bt1-apb", "simple-bus";74 reg = <0x1f059000 0x1000>,75 <0x1d000000 0x2040000>;76 reg-names = "ehb", "nodev";77 #address-cells = <1>;78 #size-cells = <1>;79 80 ranges;81 82 interrupts = <GIC_SHARED 16 IRQ_TYPE_LEVEL_HIGH>;83 84 clocks = <&ccu_sys 1>;85 clock-names = "pclk";86 87 resets = <&ccu_sys 1>;88 reset-names = "prst";89 };90...91