arm: google: Add initial support for Google Tensor G5
Subsystems (2)
v2 cover arm: google: Add initial support for Google Tensor G5
This series adds initial architecture and board support for the Google Tensor G5 SoC, referred to in code as LGA, and the Pixel 10 series boards based on it.
U-Boot is built to run as the BL33 payload. This initial port sets up the MMU mapping and DRAM bounds, disables the APC watchdog left running by earlier boot stages, and enables the serial console.
The first three patches cherry-pick the upstream LGA devicetree bindings and sources from devicetree-rebasing using tools/update-subtree.sh so that this series builds cleanly on top of next.
Tested on real silicon:
U-Boot 2027.01-rc3-00221-g7f8c292cf873 (Nov 27 2026 - 06:19:48 +0000)
Model: Frankel DRAM: 2 GiB Core: 7 devices, 7 uclasses, devicetree: separate MMC: Loading Environment from nowhere... OK In: serial@db62000 Out: serial@db62000 Err: serial@db62000
=>
---
Changes in v2:
- Rebased onto next
- Cherry-picked upstream devicetree commits via tools/update-subtree.sh
- Added SPDX header to arch/arm/mach-google/Kconfig
- Dropped SYS_CONFIG_NAME and include/configs/lga.h
- Lowered LGA_BL33_RAM_TOP to 0xbe000000 to avoid LMB overlap
- Added doc
Link to v1: https://lore.kernel.org/u-boot/[email protected]/
Douglas Anderson (1):
arm64: dts: google: Add initial dts for frankel/blazer/mustang
Kuan-Wei Chiu (5):
arm: Add Google Tensor SoC architecture support
board: google: Add Google Tensor G5 board support
arm: dts: lga: Enable console UART in U-Boot
configs: google: Add lga default configuration
doc: board: google: Add Google Tensor G5 documentation
Peter Griffin (2):
dt-bindings: arm: google: Add dt bindings for frankel/blazer/mustang
arm64: dts: google: lga: fixup #size-cells DT warning
MAINTAINERS | 10 + arch/arm/Kconfig | 21 + arch/arm/dts/lga-u-boot.dtsi | 9 + arch/arm/mach-google/Kconfig | 18 + board/google/lga/Kconfig | 11 + board/google/lga/MAINTAINERS | 6 + board/google/lga/Makefile | 3 + board/google/lga/lga.c | 65 +++ configs/google_lga_defconfig | 10 + doc/board/google/index.rst | 1 + doc/board/google/lga.rst | 37 ++ dts/upstream/Bindings/arm/google.yaml | 48 +- dts/upstream/src/arm64/google/lga-blazer.dts | 15 + dts/upstream/src/arm64/google/lga-frankel.dts | 15 + dts/upstream/src/arm64/google/lga-mustang.dts | 15 + .../src/arm64/google/lga-pixel-common.dtsi | 22 + dts/upstream/src/arm64/google/lga.dtsi | 411 ++++++++++++++++++ 17 files changed, 698 insertions(+), 19 deletions(-) create mode 100644 arch/arm/dts/lga-u-boot.dtsi create mode 100644 arch/arm/mach-google/Kconfig create mode 100644 board/google/lga/Kconfig create mode 100644 board/google/lga/MAINTAINERS create mode 100644 board/google/lga/Makefile create mode 100644 board/google/lga/lga.c create mode 100644 configs/google_lga_defconfig create mode 100644 doc/board/google/lga.rst create mode 100644 dts/upstream/src/arm64/google/lga-blazer.dts create mode 100644 dts/upstream/src/arm64/google/lga-frankel.dts create mode 100644 dts/upstream/src/arm64/google/lga-mustang.dts create mode 100644 dts/upstream/src/arm64/google/lga-pixel-common.dtsi create mode 100644 dts/upstream/src/arm64/google/lga.dtsi
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 1/8 dt-bindings: arm: google: Add dt bindings for frankel/blazer/mustang
From: Peter Griffin <[email protected]>
Add binding documentation for Tensor G5 SoC (Laguna) which is referred to in code as "lga" and three of the boards that use the Laguna SoC Frankel (Pixel 10), Blazer (Pixel 10 Pro) and Mustang (Pixel 10 Pro XL).
Additionally update to use a more efficient and scalable way to express the various names a SoC is known by.
[ upstream commit: ecf6405fa6c503c34eb4e7e905957d70d4018e93 ]
--- dts/upstream/Bindings/arm/google.yaml | 48 ++++++++++++++++----------- 1 file changed, 29 insertions(+), 19 deletions(-)
dts/upstream/Bindings/arm/google.yaml +29 -19
@@ -13,27 +13,16 @@ description: | ARM platforms using SoCs designed by Google branded "Tensor" used in Pixel devices. - Currently upstream this is devices using "gs101" SoC which is found in Pixel - 6, Pixel 6 Pro and Pixel 6a. - - Google have a few different names for the SoC: - - Marketing name ("Tensor") - - Codename ("Whitechapel") - - SoC ID ("gs101") - - Die ID ("S5P9845") - - Likewise there are a couple of names for the actual device - - Marketing name ("Pixel 6") - - Codename ("Oriole") - - Devicetrees should use the lowercased SoC ID and lowercased board codename, - e.g. gs101 and gs101-oriole. + Currently upstream this is devices using gs101 SoC which is found in Pixel + 6, Pixel 6 Pro and Pixel 6a and Laguna SoC canonically referred to as lga + found in Pixel 10, Pixel 10 Pro and Pixel 10 Pro XL. properties: $nodename: const: '/' compatible: oneOf: + # Google Tensor G1 AKA gs101 AKA whitechapel AKA Die ID S5P9845 boards - description: Google Pixel 6 or 6 Pro (Oriole or Raven) items: - enum:
@@ -41,14 +30,35 @@ properties: - google,gs101-raven - const: google,gs101 - # Bootloader requires empty ect node to be present + # Google Tensor G5 AKA lga (laguna) SoC and boards + - description: + Google Pixel 10, 10 Pro, 10 Pro XL (Frankel, Blazer, + Mustang). + items: + - enum: + - google,lga-blazer + - google,lga-frankel + - google,lga-mustang + - const: google,lga + ect: type: object additionalProperties: false -required: - - ect - additionalProperties: true +allOf: + # Bootloader requires empty ect node to be present + - if: + properties: + compatible: + contains: + const: google,gs101 + then: + required: + - ect + else: + properties: + ect: false + ...
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 2/8 arm64: dts: google: Add initial dts for frankel/blazer/mustang
In reply to Kuan-Wei ChiuFrom: Douglas Anderson <[email protected]>
Add initial device trees for frankel (Pixel 10), blazer (Pixel 10 Pro) and mustang (Pixel 10 Pro XL). These device trees are enough to boot to a serial prompt using an initramfs.
Currently only Laguna B0 silicon found in mass production phones is officially supported. Further revisions such as A0 silicon and EVT devices maybe added in the future if they are useful. As of today, these device trees boot fine on EVT devices with A0 silicon.
A few things can be noted about these device trees:
1. They purposely choose to use the full 64-bit address and size cells for the root node and the soc@0 node. Although I haven't tested the need for this, I presume the arguments made in commit bede7d2dc8f3 ("arm64: dts: qcom: sdm845: Increase address and size cells for soc") would apply here.
2. Though it looks as if the UART is never enabled, the bootloader knows to enable the UART when the console is turned on. Baud rate is configurable in the bootloader so is never hardcoded in the device tree.
Changes by Peter Griffin:
- Remove dtbo overlay approach and add individual board dts
- Update to lga-pixel-common naming like gs101-pixel-common
- Reorder nodes alpha-numerically by the node name
- Add ramoops reserved-memory (tested with console=pstore)
- Add reserved-memory for bootloader & gsa logs
- Add reserved-memory for Android BootLoader ABL (used on Watchdog reset to extract boolotader logs / parse breadcrumbs / ramdump etc).
- Add osc 38.4Mhz fixed-clock
[ upstream commit: 54edd8698bb1fb40c339d0cb2f15baad6993dd48 ]
--- dts/upstream/src/arm64/google/lga-blazer.dts | 15 + dts/upstream/src/arm64/google/lga-frankel.dts | 15 + dts/upstream/src/arm64/google/lga-mustang.dts | 15 + .../src/arm64/google/lga-pixel-common.dtsi | 22 + dts/upstream/src/arm64/google/lga.dtsi | 413 ++++++++++++++++++ 5 files changed, 480 insertions(+) create mode 100644 dts/upstream/src/arm64/google/lga-blazer.dts create mode 100644 dts/upstream/src/arm64/google/lga-frankel.dts create mode 100644 dts/upstream/src/arm64/google/lga-mustang.dts create mode 100644 dts/upstream/src/arm64/google/lga-pixel-common.dtsi create mode 100644 dts/upstream/src/arm64/google/lga.dtsi
dts/upstream/src/arm64/google/lga-blazer.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Blazer Device Tree (Pixel 10 Pro) + * + * Copyright 2021-2023 Google LLC + */ + +/dts-v1/; + +#include "lga-pixel-common.dtsi" + +/ { + model = "Blazer"; + compatible = "google,lga-blazer", "google,lga"; +};
dts/upstream/src/arm64/google/lga-frankel.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Frankel Device Tree (Pixel 10) + * + * Copyright 2021-2023 Google LLC + */ + +/dts-v1/; + +#include "lga-pixel-common.dtsi" + +/ { + model = "Frankel"; + compatible = "google,lga-frankel", "google,lga"; +};
dts/upstream/src/arm64/google/lga-mustang.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Mustang Device Tree (Pixel 10 Pro XL) + * + * Copyright 2021-2023 Google LLC + */ + +/dts-v1/; + +#include "lga-pixel-common.dtsi" + +/ { + model = "Mustang"; + compatible = "google,lga-mustang", "google,lga"; +};
dts/upstream/src/arm64/google/lga-pixel-common.dtsi new file +22 -0
@@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Google Pixel 10 family common dtsi. + * + * Copyright 2024-2025 Google LLC. + */ + +#include "lga.dtsi" + +/ { + aliases { + serial0 = &lsion_cli16_uart; + }; + + chosen { + stdout-path = "serial0"; + }; +}; + +&osc { + clock-frequency = <38400000>; +};
dts/upstream/src/arm64/google/lga.dtsi new file +413 -0
413 lines not on this page · raw message
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 3/8 arm64: dts: google: lga: fixup #size-cells DT warning
In reply to Kuan-Wei ChiuFrom: Peter Griffin <[email protected]>
Fix newly introduced DT warnings:
Warning (avoid_unnecessary_addr_size): /soc@0/interrupt-controller@5880000:
unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" or "ranges" property
[ upstream commit: 18686b294c6f6ba778cba66eccf01b9fcdf48988 ]
--- dts/upstream/src/arm64/google/lga.dtsi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
dts/upstream/src/arm64/google/lga.dtsi +1 -3
@@ -370,9 +370,7 @@ reg = <0x0 0x05880000 0x0 0x10000>, <0x0 0x05900000 0x0 0x200000>; - #address-cells = <2>; - #size-cells = <2>; - + #address-cells = <0>; #interrupt-cells = <4>; interrupt-controller; interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 4/8 arm: Add Google Tensor SoC architecture support
In reply to Kuan-Wei ChiuThe first four Google Tensor SoCs were offshoots of Samsung Exynos SoCs. Starting with the Google Tensor G5 SoC in Pixel 10 phones, Google Tensor SoCs are of Google's own design. Add ARCH_GOOGLE and the mach-google directory to support this SoC family.
--- MAINTAINERS | 6 ++++++ arch/arm/Kconfig | 21 +++++++++++++++++++++ arch/arm/mach-google/Kconfig | 8 ++++++++ 3 files changed, 35 insertions(+) create mode 100644 arch/arm/mach-google/Kconfig
MAINTAINERS +6 -0
@@ -356,6 +356,12 @@ F: arch/arm/cpu/arm1136/mx*/ F: arch/arm/cpu/arm926ejs/mx*/ F: arch/arm/include/asm/arch-mx*/ +ARM GOOGLE TENSOR SOC SUPPORT +M: Kuan-Wei Chiu <[email protected]> +S: Maintained +F: arch/arm/mach-google/ +K: [gG]oogle.?[tT]ensor + ARM HISILICON M: Peter Griffin <[email protected]> M: Manivannan Sadhasivam <[email protected]>
arch/arm/Kconfig +21 -0
@@ -2257,6 +2257,25 @@ config ARCH_GXP select OF_CONTROL imply CMD_DM +config ARCH_GOOGLE + bool "Google-Designed SoC family" + select ARM64 + select DM + select DM_SERIAL + select OF_CONTROL + select OF_UPSTREAM + select POSITION_INDEPENDENT + select SYSRESET + select SYSRESET_PSCI + select SYS_NS16550 + select SYS_NS16550_MEM32 + imply CMD_DM + help + This enables support for Google Tensor SoCs starting at the + Google Tensor G5 (Laguna) found in Pixel 10 and later phones. + Tensor G1 to G4 are offshoots of the Exynos family and are + enabled via ARCH_EXYNOS. + endchoice config SUPPORT_PASSING_ATAGS
@@ -2361,6 +2380,8 @@ source "arch/arm/mach-davinci/Kconfig" source "arch/arm/mach-exynos/Kconfig" +source "arch/arm/mach-google/Kconfig" + source "arch/arm/mach-hpe/gxp/Kconfig" source "arch/arm/mach-highbank/Kconfig"
arch/arm/mach-google/Kconfig new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +if ARCH_GOOGLE + +config SYS_VENDOR + default "google" + +endif
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 7/8 configs: google: Add lga default configuration
In reply to Kuan-Wei ChiuAdd google_lga_defconfig for Google Tensor G5 boards, using google/lga-frankel as the default device tree.
--- MAINTAINERS | 1 + board/google/lga/MAINTAINERS | 1 + configs/google_lga_defconfig | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 configs/google_lga_defconfig
MAINTAINERS +1 -0
@@ -362,6 +362,7 @@ S: Maintained F: arch/arm/dts/lga-u-boot.dtsi F: arch/arm/mach-google/ F: board/google/lga/ +F: configs/google_lga_defconfig K: [gG]oogle.?[tT]ensor ARM HISILICON
board/google/lga/MAINTAINERS +1 -0
@@ -2,3 +2,4 @@ GOOGLE TENSOR G5 (LGA) BOARD M: Kuan-Wei Chiu <[email protected]> S: Maintained F: board/google/lga/ +F: configs/google_lga_defconfig
configs/google_lga_defconfig new file +10 -0
@@ -0,0 +1,10 @@ +CONFIG_ARM=y +CONFIG_ARCH_GOOGLE=y +CONFIG_TEXT_BASE=0xbe000000 +CONFIG_NR_DRAM_BANKS=1 +CONFIG_DEFAULT_DEVICE_TREE="google/lga-frankel" +CONFIG_SYS_LOAD_ADDR=0xbe000000 +# CONFIG_EFI_LOADER is not set +CONFIG_BOOTDELAY=-1 +# CONFIG_DISPLAY_CPUINFO is not set +CONFIG_NO_NET=y
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 5/8 board: google: Add Google Tensor G5 board support
In reply to Kuan-Wei ChiuAdd initial board support for Google Tensor G5 SoC boards. U-Boot runs as BL33 loaded at 0xbe000000. Configure the MMU map, DRAM bounds, and disable the APC watchdog left running by earlier bootloader stages.
--- MAINTAINERS | 1 + arch/arm/mach-google/Kconfig | 10 ++++++ board/google/lga/Kconfig | 11 ++++++ board/google/lga/MAINTAINERS | 4 +++ board/google/lga/Makefile | 3 ++ board/google/lga/lga.c | 65 ++++++++++++++++++++++++++++++++++++ 6 files changed, 94 insertions(+) create mode 100644 board/google/lga/Kconfig create mode 100644 board/google/lga/MAINTAINERS create mode 100644 board/google/lga/Makefile create mode 100644 board/google/lga/lga.c
MAINTAINERS +1 -0
@@ -360,6 +360,7 @@ ARM GOOGLE TENSOR SOC SUPPORT M: Kuan-Wei Chiu <[email protected]> S: Maintained F: arch/arm/mach-google/ +F: board/google/lga/ K: [gG]oogle.?[tT]ensor ARM HISILICON
arch/arm/mach-google/Kconfig +10 -0
@@ -5,4 +5,14 @@ if ARCH_GOOGLE config SYS_VENDOR default "google" +config TARGET_GOOGLE_LGA + bool "Google Tensor G5 (LGA)" + default y + help + Support for Google Tensor G5 (Laguna) SoC and boards based on it, + including Frankel (Pixel 10), Blazer (Pixel 10 Pro), and Mustang + (Pixel 10 Pro XL). + +source "board/google/lga/Kconfig" + endif
board/google/lga/Kconfig new file +11 -0
@@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +if TARGET_GOOGLE_LGA + +config SYS_BOARD + default "lga" + +config SYS_SOC + default "lga" + +endif
board/google/lga/MAINTAINERS new file +4 -0
@@ -0,0 +1,4 @@ +GOOGLE TENSOR G5 (LGA) BOARD +M: Kuan-Wei Chiu <[email protected]> +S: Maintained +F: board/google/lga/
board/google/lga/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +obj-y += lga.o
board/google/lga/lga.c new file +65 -0
65 lines not on this page · raw message
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 6/8 arm: dts: lga: Enable console UART in U-Boot
In reply to Kuan-Wei ChiuThe upstream lga.dtsi leaves lsion_cli16_uart disabled by default. Add lga-u-boot.dtsi to enable the serial console for U-Boot.
--- MAINTAINERS | 1 + arch/arm/dts/lga-u-boot.dtsi | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 arch/arm/dts/lga-u-boot.dtsi
MAINTAINERS +1 -0
@@ -359,6 +359,7 @@ F: arch/arm/include/asm/arch-mx*/ ARM GOOGLE TENSOR SOC SUPPORT M: Kuan-Wei Chiu <[email protected]> S: Maintained +F: arch/arm/dts/lga-u-boot.dtsi F: arch/arm/mach-google/ F: board/google/lga/ K: [gG]oogle.?[tT]ensor
arch/arm/dts/lga-u-boot.dtsi new file +9 -0
@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause +/* + * Copyright 2026 Google LLC + */ + +&lsion_cli16_uart { + bootph-all; + status = "okay"; +};
Signature · 1 line
2.56.1.839.g22a8290db9-goog
PATCH v2 8/8 doc: board: google: Add Google Tensor G5 documentation
In reply to Kuan-Wei ChiuAdd board documentation for Google Tensor G5 describing the supported features, BL33 load address, and build instructions.
--- MAINTAINERS | 1 + board/google/lga/MAINTAINERS | 1 + doc/board/google/index.rst | 1 + doc/board/google/lga.rst | 37 ++++++++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 doc/board/google/lga.rst
MAINTAINERS +1 -0
@@ -363,6 +363,7 @@ F: arch/arm/dts/lga-u-boot.dtsi F: arch/arm/mach-google/ F: board/google/lga/ F: configs/google_lga_defconfig +F: doc/board/google/lga.rst K: [gG]oogle.?[tT]ensor ARM HISILICON
board/google/lga/MAINTAINERS +1 -0
@@ -3,3 +3,4 @@ M: Kuan-Wei Chiu <[email protected]> S: Maintained F: board/google/lga/ F: configs/google_lga_defconfig +F: doc/board/google/lga.rst
doc/board/google/index.rst +1 -0
@@ -9,3 +9,4 @@ Google chromebook_coral chromebook_link chromebook_samus + lga
doc/board/google/lga.rst new file +37 -0
@@ -0,0 +1,37 @@ +.. SPDX-License-Identifier: GPL-2.0-or-later + +Google Tensor G5 +================ + +Overview +-------- + +This document describes how to build and run U-Boot on boards based on the +Google Tensor G5 SoC, referred to in code as LGA, including Pixel 10 +(Frankel), Pixel 10 Pro (Blazer), and Pixel 10 Pro XL (Mustang). + +U-Boot runs as the BL33 payload loaded at ``0xbe000000``. The initial port +configures the MMU mapping and DRAM bounds, disables the APC watchdog left +running by earlier boot stages, and enables the serial console. + +Supported Features +------------------ + +- Serial console via NS16550 UART +- PSCI system reset + +Building +-------- + +Set up an AArch64 cross-compiler and build ``google_lga_defconfig``: + +.. code-block:: bash + + export CROSS_COMPILE=aarch64-linux-gnu- + make google_lga_defconfig + make + +The resulting ``u-boot.bin`` uses ``google/lga-frankel`` from +``dts/upstream/src/arm64/google/`` as the default device tree. To build for +another board, set ``CONFIG_DEFAULT_DEVICE_TREE`` to ``google/lga-blazer`` or +``google/lga-mustang``.
Signature · 1 line
2.56.1.839.g22a8290db9-goog