Commit 2f05cd74 authored by Hugo Villeneuve's avatar Hugo Villeneuve Committed by Shawn Guo

arm64: dts: imx8mn-var-som: add fixed 3.3V regulator for EEPROM

When the EEPROM is probed, we have this warning:

    at24 0-0052: supply vcc not found, using dummy regulator

Add fixed 3.3v regulator to silence the warning.
Signed-off-by: default avatarHugo Villeneuve <hvilleneuve@dimonoff.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 31e2689b
...@@ -31,6 +31,14 @@ reg_eth_phy: regulator-eth-phy { ...@@ -31,6 +31,14 @@ reg_eth_phy: regulator-eth-phy {
gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>; gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
reg_3v3_fixed: regulator-3v3-fixed {
compatible = "regulator-fixed";
regulator-name = "fixed_3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
}; };
&A53_0 { &A53_0 {
...@@ -234,6 +242,7 @@ eeprom_som: eeprom@52 { ...@@ -234,6 +242,7 @@ eeprom_som: eeprom@52 {
compatible = "atmel,24c04"; compatible = "atmel,24c04";
reg = <0x52>; reg = <0x52>;
pagesize = <16>; pagesize = <16>;
vcc-supply = <&reg_3v3_fixed>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment