Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/arm/google.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ properties:
- description: Google Tensor G3 (zuma) boards
items:
- enum:
- google,zuma-akita
- google,zuma-husky
- const: google,zuma
- description: Google Tensor G4 (zumapro) boards
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/exynos/google/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \
gs201-felix.dtb \
gs201-lynx.dtb \
gs201-panther.dtb \
zuma-akita.dtb \
zuma-husky.dtb \
zumapro-tegu.dtb

Expand All @@ -19,5 +20,6 @@ DTC_FLAGS_gs201-cheetah += -@
DTC_FLAGS_gs201-felix += -@
DTC_FLAGS_gs201-lynx += -@
DTC_FLAGS_gs201-panther += -@
DTC_FLAGS_zuma-akita += -@
DTC_FLAGS_zuma-husky += -@
DTC_FLAGS_zumapro-tegu += -@
90 changes: 90 additions & 0 deletions arch/arm64/boot/dts/exynos/google/zuma-akita.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Google Pixel 8a (akita) - first-light board file.
*/

/dts-v1/;

#include "zuma.dtsi"

/ {
model = "Google Pixel 8a";
compatible = "google,zuma-akita", "google,zuma";

/*
* zuma's ABL picks the base DTB by matching these children against
* the SoC's product id, revision and package; there is no /soc_id.
* A retail akita has a B0/B1 IPOP part (stock base DTB 3, which
* carries exactly these two), where husky's is FOPLP.
*/
soc_compatible {
B0_IPOP {
product_id = <0x9865>;
major = <1>;
minor = <0>;
pkg_mode = <1>;
};

B1_IPOP {
product_id = <0x9865>;
major = <1>;
minor = <1>;
pkg_mode = <1>;
};
};

chosen {
/*
* ABL requires bootargs to exist; it appends its own after these.
* reboot=warm: a cold PSCI reset clears the reboot reason in
* SYSIP_DAT0 before ABL reads it, so "reboot bootloader" would
* only boot the slot again.
* The watchdog driver stops the bootloader's watchdogs, so a
* hang that never panics lasts until someone resets the phone
* with its buttons: panic on soft and hard lockups and on RCU
* stalls, so that panic=10 resets the phone by itself.
*/
bootargs = "console=tty0 fbcon=font:TER16x32 reboot=warm panic=10 softlockup_panic=1 nmi_watchdog=panic sysctl.kernel.panic_on_rcu_stall=1 clk_ignore_unused pd_ignore_unused rdinit=/init";
#address-cells = <2>;
#size-cells = <1>;
ranges;

/*
* ABL's splash, still scanned out at handover: DPP0's
* RDMA_BASEADDR_P0 (0x19900040) reads 0xfac00000 on a booted
* phone, as on the Pixel 8 Pro. The panel is DSI command mode,
* so new frames reach it only once DECON0's trigger is unmasked.
*/
framebuffer0: framebuffer {
compatible = "simple-framebuffer";
memory-region = <&cont_splash_mem>;
width = <1080>;
height = <2400>;
stride = <(1080 * 4)>;
format = "a8r8g8b8";
};
};

reserved-memory {
#address-cells = <2>;
#size-cells = <1>;
ranges;

cont_splash_mem: splash@fac00000 {
reg = <0x0 0xfac00000 (1080 * 2400 * 4)>;
no-map;
};
};
};

&usb_dwc3 {
status = "okay";
};

&usb_hsphy {
status = "okay";
};

&usbdrd_phy {
status = "okay";
};