diff options
| author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2023-10-30 11:19:20 -0400 |
|---|---|---|
| committer | Shawn Guo <shawnguo@kernel.org> | 2023-12-06 09:53:52 +0800 |
| commit | 2f05cd74fe2be3138c30aa1b7109c33ae0a245ed (patch) | |
| tree | 83d928480b2dabe15c277c69372a76fc4c6acefe | |
| parent | 31e2689b9985e5226ef866dd9842c7c14c69a6d2 (diff) | |
| download | linux-2f05cd74fe2be3138c30aa1b7109c33ae0a245ed.tar.gz linux-2f05cd74fe2be3138c30aa1b7109c33ae0a245ed.zip | |
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: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| -rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi index b8946edf317b..b364307868f2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi @@ -31,6 +31,14 @@ gpio = <&gpio2 9 GPIO_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 { @@ -234,6 +242,7 @@ compatible = "atmel,24c04"; reg = <0x52>; pagesize = <16>; + vcc-supply = <®_3v3_fixed>; }; }; |
