1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot# Copyright (C) 2020 BAIKAL ELECTRONICS, JSC 3c66ec88fSEmmanuel Vadot%YAML 1.2 4c66ec88fSEmmanuel Vadot--- 5c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/bus/baikal,bt1-axi.yaml# 6c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadottitle: Baikal-T1 AXI-bus 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadotmaintainers: 11c66ec88fSEmmanuel Vadot - Serge Semin <fancer.lancer@gmail.com> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotdescription: | 14c66ec88fSEmmanuel Vadot AXI3-bus is the main communication bus of Baikal-T1 SoC connecting all 15c66ec88fSEmmanuel Vadot high-speed peripheral IP-cores with RAM controller and with MIPS P5600 16c66ec88fSEmmanuel Vadot cores. Traffic arbitration is done by means of DW AXI Interconnect (so 17c66ec88fSEmmanuel Vadot called AXI Main Interconnect) routing IO requests from one block to 18c66ec88fSEmmanuel Vadot another: from CPU to SoC peripherals and between some SoC peripherals 19c66ec88fSEmmanuel Vadot (mostly between peripheral devices and RAM, but also between DMA and 20c66ec88fSEmmanuel Vadot some peripherals). In case of any protocol error, device not responding 21c66ec88fSEmmanuel Vadot an IRQ is raised and a faulty situation is reported to the AXI EHB 22c66ec88fSEmmanuel Vadot (Errors Handler Block) embedded on top of the DW AXI Interconnect and 23c66ec88fSEmmanuel Vadot accessible by means of the Baikal-T1 System Controller. 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel VadotallOf: 26c66ec88fSEmmanuel Vadot - $ref: /schemas/simple-bus.yaml# 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadotproperties: 29c66ec88fSEmmanuel Vadot compatible: 30c66ec88fSEmmanuel Vadot contains: 31c66ec88fSEmmanuel Vadot const: baikal,bt1-axi 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot reg: 34c66ec88fSEmmanuel Vadot minItems: 1 35c66ec88fSEmmanuel Vadot items: 36c66ec88fSEmmanuel Vadot - description: Synopsys DesignWare AXI Interconnect QoS registers 37c66ec88fSEmmanuel Vadot - description: AXI EHB MMIO system controller registers 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot reg-names: 40c66ec88fSEmmanuel Vadot minItems: 1 41c66ec88fSEmmanuel Vadot items: 42c66ec88fSEmmanuel Vadot - const: qos 43c66ec88fSEmmanuel Vadot - const: ehb 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadot '#interconnect-cells': 46c66ec88fSEmmanuel Vadot const: 1 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot syscon: 49*5def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 50c66ec88fSEmmanuel Vadot description: Phandle to the Baikal-T1 System Controller DT node 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot interrupts: 53c66ec88fSEmmanuel Vadot maxItems: 1 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadot clocks: 56c66ec88fSEmmanuel Vadot items: 57c66ec88fSEmmanuel Vadot - description: Main Interconnect uplink reference clock 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot clock-names: 60c66ec88fSEmmanuel Vadot items: 61c66ec88fSEmmanuel Vadot - const: aclk 62c66ec88fSEmmanuel Vadot 63c66ec88fSEmmanuel Vadot resets: 64c66ec88fSEmmanuel Vadot items: 65c66ec88fSEmmanuel Vadot - description: Main Interconnect reset line 66c66ec88fSEmmanuel Vadot 67c66ec88fSEmmanuel Vadot reset-names: 68c66ec88fSEmmanuel Vadot items: 69c66ec88fSEmmanuel Vadot - const: arst 70c66ec88fSEmmanuel Vadot 71c66ec88fSEmmanuel VadotunevaluatedProperties: false 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadotrequired: 74c66ec88fSEmmanuel Vadot - compatible 75c66ec88fSEmmanuel Vadot - reg 76c66ec88fSEmmanuel Vadot - reg-names 77c66ec88fSEmmanuel Vadot - syscon 78c66ec88fSEmmanuel Vadot - interrupts 79c66ec88fSEmmanuel Vadot - clocks 80c66ec88fSEmmanuel Vadot - clock-names 81c66ec88fSEmmanuel Vadot 82c66ec88fSEmmanuel Vadotexamples: 83c66ec88fSEmmanuel Vadot - | 84c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/mips-gic.h> 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadot bus@1f05a000 { 87c66ec88fSEmmanuel Vadot compatible = "baikal,bt1-axi", "simple-bus"; 88c66ec88fSEmmanuel Vadot reg = <0x1f05a000 0x1000>, 89c66ec88fSEmmanuel Vadot <0x1f04d110 0x8>; 90c66ec88fSEmmanuel Vadot reg-names = "qos", "ehb"; 91c66ec88fSEmmanuel Vadot #address-cells = <1>; 92c66ec88fSEmmanuel Vadot #size-cells = <1>; 93c66ec88fSEmmanuel Vadot #interconnect-cells = <1>; 94c66ec88fSEmmanuel Vadot 95c66ec88fSEmmanuel Vadot syscon = <&syscon>; 96c66ec88fSEmmanuel Vadot 97c66ec88fSEmmanuel Vadot ranges; 98c66ec88fSEmmanuel Vadot 99c66ec88fSEmmanuel Vadot interrupts = <GIC_SHARED 127 IRQ_TYPE_LEVEL_HIGH>; 100c66ec88fSEmmanuel Vadot 101c66ec88fSEmmanuel Vadot clocks = <&ccu_axi 0>; 102c66ec88fSEmmanuel Vadot clock-names = "aclk"; 103c66ec88fSEmmanuel Vadot 104c66ec88fSEmmanuel Vadot resets = <&ccu_axi 0>; 105c66ec88fSEmmanuel Vadot reset-names = "arst"; 106c66ec88fSEmmanuel Vadot }; 107c66ec88fSEmmanuel Vadot... 108