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 | |
| 37 | scmi_reg11: reg11@0 { |
| 38 | reg = <0>; |
| 39 | regulator-name = "reg11"; |
| 40 | regulator-min-microvolt = <1100000>; |
| 41 | regulator-max-microvolt = <1100000>; |
| 42 | }; |
| 43 | |
| 44 | scmi_reg18: reg18@1 { |
| 45 | voltd-name = "reg18"; |
| 46 | reg = <1>; |
| 47 | regulator-name = "reg18"; |
| 48 | regulator-min-microvolt = <1800000>; |
| 49 | regulator-max-microvolt = <1800000>; |
| 50 | }; |
| 51 | |
| 52 | scmi_usb33: usb33@2 { |
| 53 | reg = <2>; |
| 54 | regulator-name = "usb33"; |
| 55 | regulator-min-microvolt = <3300000>; |
| 56 | regulator-max-microvolt = <3300000>; |
| 57 | }; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
| 61 | }; |
Patrick Delaunay | e25cbd4 | 2022-07-05 16:55:54 +0200 | [diff] [blame] | 62 | }; |
| 63 | |
| 64 | ®11 { |
| 65 | status = "disabled"; |
| 66 | }; |
| 67 | |
| 68 | ®18 { |
| 69 | status = "disabled"; |
| 70 | }; |
| 71 | |
| 72 | &usb33 { |
| 73 | status = "disabled"; |
| 74 | }; |
| 75 | |
| 76 | &usbotg_hs { |
| 77 | usb33d-supply = <&scmi_usb33>; |
| 78 | }; |
| 79 | |
| 80 | &usbphyc { |
| 81 | vdda1v1-supply = <&scmi_reg11>; |
| 82 | vdda1v8-supply = <&scmi_reg18>; |
| 83 | }; |
| 84 | |
| 85 | /delete-node/ &clk_hse; |
| 86 | /delete-node/ &clk_hsi; |
| 87 | /delete-node/ &clk_lse; |
| 88 | /delete-node/ &clk_lsi; |
| 89 | /delete-node/ &clk_csi; |