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