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
29 changes: 25 additions & 4 deletions arch/arm64/boot/dts/exynos/google/gs201-lynx.dts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
/*
* Google Pixel 7a (lynx) - M1 bring-up board file.
*
* First light: USB (NCM + ACM), the cluster watchdogs from gs201.dtsi,
* and a simple-framebuffer on the buffer ABL leaves DPP0 scanning out.
* UFS, the panel driver, touch and the GPU stay disabled.
* USB (NCM + ACM), the cluster watchdogs from gs201.dtsi, a
* simple-framebuffer on the buffer ABL leaves DPP0 scanning out, and UFS.
* The panel driver, touch and the GPU stay disabled.
*/

/dts-v1/;
Expand Down Expand Up @@ -33,7 +33,7 @@

chosen {
/* ABL requires bootargs to exist; it appends its own after these. */
bootargs = "console=tty0 fbcon=font:TER16x32 panic=10 clk_ignore_unused pd_ignore_unused rdinit=/init";
bootargs = "console=tty0 fbcon=font:TER16x32 panic=10 clk_ignore_unused pd_ignore_unused rdinit=/init omamobile.ufs-probe";
#address-cells = <2>;
#size-cells = <1>;
ranges;
Expand All @@ -55,6 +55,18 @@
};
};

/*
* UFS VCC. Stock drives it from GPIO gpp0-1 (boot-on), as on
* cheetah; there is no gs201 GPIO driver yet, so describe it as
* always on, as the bootloader leaves it.
*/
ufs_0_fixed_vcc_reg: regulator-ufs-vcc {
compatible = "regulator-fixed";
regulator-name = "ufs-vcc";
regulator-always-on;
regulator-boot-on;
};

/*
* ABL adds sec_dram, sec_pt and pkvm_guest_firmware to this tree
* itself. Stock's tui, mfc_fw and famodel are pools the kernel
Expand Down Expand Up @@ -89,3 +101,12 @@
&usb_dwc3 {
status = "okay";
};

&ufs_0 {
vcc-supply = <&ufs_0_fixed_vcc_reg>;
status = "okay";
};

&ufs_0_phy {
status = "okay";
};