xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/stm32mp15-scmi.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2022 - All Rights Reserved
4*f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	firmware {
9*f126890aSEmmanuel Vadot		optee: optee {
10*f126890aSEmmanuel Vadot			compatible = "linaro,optee-tz";
11*f126890aSEmmanuel Vadot			method = "smc";
12*f126890aSEmmanuel Vadot		};
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot		scmi: scmi {
15*f126890aSEmmanuel Vadot			compatible = "linaro,scmi-optee";
16*f126890aSEmmanuel Vadot			#address-cells = <1>;
17*f126890aSEmmanuel Vadot			#size-cells = <0>;
18*f126890aSEmmanuel Vadot			linaro,optee-channel-id = <0>;
19*f126890aSEmmanuel Vadot			shmem = <&scmi_shm>;
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot			scmi_clk: protocol@14 {
22*f126890aSEmmanuel Vadot				reg = <0x14>;
23*f126890aSEmmanuel Vadot				#clock-cells = <1>;
24*f126890aSEmmanuel Vadot			};
25*f126890aSEmmanuel Vadot
26*f126890aSEmmanuel Vadot			scmi_reset: protocol@16 {
27*f126890aSEmmanuel Vadot				reg = <0x16>;
28*f126890aSEmmanuel Vadot				#reset-cells = <1>;
29*f126890aSEmmanuel Vadot			};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot			scmi_voltd: protocol@17 {
32*f126890aSEmmanuel Vadot				reg = <0x17>;
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot				scmi_reguls: regulators {
35*f126890aSEmmanuel Vadot					#address-cells = <1>;
36*f126890aSEmmanuel Vadot					#size-cells = <0>;
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot					scmi_reg11: reg11@0 {
39*f126890aSEmmanuel Vadot						reg = <0>;
40*f126890aSEmmanuel Vadot						regulator-name = "reg11";
41*f126890aSEmmanuel Vadot						regulator-min-microvolt = <1100000>;
42*f126890aSEmmanuel Vadot						regulator-max-microvolt = <1100000>;
43*f126890aSEmmanuel Vadot					};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot					scmi_reg18: reg18@1 {
46*f126890aSEmmanuel Vadot						voltd-name = "reg18";
47*f126890aSEmmanuel Vadot						reg = <1>;
48*f126890aSEmmanuel Vadot						regulator-name = "reg18";
49*f126890aSEmmanuel Vadot						regulator-min-microvolt = <1800000>;
50*f126890aSEmmanuel Vadot						regulator-max-microvolt = <1800000>;
51*f126890aSEmmanuel Vadot					};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot					scmi_usb33: usb33@2 {
54*f126890aSEmmanuel Vadot						reg = <2>;
55*f126890aSEmmanuel Vadot						regulator-name = "usb33";
56*f126890aSEmmanuel Vadot						regulator-min-microvolt = <3300000>;
57*f126890aSEmmanuel Vadot						regulator-max-microvolt = <3300000>;
58*f126890aSEmmanuel Vadot					};
59*f126890aSEmmanuel Vadot				};
60*f126890aSEmmanuel Vadot			};
61*f126890aSEmmanuel Vadot		};
62*f126890aSEmmanuel Vadot	};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot	soc {
65*f126890aSEmmanuel Vadot		scmi_sram: sram@2ffff000 {
66*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
67*f126890aSEmmanuel Vadot			reg = <0x2ffff000 0x1000>;
68*f126890aSEmmanuel Vadot			#address-cells = <1>;
69*f126890aSEmmanuel Vadot			#size-cells = <1>;
70*f126890aSEmmanuel Vadot			ranges = <0 0x2ffff000 0x1000>;
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot			scmi_shm: scmi-sram@0 {
73*f126890aSEmmanuel Vadot				compatible = "arm,scmi-shmem";
74*f126890aSEmmanuel Vadot				reg = <0 0x80>;
75*f126890aSEmmanuel Vadot			};
76*f126890aSEmmanuel Vadot		};
77*f126890aSEmmanuel Vadot	};
78*f126890aSEmmanuel Vadot};
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot&reg11 {
81*f126890aSEmmanuel Vadot	status = "disabled";
82*f126890aSEmmanuel Vadot};
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot&reg18 {
85*f126890aSEmmanuel Vadot	status = "disabled";
86*f126890aSEmmanuel Vadot};
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot&usb33 {
89*f126890aSEmmanuel Vadot	status = "disabled";
90*f126890aSEmmanuel Vadot};
91*f126890aSEmmanuel Vadot
92*f126890aSEmmanuel Vadot&usbotg_hs {
93*f126890aSEmmanuel Vadot	usb33d-supply = <&scmi_usb33>;
94*f126890aSEmmanuel Vadot};
95*f126890aSEmmanuel Vadot
96*f126890aSEmmanuel Vadot&usbphyc {
97*f126890aSEmmanuel Vadot	vdda1v1-supply = <&scmi_reg11>;
98*f126890aSEmmanuel Vadot	vdda1v8-supply = <&scmi_reg18>;
99*f126890aSEmmanuel Vadot};
100*f126890aSEmmanuel Vadot
101*f126890aSEmmanuel Vadot/delete-node/ &clk_hse;
102*f126890aSEmmanuel Vadot/delete-node/ &clk_hsi;
103*f126890aSEmmanuel Vadot/delete-node/ &clk_lse;
104*f126890aSEmmanuel Vadot/delete-node/ &clk_lsi;
105*f126890aSEmmanuel Vadot/delete-node/ &clk_csi;
106