U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: anoduck <anoduck@protonmail.com>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>, Sumit Garg <sumit.garg@kernel.org>,
	Minda Chen <minda.chen@starfivetech.com>,
	Hal Feng <hal.feng@starfivetech.com>,
	anoduck <anoduck@protonmail.com>
Subject: [PATCH RFC PineTab-V DTS File] RFC: Pine64 Pinetab-V dts Device Tree File
Date: Sat, 18 Jul 2026 08:10:38 +0000	[thread overview]
Message-ID: <20260718-develop-v1-1-d4b5c0675f87@protonmail.com> (raw)

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>



             reply	other threads:[~2026-07-18  8:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-18  8:10 anoduck [this message]
2026-07-18 22:25 ` [PATCH RFC PineTab-V DTS File] RFC: Pine64 Pinetab-V dts Device Tree File Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260718-develop-v1-1-d4b5c0675f87@protonmail.com \
    --to=anoduck@protonmail.com \
    --cc=hal.feng@starfivetech.com \
    --cc=minda.chen@starfivetech.com \
    --cc=sumit.garg@kernel.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox