Skip to content

Commit 387abbb

Browse files
Pascal PailletAlexandre Torgue
authored andcommitted
arm64: dts: st: add scmi regulators on stm32mp25
Add SCMI regulators description on STM32MP25. Signed-off-by: Pascal Paillet <[email protected]> Signed-off-by: Alexandre Torgue <[email protected]>
1 parent 87b6426 commit 387abbb

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

arch/arm64/boot/dts/st/stm32mp251.dtsi

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <dt-bindings/clock/st,stm32mp25-rcc.h>
77
#include <dt-bindings/interrupt-controller/arm-gic.h>
88
#include <dt-bindings/reset/st,stm32mp25-rcc.h>
9+
#include <dt-bindings/regulator/st,stm32mp25-regulator.h>
910

1011
/ {
1112
#address-cells = <2>;
@@ -75,6 +76,40 @@
7576
reg = <0x16>;
7677
#reset-cells = <1>;
7778
};
79+
80+
scmi_voltd: protocol@17 {
81+
reg = <0x17>;
82+
83+
scmi_regu: regulators {
84+
#address-cells = <1>;
85+
#size-cells = <0>;
86+
87+
scmi_vddio1: regulator@0 {
88+
reg = <VOLTD_SCMI_VDDIO1>;
89+
regulator-name = "vddio1";
90+
};
91+
scmi_vddio2: regulator@1 {
92+
reg = <VOLTD_SCMI_VDDIO2>;
93+
regulator-name = "vddio2";
94+
};
95+
scmi_vddio3: regulator@2 {
96+
reg = <VOLTD_SCMI_VDDIO3>;
97+
regulator-name = "vddio3";
98+
};
99+
scmi_vddio4: regulator@3 {
100+
reg = <VOLTD_SCMI_VDDIO4>;
101+
regulator-name = "vddio4";
102+
};
103+
scmi_vdd33ucpd: regulator@5 {
104+
reg = <VOLTD_SCMI_UCPD>;
105+
regulator-name = "vdd33ucpd";
106+
};
107+
scmi_vdda18adc: regulator@7 {
108+
reg = <VOLTD_SCMI_ADC>;
109+
regulator-name = "vdda18adc";
110+
};
111+
};
112+
};
78113
};
79114
};
80115

0 commit comments

Comments
 (0)