@@ -7,16 +7,6 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
-/ {
- reg_3p3v: regulator-3p3v {
- compatible = "regulator-fixed";
- regulator-name = "supply-3p3v";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
-};
-
&ecspi1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1>;
@@ -29,6 +19,7 @@ m25p80: flash@0 {
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
+ vcc-supply = <&sw4_reg>;
m25p,fast-read;
};
};
@@ -183,7 +174,7 @@ reg_vgen6_3v3: vgen6 {
&usdhc3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc3>;
- vmmc-supply = <®_3p3v>;
+ vmmc-supply = <&sw4_reg>;
non-removable;
disable-wp;
no-sd;
@@ -30,14 +30,14 @@ pmic: pmic@8 {
temperature-sensor@48 {
compatible = "national,lm75a";
reg = <0x48>;
- vs-supply = <®_3p3v>;
+ vs-supply = <&sw4_reg>;
};
eeprom@50 {
compatible = "st,24c64", "atmel,24c64";
reg = <0x50>;
pagesize = <32>;
- vcc-supply = <®_3p3v>;
+ vcc-supply = <&sw4_reg>;
};
};
@@ -23,14 +23,14 @@ pmic: pmic@8 {
temperature-sensor@48 {
compatible = "national,lm75a";
reg = <0x48>;
- vs-supply = <®_3p3v>;
+ vs-supply = <&sw4_reg>;
};
eeprom@50 {
compatible = "st,24c64", "atmel,24c64";
reg = <0x50>;
pagesize = <32>;
- vcc-supply = <®_3p3v>;
+ vcc-supply = <&sw4_reg>;
};
};