|
7 | 7 | /dts-v1/;
|
8 | 8 |
|
9 | 9 | #include <dt-bindings/gpio/gpio.h>
|
| 10 | +#include <dt-bindings/regulator/st,stm32mp25-regulator.h> |
10 | 11 | #include "stm32mp257.dtsi"
|
11 | 12 | #include "stm32mp25xf.dtsi"
|
12 | 13 | #include "stm32mp25-pinctrl.dtsi"
|
|
42 | 43 | no-map;
|
43 | 44 | };
|
44 | 45 | };
|
45 |
| - |
46 |
| - vdd_sdcard: vdd-sdcard { |
47 |
| - compatible = "regulator-fixed"; |
48 |
| - regulator-name = "vdd_sdcard"; |
49 |
| - regulator-min-microvolt = <3300000>; |
50 |
| - regulator-max-microvolt = <3300000>; |
51 |
| - regulator-always-on; |
52 |
| - }; |
53 | 46 | };
|
54 | 47 |
|
55 | 48 | &arm_wdt {
|
|
100 | 93 | status = "disabled";
|
101 | 94 | };
|
102 | 95 |
|
| 96 | +&scmi_regu { |
| 97 | + scmi_vddio1: regulator@0 { |
| 98 | + regulator-min-microvolt = <1800000>; |
| 99 | + regulator-max-microvolt = <3300000>; |
| 100 | + }; |
| 101 | + scmi_vddcore: regulator@11 { |
| 102 | + reg = <VOLTD_SCMI_STPMIC2_BUCK2>; |
| 103 | + regulator-name = "vddcore"; |
| 104 | + }; |
| 105 | + scmi_v1v8: regulator@14 { |
| 106 | + reg = <VOLTD_SCMI_STPMIC2_BUCK5>; |
| 107 | + regulator-name = "v1v8"; |
| 108 | + }; |
| 109 | + scmi_v3v3: regulator@16 { |
| 110 | + reg = <VOLTD_SCMI_STPMIC2_BUCK7>; |
| 111 | + regulator-name = "v3v3"; |
| 112 | + }; |
| 113 | + scmi_vdd_emmc: regulator@18 { |
| 114 | + reg = <VOLTD_SCMI_STPMIC2_LDO2>; |
| 115 | + regulator-name = "vdd_emmc"; |
| 116 | + }; |
| 117 | + scmi_vdd3v3_usb: regulator@20 { |
| 118 | + reg = <VOLTD_SCMI_STPMIC2_LDO4>; |
| 119 | + regulator-name = "vdd3v3_usb"; |
| 120 | + }; |
| 121 | + scmi_vdd_sdcard: regulator@23 { |
| 122 | + reg = <VOLTD_SCMI_STPMIC2_LDO7>; |
| 123 | + regulator-name = "vdd_sdcard"; |
| 124 | + }; |
| 125 | +}; |
| 126 | + |
103 | 127 | &sdmmc1 {
|
104 | 128 | pinctrl-names = "default", "opendrain", "sleep";
|
105 | 129 | pinctrl-0 = <&sdmmc1_b4_pins_a>;
|
|
109 | 133 | disable-wp;
|
110 | 134 | st,neg-edge;
|
111 | 135 | bus-width = <4>;
|
112 |
| - vmmc-supply = <&vdd_sdcard>; |
| 136 | + vmmc-supply = <&scmi_vdd_sdcard>; |
| 137 | + vqmmc-supply = <&scmi_vddio1>; |
113 | 138 | status = "okay";
|
114 | 139 | };
|
115 | 140 |
|
|
0 commit comments