1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (C) STMicroelectronics 2022 - All Rights Reserved
4724ba675SRob Herring * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
5724ba675SRob Herring */
6724ba675SRob Herring
7724ba675SRob Herring/dts-v1/;
8724ba675SRob Herring
9724ba675SRob Herring#include "stm32mp157c-ev1.dts"
10724ba675SRob Herring#include "stm32mp15-scmi.dtsi"
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	model = "STMicroelectronics STM32MP157C-EV1 SCMI eval daughter on eval mother";
14*42357465SAhmad Fatoum	compatible = "st,stm32mp157c-ev1-scmi", "st,stm32mp157c-ed1", "st,stm32mp157";
15724ba675SRob Herring
16724ba675SRob Herring	reserved-memory {
17724ba675SRob Herring		optee@fe000000 {
18724ba675SRob Herring			reg = <0xfe000000 0x2000000>;
19724ba675SRob Herring			no-map;
20724ba675SRob Herring		};
21724ba675SRob Herring	};
22724ba675SRob Herring};
23724ba675SRob Herring
24724ba675SRob Herring&cpu0 {
25724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_MPU>;
26724ba675SRob Herring};
27724ba675SRob Herring
28724ba675SRob Herring&cpu1 {
29724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_MPU>;
30724ba675SRob Herring};
31724ba675SRob Herring
32724ba675SRob Herring&cryp1 {
33724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_CRYP1>;
34724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_CRYP1>;
35724ba675SRob Herring};
36724ba675SRob Herring
37724ba675SRob Herring&dsi {
38724ba675SRob Herring	phy-dsi-supply = <&scmi_reg18>;
39724ba675SRob Herring	clocks = <&rcc DSI_K>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
40724ba675SRob Herring};
41724ba675SRob Herring
42724ba675SRob Herring&gpioz {
43724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_GPIOZ>;
44724ba675SRob Herring};
45724ba675SRob Herring
46724ba675SRob Herring&hash1 {
47724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_HASH1>;
48724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_HASH1>;
49724ba675SRob Herring};
50724ba675SRob Herring
51724ba675SRob Herring&i2c4 {
52724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_I2C4>;
53724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_I2C4>;
54724ba675SRob Herring};
55724ba675SRob Herring
56724ba675SRob Herring&iwdg2 {
57724ba675SRob Herring	clocks = <&rcc IWDG2>, <&scmi_clk CK_SCMI_LSI>;
58724ba675SRob Herring};
59724ba675SRob Herring
60724ba675SRob Herring&m_can1 {
61724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_HSE>, <&rcc FDCAN_K>;
62724ba675SRob Herring};
63724ba675SRob Herring
64724ba675SRob Herring&mdma1 {
65724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_MDMA>;
66724ba675SRob Herring};
67724ba675SRob Herring
68724ba675SRob Herring&m4_rproc {
69724ba675SRob Herring	/delete-property/ st,syscfg-holdboot;
70724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_MCU>,
71724ba675SRob Herring		 <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>;
72724ba675SRob Herring	reset-names =  "mcu_rst", "hold_boot";
73724ba675SRob Herring};
74724ba675SRob Herring
75724ba675SRob Herring&rcc {
76724ba675SRob Herring	compatible = "st,stm32mp1-rcc-secure", "syscon";
77724ba675SRob Herring	clock-names = "hse", "hsi", "csi", "lse", "lsi";
78724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_HSE>,
79724ba675SRob Herring		 <&scmi_clk CK_SCMI_HSI>,
80724ba675SRob Herring		 <&scmi_clk CK_SCMI_CSI>,
81724ba675SRob Herring		 <&scmi_clk CK_SCMI_LSE>,
82724ba675SRob Herring		 <&scmi_clk CK_SCMI_LSI>;
83724ba675SRob Herring};
84724ba675SRob Herring
85724ba675SRob Herring&rng1 {
86724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_RNG1>;
87724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_RNG1>;
88724ba675SRob Herring};
89724ba675SRob Herring
90724ba675SRob Herring&rtc {
91724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
92724ba675SRob Herring};
93