Initial commit: Geminux 0.1.0 (helio) for Planet Computers Gemini PDA (MT6797X)
This commit is contained in:
commit
034c1f61b1
816 files changed
+223435
No files matched your search
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,202 @@
|
||||
From dd6fca41e9299dc64fba9fdf296b0dc3343ae1b0 Mon Sep 17 00:00:00 2001
|
||||
From: Luxferre <lux@ferre>
|
||||
Date: Sun, 22 Nov 2026 00:58:02 +0200
|
||||
Subject: [PATCH] arm64: dts: mediatek: add Geminux Gemini PDA board devicetree
|
||||
|
||||
(cherry picked from commit 2be3b7a313f772a476ad08b8cb461c2252894be5)
|
||||
(cherry picked from commit 4af433433317ce97b12a7376064a45bee75ed316)
|
||||
(cherry picked from commit f2f4795496329352910716c5f46ac82446e05e8b)
|
||||
---
|
||||
arch/arm64/boot/dts/mediatek/Makefile | 1 +
|
||||
.../mediatek/mt6797-gemini-pda-geminux.dts | 167 ++++++++++++++++++
|
||||
2 files changed, 168 insertions(+)
|
||||
create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
|
||||
index c3dd14a03..0531883b6 100644
|
||||
--- a/arch/arm64/boot/dts/mediatek/Makefile
|
||||
+++ b/arch/arm64/boot/dts/mediatek/Makefile
|
||||
@@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-gemini-pda-wifi-service.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-gemini-pda-station.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-gemini-pda-station-a72.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-gemini-pda-station-dvfs.dtb
|
||||
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-gemini-pda-geminux.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-bananapi-bpi-r64.dtb
|
||||
diff --git a/arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts b/arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts
|
||||
new file mode 100644
|
||||
index 000000000..0497766c8
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts
|
||||
@@ -0,0 +1,167 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-only
|
||||
+/*
|
||||
+ * Planet Computers Gemini PDA (MT6797X 4G+WiFi) Device Tree for Geminux.
|
||||
+ *
|
||||
+ * Extends ixoo's station-a72 description with:
|
||||
+ * - Canonical /memory node name so MediaTek LK updates ATAG DRAM banks in-place
|
||||
+ * - Staged CCCI/CLDMA modem interface (SPM/INFRA controlled by driver)
|
||||
+ * - MT6351 VSIM1/VSIM2 dual-SIM regulator definitions (disabled at boot)
|
||||
+ * - SiI9024A HDMI transmitter / DPI0 nodes disabled until ext_path support
|
||||
+ * - All 10 CPU core clock-frequency properties preserved from base DTS
|
||||
+ */
|
||||
+
|
||||
+#include "mt6797-gemini-pda-station-a72.dts"
|
||||
+
|
||||
+/ {
|
||||
+ /delete-node/ memory@40000000;
|
||||
+
|
||||
+ memory {
|
||||
+ device_type = "memory";
|
||||
+ reg = <0 0x40000000 0 0x40000000>;
|
||||
+ };
|
||||
+
|
||||
+ mt6797_ccci: modem-cldma@10014000 {
|
||||
+ compatible = "mediatek,mt6797-ccci-cldma";
|
||||
+ reg = <0 0x10014000 0 0x1e00>,
|
||||
+ <0 0x10219000 0 0x1e00>,
|
||||
+ <0 0x10209000 0 0x1000>;
|
||||
+ reg-names = "ap-cldma-ao", "ap-cldma-pdn", "ap-ccif0";
|
||||
+ interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 147 IRQ_TYPE_LEVEL_LOW>,
|
||||
+ <GIC_SPI 266 IRQ_TYPE_EDGE_FALLING>;
|
||||
+ interrupt-names = "cldma", "ccif0", "md-wdt";
|
||||
+ mediatek,infracfg = <&infrasys>;
|
||||
+ mediatek,spm = <&scpsys>;
|
||||
+ wakeup-source;
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ sii902x_1v2: regulator-sii902x-1v2 {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ regulator-name = "hdmi-1v2";
|
||||
+ regulator-min-microvolt = <1200000>;
|
||||
+ regulator-max-microvolt = <1200000>;
|
||||
+ gpio = <&pio 247 GPIO_ACTIVE_HIGH>;
|
||||
+ enable-active-high;
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&sii902x_1v2_pins>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&mt6351regulator {
|
||||
+ mt6351_vsim1_reg: ldo-vsim1 {
|
||||
+ regulator-name = "vsim1";
|
||||
+ regulator-min-microvolt = <1700000>;
|
||||
+ regulator-max-microvolt = <3100000>;
|
||||
+ };
|
||||
+
|
||||
+ mt6351_vsim2_reg: ldo-vsim2 {
|
||||
+ regulator-name = "vsim2";
|
||||
+ regulator-min-microvolt = <1700000>;
|
||||
+ regulator-max-microvolt = <3100000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pio {
|
||||
+ sii902x_1v2_pins: sii902x-1v2-pins {
|
||||
+ pins-en {
|
||||
+ pinmux = <MT6797_GPIO247__FUNC_GPIO247>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ sii902x_pins: sii902x-pins {
|
||||
+ pins-rst {
|
||||
+ pinmux = <MT6797_GPIO57__FUNC_GPIO57>;
|
||||
+ };
|
||||
+
|
||||
+ pins-irq {
|
||||
+ pinmux = <MT6797_GPIO62__FUNC_EINT1>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ dpi0_pins_default: dpi0-default-pins {
|
||||
+ pins-bus {
|
||||
+ pinmux = <MT6797_GPIO39__FUNC_DPI_D0>,
|
||||
+ <MT6797_GPIO40__FUNC_DPI_D1>,
|
||||
+ <MT6797_GPIO41__FUNC_DPI_D2>,
|
||||
+ <MT6797_GPIO42__FUNC_DPI_D3>,
|
||||
+ <MT6797_GPIO43__FUNC_DPI_D4>,
|
||||
+ <MT6797_GPIO44__FUNC_DPI_D5>,
|
||||
+ <MT6797_GPIO45__FUNC_DPI_D6>,
|
||||
+ <MT6797_GPIO46__FUNC_DPI_D7>,
|
||||
+ <MT6797_GPIO47__FUNC_DPI_D8>,
|
||||
+ <MT6797_GPIO48__FUNC_DPI_D9>,
|
||||
+ <MT6797_GPIO49__FUNC_DPI_D10>,
|
||||
+ <MT6797_GPIO50__FUNC_DPI_D11>,
|
||||
+ <MT6797_GPIO51__FUNC_DPI_DE>,
|
||||
+ <MT6797_GPIO52__FUNC_DPI_CK>,
|
||||
+ <MT6797_GPIO53__FUNC_DPI_HSYNC>,
|
||||
+ <MT6797_GPIO54__FUNC_DPI_VSYNC>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ dpi0_pins_sleep: dpi0-sleep-pins {
|
||||
+ pins-gpio {
|
||||
+ pinmux = <MT6797_GPIO39__FUNC_GPIO39>,
|
||||
+ <MT6797_GPIO40__FUNC_GPIO40>,
|
||||
+ <MT6797_GPIO41__FUNC_GPIO41>,
|
||||
+ <MT6797_GPIO42__FUNC_GPIO42>,
|
||||
+ <MT6797_GPIO43__FUNC_GPIO43>,
|
||||
+ <MT6797_GPIO44__FUNC_GPIO44>,
|
||||
+ <MT6797_GPIO45__FUNC_GPIO45>,
|
||||
+ <MT6797_GPIO46__FUNC_GPIO46>,
|
||||
+ <MT6797_GPIO47__FUNC_GPIO47>,
|
||||
+ <MT6797_GPIO48__FUNC_GPIO48>,
|
||||
+ <MT6797_GPIO49__FUNC_GPIO49>,
|
||||
+ <MT6797_GPIO50__FUNC_GPIO50>,
|
||||
+ <MT6797_GPIO51__FUNC_GPIO51>,
|
||||
+ <MT6797_GPIO52__FUNC_GPIO52>,
|
||||
+ <MT6797_GPIO53__FUNC_GPIO53>,
|
||||
+ <MT6797_GPIO54__FUNC_GPIO54>;
|
||||
+ output-low;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* mtk_mmsys_driver_data only defines .main_path (DSI0); keep DPI0/HDMI off at boot. */
|
||||
+&dpi0 {
|
||||
+ pinctrl-names = "default", "sleep";
|
||||
+ pinctrl-0 = <&dpi0_pins_default>;
|
||||
+ pinctrl-1 = <&dpi0_pins_sleep>;
|
||||
+ /delete-property/ power-domains;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&dpi0_out {
|
||||
+ dpi0_out_ep: endpoint {
|
||||
+ remote-endpoint = <&sii902x_in_ep>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&i2c3 {
|
||||
+ hdmi-bridge@39 {
|
||||
+ compatible = "sil,sii9022";
|
||||
+ reg = <0x39>;
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&sii902x_pins>;
|
||||
+ reset-gpios = <&pio 57 GPIO_ACTIVE_LOW>;
|
||||
+ interrupt-parent = <&pio>;
|
||||
+ interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
|
||||
+ cvcc12-supply = <&sii902x_1v2>;
|
||||
+ iovcc-supply = <&mt6351_vio18_reg>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ ports {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ port@0 {
|
||||
+ reg = <0>;
|
||||
+
|
||||
+ sii902x_in_ep: endpoint {
|
||||
+ remote-endpoint = <&dpi0_out_ep>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--
|
||||
2.55.0
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
0001-ixoo-gemini-pda-mainline-7.3.5.patch
|
||||
0002-mt6797-ccci-cldma-and-md1-domain.patch
|
||||
0003-arm64-dts-mediatek-geminux-gemini-pda.patch
|
||||
Reference in new issue
Block a user