mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: heiko@sntech.de
Cc: ukleinek@debian.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 07/14] arm64: dts: rockchip: add board-aliases for Qnap-TS433
Date: Tue, 23 Jul 2024 21:55:31 +0200	[thread overview]
Message-ID: <20240723195538.1133436-8-heiko@sntech.de> (raw)
In-Reply-To: <20240723195538.1133436-1-heiko@sntech.de>

Add the aliases for the internal network interface as well as the emmc
on the board and make sure the dedicated RTC is always the first one.

The TS433 actually has two rtc devices. One coming from the rk809 pmic
without added functionality and also a dedicated RTC from Mycrocrystal
that is battery backed to keep the time.

Tested-by: Uwe Kleine-König <ukleinek@debian.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
index 40af4dd0e4158..8be36250aa13d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
@@ -13,6 +13,12 @@ / {
 	model = "Qnap TS-433-4G NAS System 4-Bay";
 	compatible = "qnap,ts433", "rockchip,rk3568";
 
+	aliases {
+		ethernet0 = &gmac0;
+		mmc0 = &sdhci;
+		rtc0 = &rtc_rv8263;
+	};
+
 	chosen {
 		stdout-path = "serial2:115200n8";
 	};
@@ -120,7 +126,7 @@ pmic@20 {
 &i2c1 {
 	status = "okay";
 
-	rtc@51 {
+	rtc_rv8263: rtc@51 {
 		compatible = "microcrystal,rv8263";
 		reg = <0x51>;
 		wakeup-source;
-- 
2.39.2


  parent reply	other threads:[~2024-07-23 19:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-23 19:55 [PATCH v3 00/14] Expand available features on Qnap TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 01/14] arm64: dts: rockchip: add PCIe supply regulator to Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 02/14] arm64: dts: rockchip: enable second PCIe controller on the Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 03/14] arm64: dts: rockchip: enable uart0 on Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 04/14] arm64: dts: rockchip: enable usb ports " Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 05/14] arm64: dts: rockchip: add stdout path " Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 06/14] arm64: dts: rockchip: enable sata1+2 " Heiko Stuebner
2024-07-23 19:55 ` Heiko Stuebner [this message]
2024-07-23 19:55 ` [PATCH v3 08/14] arm64: dts: rockchip: add hdd leds to Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 09/14] arm64: dts: rockchip: enable the tsadc on the Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 10/14] arm64: dts: rockchip: add gpio-keys to Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 11/14] arm64: dts: rockchip: define cpu-supply on the Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 12/14] arm64: dts: rockchip: add missing pmic information on Qnap-TS433 Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 13/14] arm64: dts: rockchip: enable gpu " Heiko Stuebner
2024-07-23 19:55 ` [PATCH v3 14/14] arm64: dts: rockchip: add 2 pmu_io_domain supplies for Qnap-TS433 Heiko Stuebner
2024-07-25 22:20 ` [PATCH v3 00/14] Expand available features on Qnap TS433 Rob Herring (Arm)
2024-07-30  7:32 ` Heiko Stuebner

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=20240723195538.1133436-8-heiko@sntech.de \
    --to=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=ukleinek@debian.org \
    /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

all inboxes | Powered by JetHome®