* [PATCH v2 1/8] dt-bindings: arm: google: Add dt bindings for frankel/blazer/mustang
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 2/8] arm64: dts: google: Add initial dts " Kuan-Wei Chiu
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
From: Peter Griffin <peter.griffin@linaro.org>
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.
Co-developed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://patch.msgid.link/20260918-contrib-pg-pixel10-initial-dts-v4-1-745eaca28b1a@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
[ upstream commit: ecf6405fa6c503c34eb4e7e905957d70d4018e93 ]
(cherry picked from commit 083c7465276a6f49b4f77896f0c82ee9cc9639e3)
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
dts/upstream/Bindings/arm/google.yaml | 48 ++++++++++++++++-----------
1 file changed, 29 insertions(+), 19 deletions(-)
diff --git a/dts/upstream/Bindings/arm/google.yaml b/dts/upstream/Bindings/arm/google.yaml
index 99961e5282e..b5977e20f39 100644
--- a/dts/upstream/Bindings/arm/google.yaml
+++ b/dts/upstream/Bindings/arm/google.yaml
@@ -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
+
...
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH v2 2/8] arm64: dts: google: Add initial dts for frankel/blazer/mustang
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 1/8] dt-bindings: arm: google: Add dt bindings for frankel/blazer/mustang Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 3/8] arm64: dts: google: lga: fixup #size-cells DT warning Kuan-Wei Chiu
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
From: Douglas Anderson <dianders@chromium.org>
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
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Co-developed-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260918-contrib-pg-pixel10-initial-dts-v4-3-745eaca28b1a@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
[ upstream commit: 54edd8698bb1fb40c339d0cb2f15baad6993dd48 ]
(cherry picked from commit 77fa53f1644508c892edcd6312b14f0b947021c7)
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
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
diff --git a/dts/upstream/src/arm64/google/lga-blazer.dts b/dts/upstream/src/arm64/google/lga-blazer.dts
new file mode 100644
index 00000000000..0894606624f
--- /dev/null
+++ b/dts/upstream/src/arm64/google/lga-blazer.dts
@@ -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";
+};
diff --git a/dts/upstream/src/arm64/google/lga-frankel.dts b/dts/upstream/src/arm64/google/lga-frankel.dts
new file mode 100644
index 00000000000..7504222a728
--- /dev/null
+++ b/dts/upstream/src/arm64/google/lga-frankel.dts
@@ -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";
+};
diff --git a/dts/upstream/src/arm64/google/lga-mustang.dts b/dts/upstream/src/arm64/google/lga-mustang.dts
new file mode 100644
index 00000000000..6ac0b5ef22f
--- /dev/null
+++ b/dts/upstream/src/arm64/google/lga-mustang.dts
@@ -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";
+};
diff --git a/dts/upstream/src/arm64/google/lga-pixel-common.dtsi b/dts/upstream/src/arm64/google/lga-pixel-common.dtsi
new file mode 100644
index 00000000000..5aaa2e5af8e
--- /dev/null
+++ b/dts/upstream/src/arm64/google/lga-pixel-common.dtsi
@@ -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>;
+};
diff --git a/dts/upstream/src/arm64/google/lga.dtsi b/dts/upstream/src/arm64/google/lga.dtsi
new file mode 100644
index 00000000000..26a14b3a1b1
--- /dev/null
+++ b/dts/upstream/src/arm64/google/lga.dtsi
@@ -0,0 +1,413 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
+/*
+ * Google Tensor G5 (laguna) SoC rev B0
+ *
+ * Copyright 2024-2025 Google LLC.
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/ {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ interrupt-parent = <&gic>;
+
+ osc: clock-38400000 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ };
+
+ cpus: cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ hayes_0: cpu@0 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a520";
+ reg = <0x000>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <258>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd0>;
+ power-domain-names = "psci";
+ };
+
+ hayes_1: cpu@100 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a520";
+ reg = <0x100>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <258>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd1>;
+ power-domain-names = "psci";
+ };
+
+ hunter_0: cpu@200 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a725";
+ reg = <0x200>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <891>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd2>;
+ power-domain-names = "psci";
+ };
+
+ hunter_1: cpu@300 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a725";
+ reg = <0x300>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <891>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd3>;
+ power-domain-names = "psci";
+ };
+
+ hunter_2: cpu@400 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a725";
+ reg = <0x400>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <891>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd4>;
+ power-domain-names = "psci";
+ };
+
+ hunter_3: cpu@500 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a725";
+ reg = <0x500>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <891>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd5>;
+ power-domain-names = "psci";
+ };
+
+ hunter_4: cpu@600 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a725";
+ reg = <0x600>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <891>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd6>;
+ power-domain-names = "psci";
+ };
+
+ hunterelp_0: cpu@700 {
+ device_type = "cpu";
+ compatible = "arm,cortex-x4";
+ reg = <0x700>;
+
+ #cooling-cells = <2>;
+ capacity-dmips-mhz = <1024>;
+ enable-method = "psci";
+ power-domains = <&cpu_pd7>;
+ power-domain-names = "psci";
+ };
+
+ cpu-map {
+ cluster0 {
+ core0 {
+ cpu = <&hayes_0>;
+ };
+
+ core1 {
+ cpu = <&hayes_1>;
+ };
+
+ core2 {
+ cpu = <&hunter_0>;
+ };
+
+ core3 {
+ cpu = <&hunter_1>;
+ };
+
+ core4 {
+ cpu = <&hunter_2>;
+ };
+
+ core5 {
+ cpu = <&hunter_3>;
+ };
+
+ core6 {
+ cpu = <&hunter_4>;
+ };
+
+ core7 {
+ cpu = <&hunterelp_0>;
+ };
+ };
+ };
+
+ domain-idle-states {
+ cluster_1_c3: cluster-1-c3 {
+ compatible = "domain-idle-state";
+
+ entry-latency-us = <325>;
+ exit-latency-us = <553>;
+ min-residency-us = <10000>;
+
+ idle-state-name = "cluster-1-c3";
+
+ arm,psci-suspend-param = <0x40010033>;
+ };
+
+ cluster_2_c3: cluster-2-c3 {
+ compatible = "domain-idle-state";
+
+ entry-latency-us = <345>;
+ exit-latency-us = <673>;
+ min-residency-us = <10000>;
+
+ idle-state-name = "cluster-2-c3";
+
+ arm,psci-suspend-param = <0x40010033>;
+ };
+
+ cluster_c4_deep: cluster-c4-deep {
+ compatible = "domain-idle-state";
+
+ entry-latency-us = <510>;
+ exit-latency-us = <1027>;
+ min-residency-us = <10000>;
+
+ idle-state-name = "cluster-c4-deep";
+
+ arm,psci-suspend-param = <0x40020333>;
+ };
+ };
+
+ idle-states {
+ entry-method = "psci";
+
+ cpu_big_c2: cpu-big-c2 {
+ compatible = "arm,idle-state";
+
+ entry-latency-us = <110>;
+ exit-latency-us = <413>;
+ min-residency-us = <3950>;
+
+ idle-state-name = "cpu-big-c2";
+ local-timer-stop;
+
+ arm,psci-suspend-param = <0x40000003>;
+ };
+
+ cpu_lit_c2: cpu-lit-c2 {
+ compatible = "arm,idle-state";
+
+ entry-latency-us = <132>;
+ exit-latency-us = <296>;
+ min-residency-us = <3610>;
+
+ idle-state-name = "cpu-lit-c2";
+ local-timer-stop;
+
+ arm,psci-suspend-param = <0x40000003>;
+ };
+
+ cpu_mid1_c2: cpu-mid1-c2 {
+ compatible = "arm,idle-state";
+
+ entry-latency-us = <130>;
+ exit-latency-us = <274>;
+ min-residency-us = <2720>;
+
+ idle-state-name = "cpu-mid1-c2";
+ local-timer-stop;
+
+ arm,psci-suspend-param = <0x40000003>;
+ };
+
+ cpu_mid2_c2: cpu-mid2-c2 {
+ compatible = "arm,idle-state";
+
+ entry-latency-us = <130>;
+ exit-latency-us = <274>;
+ min-residency-us = <2720>;
+
+ idle-state-name = "cpu-mid2-c2";
+ local-timer-stop;
+
+ arm,psci-suspend-param = <0x40000003>;
+ };
+ };
+ };
+
+ psci {
+ compatible = "arm,psci-1.0";
+ method = "smc";
+
+ cpucl1: power-domain-cluster-1 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cluster_1_c3>;
+ power-domains = <&cpu_top_cl>;
+ };
+
+ cpucl2: power-domain-cluster-2 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cluster_2_c3>;
+ power-domains = <&cpu_top_cl>;
+ };
+
+ cpu_pd0: power-domain-cpu0 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_lit_c2>;
+ power-domains = <&cpu_top_cl>;
+ };
+
+ cpu_pd1: power-domain-cpu1 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_lit_c2>;
+ power-domains = <&cpu_top_cl>;
+ };
+
+ cpu_pd2: power-domain-cpu2 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_mid1_c2>;
+ power-domains = <&cpucl1>;
+ };
+
+ cpu_pd3: power-domain-cpu3 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_mid1_c2>;
+ power-domains = <&cpucl1>;
+ };
+
+ cpu_pd4: power-domain-cpu4 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_mid1_c2>;
+ power-domains = <&cpucl1>;
+ };
+
+ cpu_pd5: power-domain-cpu5 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_mid2_c2>;
+ power-domains = <&cpucl2>;
+ };
+
+ cpu_pd6: power-domain-cpu6 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_mid2_c2>;
+ power-domains = <&cpucl2>;
+ };
+
+ cpu_pd7: power-domain-cpu7 {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cpu_big_c2>;
+ power-domains = <&cpucl2>;
+ };
+
+ cpu_top_cl: power-domain-top-cluster {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&cluster_c4_deep>;
+ };
+ };
+
+ reserved_memory: reserved-memory {
+ ranges;
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ /*
+ * Store ramoops at a known location in DRAM, for access by the
+ * ABL following a crash-reset.
+ */
+ ramoops@95200000 {
+ compatible = "ramoops";
+ reg = <0x0 0x95200000 0x0 0x400000>;
+ console-size = <0x200000>;
+ pmsg-size = <0x200000>;
+ };
+
+ /* bootloader logs */
+ bldr_log_reserved: bldr-log-reserved@95600000 {
+ reg = <0x0 0x95600000 0x0 0x100000>;
+ no-map;
+ };
+
+ /* gsa logs */
+ gsa_reserved_log: gsa-reserved-log@a61b0000 {
+ reg = <0x0 0xa61b0000 0x0 0x00004000>;
+ no-map;
+ };
+
+ /* Android BootLoader (ABL) for ramdump/coredump processing */
+ abl@be000000 {
+ reg = <0x0 0xbe000000 0x0 0x1000000>;
+ no-map;
+ };
+ };
+
+ soc: soc@0 {
+ compatible = "simple-bus";
+ ranges = <0x0 0x0 0x0 0x0 0x10 0x0>;
+
+ dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>;
+
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ gic: interrupt-controller@5880000 {
+ compatible = "arm,gic-v3";
+ reg = <0x0 0x05880000 0x0 0x10000>,
+ <0x0 0x05900000 0x0 0x200000>;
+
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ #interrupt-cells = <4>;
+ interrupt-controller;
+ interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
+
+ ppi-partitions {
+ ppi_cluster0: interrupt-partition-0 {
+ affinity = <&hayes_0 &hayes_1
+ &hunter_0 &hunter_1 &hunter_2
+ &hunter_3 &hunter_4>;
+ };
+
+ ppi_cluster1: interrupt-partition-1 {
+ affinity = <&hunterelp_0>;
+ };
+ };
+ };
+
+ lsion_cli16_uart: serial@db62000 {
+ compatible = "google,lga-uart", "snps,dw-apb-uart";
+ reg = <0x0 0x0db62000 0x0 0x100>;
+
+ clock-frequency = <200000000>;
+ interrupts = <GIC_SPI 688 IRQ_TYPE_LEVEL_HIGH 0>;
+ reg-io-width = <4>;
+ reg-shift = <2>;
+
+ status = "disabled";
+ };
+ };
+
+ timer {
+ compatible = "arm,armv8-timer";
+ interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>,
+ <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>,
+ <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>,
+ <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>;
+ };
+};
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH v2 3/8] arm64: dts: google: lga: fixup #size-cells DT warning
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 1/8] dt-bindings: arm: google: Add dt bindings for frankel/blazer/mustang Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 2/8] arm64: dts: google: Add initial dts " Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 4/8] arm: Add Google Tensor SoC architecture support Kuan-Wei Chiu
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
From: Peter Griffin <peter.griffin@linaro.org>
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
Fixes: 54edd8698bb1 ("arm64: dts: google: Add initial dts for frankel/blazer/mustang")
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20260929-pixel10-initial-dts-fixup-v1-1-b304868cc3e8@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
[ upstream commit: 18686b294c6f6ba778cba66eccf01b9fcdf48988 ]
(cherry picked from commit 23f12084edc3ff5addf234ec3799fd7d0f10e0c9)
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
dts/upstream/src/arm64/google/lga.dtsi | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dts/upstream/src/arm64/google/lga.dtsi b/dts/upstream/src/arm64/google/lga.dtsi
index 26a14b3a1b1..3e670e524c4 100644
--- a/dts/upstream/src/arm64/google/lga.dtsi
+++ b/dts/upstream/src/arm64/google/lga.dtsi
@@ -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>;
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH v2 4/8] arm: Add Google Tensor SoC architecture support
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
` (2 preceding siblings ...)
2026-11-27 6:36 ` [PATCH v2 3/8] arm64: dts: google: lga: fixup #size-cells DT warning Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 5/8] board: google: Add Google Tensor G5 board support Kuan-Wei Chiu
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
The 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.
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
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
diff --git a/MAINTAINERS b/MAINTAINERS
index 23711e5c41d..af52a4f60e5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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 <visitorckw@gmail.com>
+S: Maintained
+F: arch/arm/mach-google/
+K: [gG]oogle.?[tT]ensor
+
ARM HISILICON
M: Peter Griffin <peter.griffin@linaro.org>
M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 93a0c663043..0305d296eaf 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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"
diff --git a/arch/arm/mach-google/Kconfig b/arch/arm/mach-google/Kconfig
new file mode 100644
index 00000000000..bb74890b457
--- /dev/null
+++ b/arch/arm/mach-google/Kconfig
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+if ARCH_GOOGLE
+
+config SYS_VENDOR
+ default "google"
+
+endif
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH v2 5/8] board: google: Add Google Tensor G5 board support
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
` (3 preceding siblings ...)
2026-11-27 6:36 ` [PATCH v2 4/8] arm: Add Google Tensor SoC architecture support Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 6/8] arm: dts: lga: Enable console UART in U-Boot Kuan-Wei Chiu
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
Add 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.
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
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
diff --git a/MAINTAINERS b/MAINTAINERS
index af52a4f60e5..dfbd3bca8b0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -360,6 +360,7 @@ ARM GOOGLE TENSOR SOC SUPPORT
M: Kuan-Wei Chiu <visitorckw@gmail.com>
S: Maintained
F: arch/arm/mach-google/
+F: board/google/lga/
K: [gG]oogle.?[tT]ensor
ARM HISILICON
diff --git a/arch/arm/mach-google/Kconfig b/arch/arm/mach-google/Kconfig
index bb74890b457..f6a5c9c43f2 100644
--- a/arch/arm/mach-google/Kconfig
+++ b/arch/arm/mach-google/Kconfig
@@ -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
diff --git a/board/google/lga/Kconfig b/board/google/lga/Kconfig
new file mode 100644
index 00000000000..e4cee5c1fe2
--- /dev/null
+++ b/board/google/lga/Kconfig
@@ -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
diff --git a/board/google/lga/MAINTAINERS b/board/google/lga/MAINTAINERS
new file mode 100644
index 00000000000..81894f1e0e7
--- /dev/null
+++ b/board/google/lga/MAINTAINERS
@@ -0,0 +1,4 @@
+GOOGLE TENSOR G5 (LGA) BOARD
+M: Kuan-Wei Chiu <visitorckw@gmail.com>
+S: Maintained
+F: board/google/lga/
diff --git a/board/google/lga/Makefile b/board/google/lga/Makefile
new file mode 100644
index 00000000000..4343e05c78f
--- /dev/null
+++ b/board/google/lga/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+obj-y += lga.o
diff --git a/board/google/lga/lga.c b/board/google/lga/lga.c
new file mode 100644
index 00000000000..9968543a910
--- /dev/null
+++ b/board/google/lga/lga.c
@@ -0,0 +1,65 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright 2026 Google LLC
+ */
+
+#include <init.h>
+#include <asm/armv8/mmu.h>
+#include <asm/global_data.h>
+#include <asm/io.h>
+#include <linux/bitops.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+#define LGA_WDT1_BASE 0x200c5000
+#define LGA_WDT_CONTROL 0x08
+#define LGA_WDT_CONTROL_ENABLE BIT(0)
+#define LGA_WDT_KEY 0x10
+#define LGA_WDT_KEY_UNLOCK 0x00c0ffee
+
+#define LGA_SDRAM_BASE 0x80000000UL
+#define LGA_SDRAM_SIZE 0x80000000UL
+#define LGA_BL33_RAM_TOP 0xbe000000UL
+
+static struct mm_region lga_mem_map[] = {
+ {
+ .virt = 0x00000000UL,
+ .phys = 0x00000000UL,
+ .size = 0x80000000UL,
+ .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
+ PTE_BLOCK_NON_SHARE |
+ PTE_BLOCK_PXN | PTE_BLOCK_UXN,
+ }, {
+ .virt = LGA_SDRAM_BASE,
+ .phys = LGA_SDRAM_BASE,
+ .size = LGA_SDRAM_SIZE,
+ .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
+ PTE_BLOCK_INNER_SHARE,
+ }, {
+ 0,
+ }
+};
+
+struct mm_region *mem_map = lga_mem_map;
+
+int dram_init(void)
+{
+ gd->ram_base = LGA_SDRAM_BASE;
+ gd->ram_size = LGA_SDRAM_SIZE;
+
+ return 0;
+}
+
+phys_addr_t board_get_usable_ram_top(phys_size_t total_size)
+{
+ return LGA_BL33_RAM_TOP;
+}
+
+int board_init(void)
+{
+ writel(LGA_WDT_KEY_UNLOCK, LGA_WDT1_BASE + LGA_WDT_KEY);
+ clrbits_le32(LGA_WDT1_BASE + LGA_WDT_CONTROL, LGA_WDT_CONTROL_ENABLE);
+ writel(0, LGA_WDT1_BASE + LGA_WDT_KEY);
+
+ return 0;
+}
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH v2 6/8] arm: dts: lga: Enable console UART in U-Boot
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
` (4 preceding siblings ...)
2026-11-27 6:36 ` [PATCH v2 5/8] board: google: Add Google Tensor G5 board support Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 7/8] configs: google: Add lga default configuration Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 8/8] doc: board: google: Add Google Tensor G5 documentation Kuan-Wei Chiu
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
The upstream lga.dtsi leaves lsion_cli16_uart disabled by default.
Add lga-u-boot.dtsi to enable the serial console for U-Boot.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
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
diff --git a/MAINTAINERS b/MAINTAINERS
index dfbd3bca8b0..9c73992ac97 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -359,6 +359,7 @@ F: arch/arm/include/asm/arch-mx*/
ARM GOOGLE TENSOR SOC SUPPORT
M: Kuan-Wei Chiu <visitorckw@gmail.com>
S: Maintained
+F: arch/arm/dts/lga-u-boot.dtsi
F: arch/arm/mach-google/
F: board/google/lga/
K: [gG]oogle.?[tT]ensor
diff --git a/arch/arm/dts/lga-u-boot.dtsi b/arch/arm/dts/lga-u-boot.dtsi
new file mode 100644
index 00000000000..d9f36fc2c54
--- /dev/null
+++ b/arch/arm/dts/lga-u-boot.dtsi
@@ -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";
+};
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH v2 7/8] configs: google: Add lga default configuration
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
` (5 preceding siblings ...)
2026-11-27 6:36 ` [PATCH v2 6/8] arm: dts: lga: Enable console UART in U-Boot Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
2026-11-27 6:36 ` [PATCH v2 8/8] doc: board: google: Add Google Tensor G5 documentation Kuan-Wei Chiu
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
Add google_lga_defconfig for Google Tensor G5 boards, using
google/lga-frankel as the default device tree.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
MAINTAINERS | 1 +
board/google/lga/MAINTAINERS | 1 +
configs/google_lga_defconfig | 10 ++++++++++
3 files changed, 12 insertions(+)
create mode 100644 configs/google_lga_defconfig
diff --git a/MAINTAINERS b/MAINTAINERS
index 9c73992ac97..09efaef4066 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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
diff --git a/board/google/lga/MAINTAINERS b/board/google/lga/MAINTAINERS
index 81894f1e0e7..c5e7a2364d4 100644
--- a/board/google/lga/MAINTAINERS
+++ b/board/google/lga/MAINTAINERS
@@ -2,3 +2,4 @@ GOOGLE TENSOR G5 (LGA) BOARD
M: Kuan-Wei Chiu <visitorckw@gmail.com>
S: Maintained
F: board/google/lga/
+F: configs/google_lga_defconfig
diff --git a/configs/google_lga_defconfig b/configs/google_lga_defconfig
new file mode 100644
index 00000000000..f30c89fa279
--- /dev/null
+++ b/configs/google_lga_defconfig
@@ -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
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH v2 8/8] doc: board: google: Add Google Tensor G5 documentation
2026-11-27 6:36 [PATCH v2 0/8] arm: google: Add initial support for Google Tensor G5 Kuan-Wei Chiu
` (6 preceding siblings ...)
2026-11-27 6:36 ` [PATCH v2 7/8] configs: google: Add lga default configuration Kuan-Wei Chiu
@ 2026-11-27 6:36 ` Kuan-Wei Chiu
7 siblings, 0 replies; 9+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-27 6:36 UTC (permalink / raw)
To: trini, ilias.apalodimas
Cc: u-boot, sjg, marscheng, eleanor15x, jserv, visitorckw
Add board documentation for Google Tensor G5 describing the supported
features, BL33 load address, and build instructions.
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
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
diff --git a/MAINTAINERS b/MAINTAINERS
index 09efaef4066..2f7f3b53640 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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
diff --git a/board/google/lga/MAINTAINERS b/board/google/lga/MAINTAINERS
index c5e7a2364d4..0e56f1d4e73 100644
--- a/board/google/lga/MAINTAINERS
+++ b/board/google/lga/MAINTAINERS
@@ -3,3 +3,4 @@ M: Kuan-Wei Chiu <visitorckw@gmail.com>
S: Maintained
F: board/google/lga/
F: configs/google_lga_defconfig
+F: doc/board/google/lga.rst
diff --git a/doc/board/google/index.rst b/doc/board/google/index.rst
index 061c7977187..bfc60cbf031 100644
--- a/doc/board/google/index.rst
+++ b/doc/board/google/index.rst
@@ -9,3 +9,4 @@ Google
chromebook_coral
chromebook_link
chromebook_samus
+ lga
diff --git a/doc/board/google/lga.rst b/doc/board/google/lga.rst
new file mode 100644
index 00000000000..3372359130e
--- /dev/null
+++ b/doc/board/google/lga.rst
@@ -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``.
--
2.56.1.839.g22a8290db9-goog
^ permalink raw reply related [flat|nested] 9+ messages in thread