1 From ade82688b687b3340ca5e7883646ad51291d49cd Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 30 Jul 2019 12:37:02 +0100
4 Subject: [PATCH] ARM: dts: Declare RPi 4B SD card power regulator
6 Later revisions of the Raspberry Pi 4B have a separate control over the
7 SD card power. Expose that control to Linux as a fixed regulator with
10 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
12 arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 11 +++++++++++
13 3 files changed, 13 insertions(+), 2 deletions(-)
15 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
16 +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
22 + sd_vcc_reg: sd_vcc_reg {
23 + compatible = "regulator-fixed";
24 + regulator-name = "vcc-sd";
25 + regulator-min-microvolt = <3300000>;
26 + regulator-max-microvolt = <3300000>;
29 + gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>;
37 vqmmc-supply = <&sd_io_1v8_reg>;
38 + vmmc-supply = <&sd_vcc_reg>;