From 228b3a635ce53a451933b03c92537678683523b4 Mon Sep 17 00:00:00 2001 From: Dipen Patel Date: Mon, 25 Sep 2023 22:09:46 +0000 Subject: [PATCH] overlay: safety: Enable I2C SW fault reporting In the safety environment, I2C should be able to report the pre-defined faults through EPL to FSI. This CL enables the missing DT configuration which enables reporting. Bug 4289946 Change-Id: Ib3db16fb822aff61c89dd03fbbcd87fc48f8aab9 Signed-off-by: Dipen Patel Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2985294 (cherry picked from commit 544a766157aaa85d22083e22c44487bd832cf413 in rel-36) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2993790 Reviewed-by: Bibek Basu GVS: Gerrit_Virtual_Submit --- .../tegra234-p3740-0002+p3701-0008-safety.dts | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/overlay/tegra234-p3740-0002+p3701-0008-safety.dts b/overlay/tegra234-p3740-0002+p3701-0008-safety.dts index 2839019..498f9e8 100644 --- a/overlay/tegra234-p3740-0002+p3701-0008-safety.dts +++ b/overlay/tegra234-p3740-0002+p3701-0008-safety.dts @@ -14,6 +14,38 @@ compatible = "nvidia,p3740-0002+p3701-0008", "safety", "nvidia,p3701-0008", "nvidia,tegra234"; bus@0 { + i2c@3160000 { + nvidia,epl-reporter-id = <0x8050>; + }; + + i2c@c240000 { + nvidia,epl-reporter-id = <0x8051>; + }; + + i2c@3180000 { + nvidia,epl-reporter-id = <0x8052>; + }; + + i2c@3190000 { + nvidia,epl-reporter-id = <0x8053>; + }; + + i2c@31b0000 { + nvidia,epl-reporter-id = <0x8054>; + }; + + i2c@31c0000 { + nvidia,epl-reporter-id = <0x8056>; + }; + + i2c@c250000 { + nvidia,epl-reporter-id = <0x8057>; + }; + + i2c@31e0000 { + nvidia,epl-reporter-id = <0x8058>; + }; + hsp_top2: hsp@1600000 { status = "okay"; }; @@ -197,4 +229,4 @@ }; }; }; -}; \ No newline at end of file +};