xref: /freebsd/sys/contrib/device-tree/Bindings/bus/nvidia,tegra210-aconnect.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/bus/nvidia,tegra210-aconnect.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: NVIDIA Tegra ACONNECT Bus
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotdescription: |
10*aa1a8ff2SEmmanuel Vadot  The Tegra ACONNECT bus is an AXI switch which is used to connect various
115def4c47SEmmanuel Vadot  components inside the Audio Processing Engine (APE). All CPU accesses to
125def4c47SEmmanuel Vadot  the APE subsystem go through the ACONNECT via an APB to AXI wrapper. All
13*aa1a8ff2SEmmanuel Vadot  devices accessed via the ACONNECT are described by child-nodes.
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotmaintainers:
165def4c47SEmmanuel Vadot  - Jon Hunter <jonathanh@nvidia.com>
175def4c47SEmmanuel Vadot
185def4c47SEmmanuel Vadotproperties:
195def4c47SEmmanuel Vadot  compatible:
205def4c47SEmmanuel Vadot    oneOf:
215def4c47SEmmanuel Vadot      - const: nvidia,tegra210-aconnect
225def4c47SEmmanuel Vadot      - items:
235def4c47SEmmanuel Vadot          - enum:
24c9ccf3a3SEmmanuel Vadot              - nvidia,tegra234-aconnect
255def4c47SEmmanuel Vadot              - nvidia,tegra186-aconnect
265def4c47SEmmanuel Vadot              - nvidia,tegra194-aconnect
275def4c47SEmmanuel Vadot          - const: nvidia,tegra210-aconnect
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  clocks:
305def4c47SEmmanuel Vadot    items:
315def4c47SEmmanuel Vadot      - description: Must contain the entry for APE clock
325def4c47SEmmanuel Vadot      - description: Must contain the entry for APE interface clock
335def4c47SEmmanuel Vadot
345def4c47SEmmanuel Vadot  clock-names:
355def4c47SEmmanuel Vadot    items:
365def4c47SEmmanuel Vadot      - const: ape
375def4c47SEmmanuel Vadot      - const: apb2ape
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadot  power-domains:
405def4c47SEmmanuel Vadot    maxItems: 1
415def4c47SEmmanuel Vadot
425def4c47SEmmanuel Vadot  "#address-cells":
43cb7aa33aSEmmanuel Vadot    enum: [ 1, 2 ]
445def4c47SEmmanuel Vadot
455def4c47SEmmanuel Vadot  "#size-cells":
46cb7aa33aSEmmanuel Vadot    enum: [ 1, 2 ]
475def4c47SEmmanuel Vadot
485def4c47SEmmanuel Vadot  ranges: true
495def4c47SEmmanuel Vadot
505def4c47SEmmanuel VadotpatternProperties:
515def4c47SEmmanuel Vadot  "@[0-9a-f]+$":
525def4c47SEmmanuel Vadot    type: object
535def4c47SEmmanuel Vadot
545def4c47SEmmanuel Vadotrequired:
555def4c47SEmmanuel Vadot  - compatible
565def4c47SEmmanuel Vadot  - clocks
575def4c47SEmmanuel Vadot  - clock-names
585def4c47SEmmanuel Vadot  - power-domains
595def4c47SEmmanuel Vadot  - "#address-cells"
605def4c47SEmmanuel Vadot  - "#size-cells"
615def4c47SEmmanuel Vadot  - ranges
625def4c47SEmmanuel Vadot
635def4c47SEmmanuel VadotadditionalProperties: false
645def4c47SEmmanuel Vadot
655def4c47SEmmanuel Vadotexamples:
665def4c47SEmmanuel Vadot  - |
675def4c47SEmmanuel Vadot    #include<dt-bindings/clock/tegra210-car.h>
685def4c47SEmmanuel Vadot
695def4c47SEmmanuel Vadot    aconnect@702c0000 {
705def4c47SEmmanuel Vadot        compatible = "nvidia,tegra210-aconnect";
715def4c47SEmmanuel Vadot        clocks = <&tegra_car TEGRA210_CLK_APE>,
725def4c47SEmmanuel Vadot                 <&tegra_car TEGRA210_CLK_APB2APE>;
735def4c47SEmmanuel Vadot        clock-names = "ape", "apb2ape";
745def4c47SEmmanuel Vadot        power-domains = <&pd_audio>;
755def4c47SEmmanuel Vadot
765def4c47SEmmanuel Vadot        #address-cells = <1>;
775def4c47SEmmanuel Vadot        #size-cells = <1>;
785def4c47SEmmanuel Vadot        ranges = <0x702c0000 0x702c0000 0x00040000>;
795def4c47SEmmanuel Vadot
805def4c47SEmmanuel Vadot        // Child device nodes follow ...
815def4c47SEmmanuel Vadot    };
825def4c47SEmmanuel Vadot
835def4c47SEmmanuel Vadot...
84