From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795044622; b=Yu1HwLAWE/7L5Tn1lKfdDXvVggHFVu5fRFNmYi70G+TVvjNaQGOEGfzDUJmm6svIVdwt 664IddY/ieqVeo6T1ZD7bcC4dINC7U1ymDJxEmLaanDIQPYaeGaPjGzb0hX8DqzLqOKRt I/vC0mQJYtgQJljkA0IJdIKLgd0nF8JcpS87KNx9bR/SQLgBhF7JyZrzRuCG02hDsd4+4 kAb8qCOC5EI51QNJSmJRRiDexT0EYtkvl6+K5z+euCc6m4KUG+wgb0XzIWDoLULSViJ+s Rvaf8PQPdxwtZvKpmtmKOv0nwFBC1+L/63SlBU9Drx2aF+R8PGpYnpjDx57RVAPne1w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795044622; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key; bh=D4kvXPXjJrJfC4xPYDD6GGUwfPJQ0tfGxICatFpEaO4=; b=oO3A6b0OTCumt9tiiTX6dVo2XhZP8uPZJYNYU7JvfBxwr97FmOYY46ioJxvT1wfIgcwQ Qgx+krT7X+64fTO0mm18t5deJdw8jAVI+46Vv6mpPvL5Ff2TlasWAbLmPBvp6sVuOEufz wrhl++mUR6GCQGHDeYl1tPPgUkHwDcwfjtEBk6kyf1bChuOqC0mKcJQInxFZ6gtopVgxs Mf5weXx8zAUTWccEODGVsbiIbYUiwDzSGU/U78mtK8IdXRAHjhAsvqF59xEq8/Wehnv7k cAavmbwjlc3eNAsQ6Y2OZ+r1KiLeJ9Mwqxje5YE+h8ne+iamnCvngwdixWERTTdTL1g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=AOm5Xxm7; arc=none smtp.remote-ip=209.85.218.48 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 159F560A2613 for ; Wed, 18 Nov 2026 23:30:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 159F560A2613 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=AOm5Xxm7 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-c445c95d553so228633166b.1 for ; Wed, 18 Nov 2026 15:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795044620; x=1795649420; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=D4kvXPXjJrJfC4xPYDD6GGUwfPJQ0tfGxICatFpEaO4=; b=AOm5Xxm7n5D7dFYdRBI+Qmp+3JaaK/o2fbDAVT4Ikffp9/gWc8fowiFex4V+pCes7I Q4p8DZubFdamjsfE7z2CyEUuLsw27T+QAxCJbVUyQyD3lbrx4ufPh60XT7TS7wmmt6b+ 1d3murFIt1o6u38IQo5EsC5Bsg2l7Ps4NR8tV4cfQejbQy4gBC9AmPTtVi73OZ56Jt+Z vYy7HjPmn35L0AS46P5garyngoQNxQrPGQE2vOxoGNsq2/xmbha4etlR0RePULu+FeiR FfWB1TaeYbRSoUScQWfuykF/1ON5jM9bVrQEIApNXRz8mK1D7eVKDCdWG6r+qZaIe5Cx CMUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795044620; x=1795649420; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=D4kvXPXjJrJfC4xPYDD6GGUwfPJQ0tfGxICatFpEaO4=; b=wBVjLK6t4C+TQpFgGHcEgur58RJIgQtWsx4b76LcmbXO64go09lwPmQRGTxLIZgSdx 0FMyQGzcWNihPtia/Fo4yq95CwP67+YfCWMI01+ykkfVjhwgZL6xmuGxCJ6Td3zIB9pv o26Di31x8ybA4+Chq1YJvfeQiXgH4dA3fPxBO2q2P3cDVXivbwygT+cP+A314RJaiFlE 6DO0DVdoTQWdfZWarsLPOXPtcSWGNWvPqklQbQUs6Tp8HMi4GI+RvcZ8oubOm0ybX+yq /j351mbxezyiAmEVyQQuJMylT5WJTMo53dwoJLkAsqEk5MooB6wXlLXsDiUrO4q6HyGZ 35ng== X-Forwarded-Encrypted: i=1; AL+hErEMWSCSI6CPhKk0eQGoajh4nDIwmWfdMDws6cxMWyfdKWiShwNpGbJHNIOiBpAQ6S+TbAl72tAoFXki69A=@vger.kernel.org X-Gm-Message-State: APuU4Z/13WQUarKFR2Pr9Q6UFVmtYLYFsioReuGClpo9S1ZngGRB3fRN xLZ4D8pltqCv/Iaj1T98TPeuPPMNsphp+ZWU6LyT7KQSuqNPR+NfY6OtWgwlkQ== X-Gm-Gg: AYBFou3ONrHXp6yxPaVfxthMJcH1p/KKIUUsG8346QEga61N6pE05G3zuiCd4a+gdIB c7XsRgi8h/2mPeys2eWVejOBeLdKhZSeILZIHIe9fIY/M39ieNq9nfvRRCXvlp8jnUKaQ4k3i3o 8UtVshvF4pPGHck1/QfKxnZFq/v4OzD8UBdJMuUifEnE72ebsz3ch47z+FGQ6pZ2efom0aVLQo7 qcdoYBEPBGsRlnaOw2023iDX8esmE3O4dus8ljEFlp2MsbE9HH0nvTq5qAPnZLmexmlxC31ri0x 4GM2O9FRHc1DOb+UsjQi0j9b3A0Rx9YrFTYE2+j7HE0eYga/pFW685Czk/kiTRygQmnAi2/3hMS dfE02EZ3AYeNR4EH01D8BbUMsjjxlvslRowixvv6gMxCYtwC6em5ZEXG21rsZKpcHZPkv8XmiQ6 Wu29DR+Tpu2KHR1lAXinMAafSnRJewfkpBZXSrW0UQQdNRIzD3DH/fmHV8ki/dnnuaT58TLPcQ8 tBOJdfGTnLo8k5WQjn0UKeYwVDo6oR/is/jGQVxpg14xgX498aO8hfQPG2ziDErZi2Z4uHx1OLV VLj9y3YzIpQJ0GSup/YCAL2U4OCBpW1jsga7u/T1O/E= X-Received: by 2002:a17:907:3ea6:b0:c50:bf14:8ec1 with SMTP id a640c23a62f3a-c510e4c7a66mr412768966b.33.1795044620407; Wed, 18 Nov 2026 15:30:20 -0800 (PST) Received: from localhost.localdomain ([193.107.16.241]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c51234d2159sm47809166b.78.2026.11.18.15.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2026 15:30:19 -0800 (PST) From: Dmitry Yashin Date: Thu, 19 Nov 2026 04:29:40 +0500 Subject: [PATCH v3 2/4] arm64: dts: rockchip: add Forlinx FET3568-C X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261119-ok3568-c-v3-2-071840643591@gmail.com> References: <20261119-ok3568-c-v3-0-071840643591@gmail.com> In-Reply-To: <20261119-ok3568-c-v3-0-071840643591@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Dmitry Yashin X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795044612; l=8183; i=dmt.yashin@gmail.com; s=20260930; h=from:subject:message-id; bh=kwtI6S0QcRAZXZc30UUXQRskuC6D+uY+/6wBkU3Qvlg=; b=hF9VLMArxbcCXrfEOl+09lVDEFP7Wi+2yTUYDj5l/OTDw0U/OkI0Cwyy+l/bmpqo95DuJguu6 c/n5PjDR4EaARBmYxWyAGJtIQzqTscMbkVkyiovmZC+47dXSVmNFk/s X-Developer-Key: i=dmt.yashin@gmail.com; a=ed25519; pk=vBe9jaaOEH5bQEvfzb1tWOlz3AMIcXCu/GL/CdlwJco= FET3568-C is an System on Module made by Forlinx based on Rockchip RK3568. This SoM used by OK3568-C Board. FET3568-C features: - Rockchip RK3568 - DDR4 1/2/4/8 GB - eMMC 8/16/32/64 GB - RK809 PMIC Add devicetree for Forlinx FET3568-C SoM. Signed-off-by: Dmitry Yashin --- arch/arm64/boot/dts/rockchip/rk3568-fet3568-c.dtsi | 332 +++++++++++++++++++++ 1 file changed, 332 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-fet3568-c.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-fet3568-c.dtsi new file mode 100644 index 000000000000..9a3e810c46b5 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3568-fet3568-c.dtsi @@ -0,0 +1,332 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include +#include +#include "rk3568.dtsi" + +/ { + compatible = "forlinx,fet3568-c", "rockchip,rk3568"; + + aliases { + mmc0 = &sdhci; + }; + + chosen: chosen { + stdout-path = "serial2:1500000n8"; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; + gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + pinctrl-names = "default"; + pinctrl-0 = <&led0_pin>; + }; + }; +}; + +&cpu0 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu1 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu2 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu3 { + cpu-supply = <&vdd_cpu>; +}; + +&gpu { + mali-supply = <&vdd_gpu>; + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + vdd_cpu: regulator@1c { + compatible = "tcs,tcs4525"; + reg = <0x1c>; + fcs,suspend-voltage-selector = <1>; + regulator-name = "vdd_cpu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + regulator-ramp-delay = <2300>; + vin-supply = <&vcc5v0>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + rk809: pmic@20 { + compatible = "rockchip,rk809"; + reg = <0x20>; + assigned-clocks = <&cru I2S1_MCLKOUT_TX>; + assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>; + #clock-cells = <1>; + clocks = <&cru I2S1_MCLKOUT_TX>; + clock-names = "mclk"; + clock-output-names = "rk809-clkout1", "rk809-clkout2"; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>; + #sound-dai-cells = <0>; + system-power-controller; + wakeup-source; + + vcc1-supply = <&vcc3v3>; + vcc2-supply = <&vcc3v3>; + vcc3-supply = <&vcc3v3>; + vcc4-supply = <&vcc3v3>; + vcc5-supply = <&vcc3v3>; + vcc6-supply = <&vcc3v3>; + vcc7-supply = <&vcc3v3>; + vcc8-supply = <&vcc3v3>; + vcc9-supply = <&vcc3v3>; + + regulators { + vdd_logic: DCDC_REG1 { + regulator-name = "vdd_logic"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_gpu: DCDC_REG2 { + regulator-name = "vdd_gpu"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-name = "vcc_ddr"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vdd_npu: DCDC_REG4 { + regulator-name = "vdd_npu"; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8: DCDC_REG5 { + regulator-name = "vcc_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda0v9_image: LDO_REG1 { + regulator-name = "vdda0v9_image"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda_0v9: LDO_REG2 { + regulator-name = "vdda_0v9"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda0v9_pmu: LDO_REG3 { + regulator-name = "vdda0v9_pmu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; + }; + }; + + vccio_acodec: LDO_REG4 { + regulator-name = "vccio_acodec"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG5 { + regulator-name = "vccio_sd"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc3v3_pmu: LDO_REG6 { + regulator-name = "vcc3v3_pmu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcca_1v8: LDO_REG7 { + regulator-name = "vcca_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca1v8_pmu: LDO_REG8 { + regulator-name = "vcca1v8_pmu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vcca1v8_image: LDO_REG9 { + regulator-name = "vcca1v8_image"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_3v3: SWITCH_REG1 { + regulator-name = "vcc_3v3"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc3v3_sd: SWITCH_REG2 { + regulator-name = "vcc3v3_sd"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + +&pinctrl { + leds { + led0_pin: led0-pin { + rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + pmic { + pmic_int: pmic-int { + rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&sdhci { + bus-width = <8>; + cap-mmc-highspeed; + max-frequency = <200000000>; + mmc-hs200-1_8v; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; + vmmc-supply = <&vcc_3v3>; + vqmmc-supply = <&vcc_1v8>; + status = "okay"; +}; + +&tsadc { + rockchip,hw-tshut-mode = <0>; + rockchip,hw-tshut-polarity = <0>; + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; -- 2.56.0