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