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>,
	Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>,
	anoduck <anoduck@protonmail.com>
Subject: [PATCH RFC PineTab-V DTS File v2 1/2] RFC: Pine64 Pinetab-V dts Device Tree File
Date: Sun, 19 Jul 2026 22:02:29 +0000	[thread overview]
Message-ID: <20260719-develop-v2-1-91fdc4cd60a2@protonmail.com> (raw)
In-Reply-To: <20260719-develop-v2-0-91fdc4cd60a2@protonmail.com>

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>
---
 .../src/riscv/starfive/jh7110-pine64-pinetabv.dts  | 174 ++++++++++-----------
 1 file changed, 87 insertions(+), 87 deletions(-)

diff --git a/dts/upstream/src/riscv/starfive/jh7110-pine64-pinetabv.dts b/dts/upstream/src/riscv/starfive/jh7110-pine64-pinetabv.dts
index 07241c75fc2..dd04d9be5a0 100644
--- a/dts/upstream/src/riscv/starfive/jh7110-pine64-pinetabv.dts
+++ b/dts/upstream/src/riscv/starfive/jh7110-pine64-pinetabv.dts
@@ -8,44 +8,44 @@
 #include "jh7110-common.dtsi"
 
 / {
-    compatible = "pine64,pinetabv", "starfive,jh7110";
+	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>;
+		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>;
-    		};
+			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";
-    		};
-    	};
+			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";
@@ -57,59 +57,59 @@
 		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@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>;
-    	};
-    };
+		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>;
+		};
+	};
 };

-- 
2.53.0



  reply	other threads:[~2026-07-19 22:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-19 22:02 [PATCH RFC PineTab-V DTS File v2 0/2] Pine64 Pinetab-V Device Tree Support anoduck
2026-07-19 22:02 ` anoduck [this message]
2026-07-19 22:02 ` [PATCH RFC PineTab-V DTS File v2 2/2] RFC: Pine64 Pinetab-V Device Tree File anoduck

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=20260719-develop-v2-1-91fdc4cd60a2@protonmail.com \
    --to=anoduck@protonmail.com \
    --cc=hal.feng@starfivetech.com \
    --cc=minda.chen@starfivetech.com \
    --cc=rick@andestech.com \
    --cc=sumit.garg@kernel.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=ycliang@andestech.com \
    /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