mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: qcom: Add Nothing Phone (4a) Pro support
@ 2026-10-11  9:52 Oleksii Onchul
  2026-10-11  9:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add Nothing Phone (4a) Pro Oleksii Onchul
  2026-10-11  9:52 ` [PATCH 2/2] arm64: dts: qcom: Add initial Nothing Phone (4a) Pro support Oleksii Onchul
  0 siblings, 2 replies; 4+ messages in thread
From: Oleksii Onchul @ 2026-10-11  9:52 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio
  Cc: Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel, Oleksii Onchul

Add initial device tree support for the Nothing Phone (4a) Pro
(FroggerPro), based on the Qualcomm Eliza platform.

The DTS describes the UART, GPIO keys and reserved memory,
including ramoops.

Boot-tested on the phone with Linux 7.3-rc3 using a minimal initramfs.
GPIO key events and ramoops persistence were verified. DTB and binding
checks pass.

LLM assistance was used to prepare and review the DTS and patch
descriptions. Hardware testing was performed by the author.

Oleksii Onchul (2):
  dt-bindings: arm: qcom: Add Nothing Phone (4a) Pro
  arm64: dts: qcom: Add initial Nothing Phone (4a) Pro support

 .../devicetree/bindings/arm/qcom.yaml         |   1 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../dts/qcom/eliza-nothing-froggerpro.dts     | 157 ++++++++++++++++++
 3 files changed, 159 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/eliza-nothing-froggerpro.dts


base-commit: 705529dab1fa872d8b53b09c95e1b03a95573376
-- 
2.56.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] dt-bindings: arm: qcom: Add Nothing Phone (4a) Pro
  2026-10-11  9:52 [PATCH 0/2] arm64: dts: qcom: Add Nothing Phone (4a) Pro support Oleksii Onchul
@ 2026-10-11  9:52 ` Oleksii Onchul
  2026-10-12  9:48   ` Krzysztof Kozlowski
  2026-10-11  9:52 ` [PATCH 2/2] arm64: dts: qcom: Add initial Nothing Phone (4a) Pro support Oleksii Onchul
  1 sibling, 1 reply; 4+ messages in thread
From: Oleksii Onchul @ 2026-10-11  9:52 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio
  Cc: Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel, Oleksii Onchul

Document the Nothing Phone (4a) Pro (FroggerPro), based on the
Qualcomm Eliza platform.

Signed-off-by: Oleksii Onchul <oleksiionchul@gmail.com>
---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 121ca557c..36617b485 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -81,6 +81,7 @@ properties:
 
       - items:
           - enum:
+              - nothing,froggerpro
               - qcom,eliza-mtp
           - const: qcom,eliza
 
-- 
2.56.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: Add initial Nothing Phone (4a) Pro support
  2026-10-11  9:52 [PATCH 0/2] arm64: dts: qcom: Add Nothing Phone (4a) Pro support Oleksii Onchul
  2026-10-11  9:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add Nothing Phone (4a) Pro Oleksii Onchul
@ 2026-10-11  9:52 ` Oleksii Onchul
  1 sibling, 0 replies; 4+ messages in thread
From: Oleksii Onchul @ 2026-10-11  9:52 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio
  Cc: Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel, Oleksii Onchul

Add initial device tree support for the Nothing Phone (4a) Pro
(FroggerPro), based on the Qualcomm Eliza platform.

Describe the UART, GPIO keys and reserved memory, including ramoops.

Assisted-by: LLM
Signed-off-by: Oleksii Onchul <oleksiionchul@gmail.com>
---
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../dts/qcom/eliza-nothing-froggerpro.dts     | 157 ++++++++++++++++++
 2 files changed, 158 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/eliza-nothing-froggerpro.dts

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 88230c4e0..be315a412 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -16,6 +16,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= apq8096sg-db820c.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8096-ifc6640.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= eliza-cqs-evk.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= eliza-mtp.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= eliza-nothing-froggerpro.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-asus-zenbook-a14-ux3407na.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-asus-zenbook-a16-ux3607oa.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= glymur-crd.dtb
diff --git a/arch/arm64/boot/dts/qcom/eliza-nothing-froggerpro.dts b/arch/arm64/boot/dts/qcom/eliza-nothing-froggerpro.dts
new file mode 100644
index 000000000..8be410f62
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/eliza-nothing-froggerpro.dts
@@ -0,0 +1,157 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2026 Oleksii Onchul <oleksiionchul@gmail.com>
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
+
+#include "eliza.dtsi"
+#include "pm7550-eliza.dtsi"
+#include "pmk8550-eliza.dtsi"
+
+/ {
+	model = "Nothing Phone (4a) Pro";
+	compatible = "nothing,froggerpro", "qcom,eliza";
+	chassis-type = "handset";
+
+	aliases {
+		serial0 = &uart13;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	clocks {
+		xo_board: xo-board {
+			compatible = "fixed-clock";
+			clock-frequency = <76800000>;
+			#clock-cells = <0>;
+		};
+
+		sleep_clk: sleep-clk {
+			compatible = "fixed-clock";
+			clock-frequency = <32764>;
+			#clock-cells = <0>;
+		};
+
+		bi_tcxo_div2: bi-tcxo-div2-clk {
+			compatible = "fixed-factor-clock";
+			#clock-cells = <0>;
+
+			clocks = <&rpmhcc RPMH_CXO_CLK>;
+			clock-mult = <1>;
+			clock-div = <2>;
+		};
+
+		bi_tcxo_ao_div2: bi-tcxo-ao-div2-clk {
+			compatible = "fixed-factor-clock";
+			#clock-cells = <0>;
+
+			clocks = <&rpmhcc RPMH_CXO_CLK_A>;
+			clock-mult = <1>;
+			clock-div = <2>;
+		};
+	};
+
+	gpio-keys {
+		compatible = "gpio-keys";
+
+		pinctrl-0 = <&assist_default>, <&volume_up_default>;
+		pinctrl-names = "default";
+
+		key-assist {
+			label = "Assistant";
+			gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_ASSISTANT>;
+		};
+
+		key-volume-up {
+			label = "Volume Up";
+			gpios = <&pm7550_gpios 6 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_VOLUMEUP>;
+		};
+	};
+
+	reserved-memory {
+		chipinfo@81cf4000 {
+			reg = <0x0 0x81cf4000 0x0 0x1000>;
+			no-map;
+		};
+
+		ramoops@81f00000 {
+			compatible = "ramoops";
+			reg = <0x0 0x81f00000 0x0 0x300000>;
+			record-size = <0x40000>;
+			console-size = <0x200000>;
+			ecc-size = <16>;
+			no-map;
+		};
+
+		/* Keep the bootloader framebuffer out of Linux memory. */
+		framebuffer@fc800000 {
+			reg = <0x0 0xfc800000 0x0 (1260 * 2800 * 4)>;
+			no-map;
+		};
+	};
+};
+
+&adspslpi_mem {
+	/* Stock firmware reserves 74 MiB for ADSP/SLPI. */
+	reg = <0x0 0x99e00000 0x0 0x4a00000>;
+};
+
+&pm7550_gpios {
+	volume_up_default: volume-up-default-state {
+		pins = "gpio6";
+		function = PMIC_GPIO_FUNC_NORMAL;
+		power-source = <1>;
+		bias-pull-up;
+	};
+};
+
+&pmk8550_gpios {
+	pinctrl-0 = <&pmk8550_sleep_clk_default>;
+	pinctrl-names = "default";
+
+	pmk8550_sleep_clk_default: sleep-clk-default-state {
+		pins = "gpio3";
+		function = PMIC_GPIO_FUNC_FUNC1;
+		input-disable;
+		output-enable;
+		bias-disable;
+		power-source = <0>;
+	};
+};
+
+&pon_pwrkey {
+	status = "okay";
+};
+
+&pon_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+
+	status = "okay";
+};
+
+&tlmm {
+	gpio-reserved-ranges = <20 4>,   /* NFC SPI */
+			       <111 2>,  /* WCN UART1 */
+			       <118 1>;  /* NFC Secure I/O */
+
+	assist_default: assist-default-state {
+		pins = "gpio34";
+		function = "gpio";
+		bias-pull-up;
+	};
+};
+
+&uart13 {
+	compatible = "qcom,geni-debug-uart";
+
+	status = "okay";
+};
-- 
2.56.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] dt-bindings: arm: qcom: Add Nothing Phone (4a) Pro
  2026-10-11  9:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add Nothing Phone (4a) Pro Oleksii Onchul
@ 2026-10-12  9:48   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-12  9:48 UTC (permalink / raw)
  To: Oleksii Onchul
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
	linux-kernel

On Sun, Oct 11, 2026 at 11:52:20AM +0200, Oleksii Onchul wrote:
> Document the Nothing Phone (4a) Pro (FroggerPro), based on the
> Qualcomm Eliza platform.
> 
> Signed-off-by: Oleksii Onchul <oleksiionchul@gmail.com>
> ---
>  Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-12  9:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-11  9:52 [PATCH 0/2] arm64: dts: qcom: Add Nothing Phone (4a) Pro support Oleksii Onchul
2026-10-11  9:52 ` [PATCH 1/2] dt-bindings: arm: qcom: Add Nothing Phone (4a) Pro Oleksii Onchul
2026-10-12  9:48   ` Krzysztof Kozlowski
2026-10-11  9:52 ` [PATCH 2/2] arm64: dts: qcom: Add initial Nothing Phone (4a) Pro support Oleksii Onchul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®