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