U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC PineTab-V DTS File] RFC: Pine64 Pinetab-V dts Device Tree File
@ 2026-07-18  8:10 anoduck
  2026-07-18 22:25 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: anoduck @ 2026-07-18  8:10 UTC (permalink / raw)
  To: u-boot; +Cc: Tom Rini, Sumit Garg, Minda Chen, Hal Feng, anoduck

Added compilable PineTab-V device-tree dts file derived from pine64 community distributed dts and additional parameters
Community provided definitions:
    - Audio Codec
    - Accelerometer

Additional parameters include:
    - Definitions for sd-card and on board EMMC devices
    - Definitins for power supply to sd-card

Signed-off-by: The Anoduck <anoduck@protonmail.com>
---
Provide support for the Pine64 Pinetab-V Risc-V 64bit Tablet

Signed-off-by: anoduck <anoduck@protonmail.com>
---
 .../src/riscv/starfive/jh7110-pine64-pinetabv.dts  | 116 +++++++++++++++++++++
 1 file changed, 116 insertions(+)

diff --git a/dts/upstream/src/riscv/starfive/jh7110-pine64-pinetabv.dts b/dts/upstream/src/riscv/starfive/jh7110-pine64-pinetabv.dts
new file mode 100644
index 00000000000..1115b0be4cc
--- /dev/null
+++ b/dts/upstream/src/riscv/starfive/jh7110-pine64-pinetabv.dts
@@ -0,0 +1,116 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+/*
+ * Copyright (C) 2026 T Anoduck <anoduck@protonmail.com>
+ * Through the Graces of: E Shattow <e@freeshell.de>
+ * REV-DATE: July 18, 2026
+ */
+
+/dts-v1/;
+#include "jh7110-common.dtsi"
+
+/ {
+	compatible = "pine64,pinetabv", "starfive,jh7110";
+	model = "Pine64 PinetabV";
+
+	soc {
+		i2c@10030000 {
+			compatible = "snps,designware-i2c";
+			reg = <0x00 0x10030000 0x00 0x10000>;
+			clocks = <0x03 0x8a>;
+			clock-names = "ref";
+			resets = <0x03 0x4c>;
+			interrupts = <0x23>;
+			#address-cells = <0x01>;
+			#size-cells = <0x00>;
+			status = "okay";
+			clock-frequency = <0x186a0>;
+			i2c-sda-hold-time-ns = <0x12c>;
+			i2c-sda-falling-time-ns = <0x1fe>;
+			i2c-scl-falling-time-ns = <0x1fe>;
+			pinctrl-names = "default";
+			pinctrl-0 = <0x17>;
+
+			audio-codec@11 {
+				compatible = "everest,es8316";
+				reg = <0x11>;
+				clocks = <0x18>;
+				clock-names = "mclk";
+				#sound-dai-cells = <0x00>;
+				papower-gpio = <0x19 0x32 0x00>;
+				hp-det-gpio = <0x19 0x24 0x00>;
+				phandle = <0x64>;
+			};
+
+			accelerometer@18 {
+				compatible = "silan,sc7a20";
+				reg = <0x18>;
+				mount-matrix = "0", "0", "-1", "1", "0", "0", "0", "-1", "0";
+			};
+		};
+	sd_vcc: sd-vcc {
+		compatible = "regulator-fixed";
+		regulator-name = "sd_vcc";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <0x19 0x23 0x00>;
+		enable-active-low;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
+		mmc@16010000 {
+			compatible = "starfive,jh7110-mmc";
+			reg = <0x00 0x16010000 0x00 0x10000>;
+			clocks = <0x03 0x5b 0x03 0x5d>;
+			clock-names = "biu", "ciu";
+			resets = <0x03 0x40>;
+			reset-names = "reset";
+			interrupts = <0x4a>;
+			fifo-depth = <0x20>;
+			fifo-watermark-aligned;
+			data-addr = <0x00>;
+			starfive,sysreg = <0x1f 0x14 0x1a 0x7c000000>;
+			status = "okay";
+			max-frequency = <0x5f5e100>;
+			assigned-clocks = <0x03 0x5d>;
+			vmmc-supply = <&sd_vcc>;
+			assigned-clock-rates = <0x2faf080>;
+			bus-width = <0x08>;
+			cap-mmc-highspeed;
+			mmc-ddr-1_8v;
+			mmc-hs200-1_8v;
+			non-removable;
+			cap-mmc-hw-reset;
+			post-power-on-delay-ms = <0xc8>;
+			pinctrl-names = "default";
+			pinctrl-0 = <0x3c>;
+			vqmmc-supply = <&sd_vcc>;
+		};
+
+		mmc@16020000 {
+			compatible = "starfive,jh7110-mmc";
+			reg = <0x00 0x16020000 0x00 0x10000>;
+			clocks = <0x03 0x5c 0x03 0x5e>;
+			clock-names = "biu", "ciu";
+			resets = <0x03 0x41>;
+			reset-names = "reset";
+			interrupts = <0x4b>;
+			fifo-depth = <0x20>;
+			fifo-watermark-aligned;
+			data-addr = <0x00>;
+			starfive,sysreg = <0x1f 0x9c 0x01 0x3e>;
+			status = "okay";
+			max-frequency = <0x5f5e100>;
+			assigned-clocks = <0x03 0x5e>;
+			assigned-clock-rates = <0x2faf080>;
+			bus-width = <0x04>;
+			no-sdio;
+			no-mmc;
+			cd-gpios = <0x19 0x29 0x01>;
+			cap-sd-highspeed;
+			post-power-on-delay-ms = <0xc8>;
+			pinctrl-names = "default";
+			pinctrl-0 = <0x3e>;
+		};
+	};
+};

---
base-commit: 605d72111224172381a2a94d734183222d5b8952
change-id: 20260718-develop-1e9fbc9b4fe0

Best regards,
-- 
anoduck <anoduck@protonmail.com>



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

end of thread, other threads:[~2026-07-18 22:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18  8:10 [PATCH RFC PineTab-V DTS File] RFC: Pine64 Pinetab-V dts Device Tree File anoduck
2026-07-18 22:25 ` Tom Rini

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