xref: /freebsd/sys/contrib/device-tree/Bindings/soc/ti/ti,j784s4-bist.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot# Copyright (C) 2025 Texas Instruments Incorporated
3*833e5d42SEmmanuel Vadot%YAML 1.2
4*833e5d42SEmmanuel Vadot---
5*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/soc/ti/ti,j784s4-bist.yaml#
6*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7*833e5d42SEmmanuel Vadot
8*833e5d42SEmmanuel Vadottitle: Texas Instruments K3 BIST
9*833e5d42SEmmanuel Vadot
10*833e5d42SEmmanuel Vadotmaintainers:
11*833e5d42SEmmanuel Vadot  - Neha Malcom Francis <n-francis@ti.com>
12*833e5d42SEmmanuel Vadot
13*833e5d42SEmmanuel VadotallOf:
14*833e5d42SEmmanuel Vadot  - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#
15*833e5d42SEmmanuel Vadot
16*833e5d42SEmmanuel Vadotdescription:
17*833e5d42SEmmanuel Vadot  The BIST (Built-In Self Test) module is an IP block present in K3 devices
18*833e5d42SEmmanuel Vadot  that support triggering of BIST tests, both PBIST (Memory BIST) and LBIST
19*833e5d42SEmmanuel Vadot  (Logic BIST) on a core. Both tests are destructive in nature. At boot, BIST
20*833e5d42SEmmanuel Vadot  is executed by hardware for the MCU domain automatically as part of HW POST.
21*833e5d42SEmmanuel Vadot
22*833e5d42SEmmanuel Vadotproperties:
23*833e5d42SEmmanuel Vadot  compatible:
24*833e5d42SEmmanuel Vadot    const: ti,j784s4-bist
25*833e5d42SEmmanuel Vadot
26*833e5d42SEmmanuel Vadot  reg:
27*833e5d42SEmmanuel Vadot    maxItems: 2
28*833e5d42SEmmanuel Vadot
29*833e5d42SEmmanuel Vadot  reg-names:
30*833e5d42SEmmanuel Vadot    items:
31*833e5d42SEmmanuel Vadot      - const: cfg
32*833e5d42SEmmanuel Vadot      - const: ctrl_mmr
33*833e5d42SEmmanuel Vadot
34*833e5d42SEmmanuel Vadot  clocks:
35*833e5d42SEmmanuel Vadot    maxItems: 1
36*833e5d42SEmmanuel Vadot
37*833e5d42SEmmanuel Vadot  power-domains:
38*833e5d42SEmmanuel Vadot    maxItems: 1
39*833e5d42SEmmanuel Vadot
40*833e5d42SEmmanuel Vadotrequired:
41*833e5d42SEmmanuel Vadot  - compatible
42*833e5d42SEmmanuel Vadot  - reg
43*833e5d42SEmmanuel Vadot  - reg-names
44*833e5d42SEmmanuel Vadot  - ti,sci-dev-id
45*833e5d42SEmmanuel Vadot
46*833e5d42SEmmanuel VadotunevaluatedProperties: false
47*833e5d42SEmmanuel Vadot
48*833e5d42SEmmanuel Vadotexamples:
49*833e5d42SEmmanuel Vadot  - |
50*833e5d42SEmmanuel Vadot    #include <dt-bindings/soc/ti,sci_pm_domain.h>
51*833e5d42SEmmanuel Vadot    bus {
52*833e5d42SEmmanuel Vadot        #address-cells = <2>;
53*833e5d42SEmmanuel Vadot        #size-cells = <2>;
54*833e5d42SEmmanuel Vadot        safety-selftest@33c0000 {
55*833e5d42SEmmanuel Vadot            compatible = "ti,j784s4-bist";
56*833e5d42SEmmanuel Vadot            reg = <0x00 0x033c0000 0x00 0x400>,
57*833e5d42SEmmanuel Vadot                  <0x00 0x0010c1a0 0x00 0x01c>;
58*833e5d42SEmmanuel Vadot            reg-names = "cfg", "ctrl_mmr";
59*833e5d42SEmmanuel Vadot            clocks = <&k3_clks 237 7>;
60*833e5d42SEmmanuel Vadot            power-domains = <&k3_pds 237 TI_SCI_PD_EXCLUSIVE>;
61*833e5d42SEmmanuel Vadot            ti,sci-dev-id = <234>;
62*833e5d42SEmmanuel Vadot        };
63*833e5d42SEmmanuel Vadot    };
64