Patrick Delaunay | e25cbd4 | 2022-07-05 16:55:54 +0200 | [diff] [blame] | 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>; |
Patrick Delaunay | e25cbd4 | 2022-07-05 16:55:54 +0200 | [diff] [blame] | 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 | |
Patrice Chotard | 02d88c0 | 2023-09-26 17:09:18 +0200 | [diff] [blame] | 37 | scmi_reg11: regulator@0 { |
Patrick Delaunay | e25cbd4 | 2022-07-05 16:55:54 +0200 | [diff] [blame] | 38 | reg = <0>; |
| 39 | regulator-name = "reg11"; |
| 40 | regulator-min-microvolt = <1100000>; |
| 41 | regulator-max-microvolt = <1100000>; |
| 42 | }; |
| 43 | |
Patrice Chotard | 02d88c0 | 2023-09-26 17:09:18 +0200 | [diff] [blame] | 44 | scmi_reg18: regulator@1 { |
Patrick Delaunay | e25cbd4 | 2022-07-05 16:55:54 +0200 | [diff] [blame] | 45 | reg = <1>; |
| 46 | regulator-name = "reg18"; |
| 47 | regulator-min-microvolt = <1800000>; |
| 48 | regulator-max-microvolt = <1800000>; |
| 49 | }; |
| 50 | |
Patrice Chotard | 02d88c0 | 2023-09-26 17:09:18 +0200 | [diff] [blame] | 51 | scmi_usb33: regulator@2 { |
Patrick Delaunay | e25cbd4 | 2022-07-05 16:55:54 +0200 | [diff] [blame] | 52 | reg = <2>; |
| 53 | regulator-name = "usb33"; |
| 54 | regulator-min-microvolt = <3300000>; |
| 55 | regulator-max-microvolt = <3300000>; |
| 56 | }; |
| 57 | }; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
Patrick Delaunay | e25cbd4 | 2022-07-05 16:55:54 +0200 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | ®11 { |
| 64 | status = "disabled"; |
| 65 | }; |
| 66 | |
| 67 | ®18 { |
| 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; |