]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8195-cherry: Add supply for SPI NOR flash
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 5 May 2026 10:14:03 +0000 (18:14 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 May 2026 11:57:25 +0000 (13:57 +0200)
The SPI NOR flash is powered by a separate "always on" 1.8V LDO
regulated power rail. This rail is fed from the system 3.3V rail.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi

index dc1ba143ccf204dddf75324dfdde85d2ecce57da..62e2d7616f200fe2cd46158a90f258d62925b092 100644 (file)
                reg = <0 0x40000000 0 0x80000000>;
        };
 
+       /* system critical LDO 1.8V power rail */
+       pp1800_ldo_z2: regulator-pp1800-ldo-z2 {
+               compatible = "regulator-fixed";
+               regulator-name = "pp1800_ldo_z2";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               vin-supply = <&pp3300_z2>;
+       };
+
        pp3300_disp_x: regulator-pp3300-disp-x {
                compatible = "regulator-fixed";
                regulator-name = "pp3300_disp_x";
                spi-max-frequency = <52000000>;
                spi-rx-bus-width = <2>;
                spi-tx-bus-width = <2>;
+               vcc-supply = <&pp1800_ldo_z2>;
        };
 };