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