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 "stm32mp157a-dk1.dts"
10724ba675SRob Herring#include "stm32mp15-scmi.dtsi"
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	model = "STMicroelectronics STM32MP157A-DK1 SCMI Discovery Board";
14*42357465SAhmad Fatoum	compatible = "st,stm32mp157a-dk1-scmi", "st,stm32mp157";
15724ba675SRob Herring
16724ba675SRob Herring	reserved-memory {
17724ba675SRob Herring		optee@de000000 {
18724ba675SRob Herring			reg = <0xde000000 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&dsi {
33724ba675SRob Herring	clocks = <&rcc DSI_K>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
34724ba675SRob Herring};
35724ba675SRob Herring
36724ba675SRob Herring&gpioz {
37724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_GPIOZ>;
38724ba675SRob Herring};
39724ba675SRob Herring
40724ba675SRob Herring&hash1 {
41724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_HASH1>;
42724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_HASH1>;
43724ba675SRob Herring};
44724ba675SRob Herring
45724ba675SRob Herring&i2c4 {
46724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_I2C4>;
47724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_I2C4>;
48724ba675SRob Herring};
49724ba675SRob Herring
50724ba675SRob Herring&iwdg2 {
51724ba675SRob Herring	clocks = <&rcc IWDG2>, <&scmi_clk CK_SCMI_LSI>;
52724ba675SRob Herring};
53724ba675SRob Herring
54724ba675SRob Herring&mdma1 {
55724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_MDMA>;
56724ba675SRob Herring};
57724ba675SRob Herring
58724ba675SRob Herring&m4_rproc {
59724ba675SRob Herring	/delete-property/ st,syscfg-holdboot;
60724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_MCU>,
61724ba675SRob Herring		 <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>;
62724ba675SRob Herring	reset-names =  "mcu_rst", "hold_boot";
63724ba675SRob Herring};
64724ba675SRob Herring
65724ba675SRob Herring&rcc {
66724ba675SRob Herring	compatible = "st,stm32mp1-rcc-secure", "syscon";
67724ba675SRob Herring	clock-names = "hse", "hsi", "csi", "lse", "lsi";
68724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_HSE>,
69724ba675SRob Herring		 <&scmi_clk CK_SCMI_HSI>,
70724ba675SRob Herring		 <&scmi_clk CK_SCMI_CSI>,
71724ba675SRob Herring		 <&scmi_clk CK_SCMI_LSE>,
72724ba675SRob Herring		 <&scmi_clk CK_SCMI_LSI>;
73724ba675SRob Herring};
74724ba675SRob Herring
75724ba675SRob Herring&rng1 {
76724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_RNG1>;
77724ba675SRob Herring	resets = <&scmi_reset RST_SCMI_RNG1>;
78724ba675SRob Herring};
79724ba675SRob Herring
80724ba675SRob Herring&rtc {
81724ba675SRob Herring	clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
82724ba675SRob Herring};
83