Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions arch/arm64/boot/dts/exynos/google/zuma-akita.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include "zuma.dtsi"

/ {
Expand Down Expand Up @@ -33,6 +34,17 @@
};
};

/*
* UFS VCC, switched by gpp0-1 as on stock, and as on the Pixel 8 Pro.
* ABL hands over with it off, so the UFS driver must turn it on.
*/
ufs_0_fixed_vcc_reg: regulator-ufs-vcc {
compatible = "regulator-fixed";
regulator-name = "ufs-vcc";
gpio = <&gpp0 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

chosen {
/*
* ABL requires bootargs to exist; it appends its own after these.
Expand Down Expand Up @@ -77,6 +89,19 @@
};
};

/*
* Behind the init's storage guard (only slot B's boot images and userdata
* writable), which runs before the disks appear.
*/
&ufs_0 {
vcc-supply = <&ufs_0_fixed_vcc_reg>;
status = "okay";
};

&ufs_0_phy {
status = "okay";
};

&usb_dwc3 {
status = "okay";
};
Expand Down