Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp785891lqb; Wed, 29 May 2024 10:21:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUW7F5hc8HI9plA/gsuhERiqBTNuvf1GMa7FkQd5zE/xQ9DaU19S5TH30jmiXOjRMBq7DdmEixK/ueT4bO5rNbhpX7m7/jsWqKCXr6WCw== X-Google-Smtp-Source: AGHT+IF8Zwsfe+GJbI5tCX2t33anjFltwUw+d+3IICFSKCGo8SQPKHbwcGa3MyLssJqGeV17N7q/ X-Received: by 2002:a17:90a:c581:b0:2b9:9c5f:8049 with SMTP id 98e67ed59e1d1-2bf5f3112aemr13669945a91.41.1717003301918; Wed, 29 May 2024 10:21:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717003301; cv=pass; d=google.com; s=arc-20160816; b=XSi6hkNzxbR1VSvdU2DQpMMZxMg1qL8bYltQKtBU06LVJt8kLR9RbP024648VUZSan VNzitBQSfy6ansEh2t7CLDCsmB7CKSzJrXPo/iHa/iZQ/5oIItV8pSwfABaO3d0gEHOu hV12ovLexKxKB+Ce23BuVhWmXw57mrdlcy2mFXxg6jnQOFaP8a3St2ggXPRFzZw89Ej0 UnPNlumtR27MBsHIw/IbQQp2itq00F9Qczx+/HDr83xutvm5UQlc2FhaztW2tRETMVev qaKgRG8urNUeYtxxSPBP+tYadg8JhL0uxLtMB19rgsPQ65yheE84bzW0gCHW4DY0RPV5 nxYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=LnvUL3j+FhUIYu1ECockb+0k/yEHuOso9bE/McckZ2Y=; fh=t7xVnMFcetfiNOUqoqkPeVbOUwrqcnEg51sm77rWrRg=; b=IHG+tloiTPBlIcUyz3G5OJZl5goAIeRh15DEwQx0KdY2ZafaHp2FujGi1eZSF2Nk/T gvso1K8AHPTqnhG3EtJK6QurgTH8KOnNu5GiRKZxpaGTzDDOIwKnTTqP/t4V8HQzqcJf Y904cccYSvZZwK7BaZITahUabeMZpP84czbI3p9woLxay/ziAnh6Y+jju1xFrMUhSaNx yvlsfTsihqcGkdjuuRxIdoLbluSorLeX92P31CnlaNzsbBPHOBBlPOLuDr/cWx6/pnk/ L7ZaLgBIJWmMcQ/TRTZDUbi2GUkrJ4OacjDm4Bsw6lPd24BR+jM7oLtLUXn3iz+n9moz FGtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=kna8nhGa; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-194509-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1a7764c70si45922a91.11.2024.05.29.10.21.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 10:21:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194509-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=kna8nhGa; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-194509-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 088A92871B9 for ; Wed, 29 May 2024 17:21:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12C011A0B1D; Wed, 29 May 2024 17:21:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=seb-dev@web.de header.b="kna8nhGa" Received: from mout.web.de (mout.web.de [212.227.15.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7C7C15B12C; Wed, 29 May 2024 17:20:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717003262; cv=none; b=KVrga4yFXPeCEP0UG0sgZdmC4/ErAbvnRZ/ubiV7nUcpmehjAu2Imad8GZZBDBdoKrlU8MLxa0wn6KogY/9GpUY9rQ+61Z+v9VqJCBOQKb9cqMsSddAMYoChsdefou78gm5mDqhdRgHsu4CtCbR6N7ccIK1hLSULj6GFLiCJcWI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717003262; c=relaxed/simple; bh=LnvUL3j+FhUIYu1ECockb+0k/yEHuOso9bE/McckZ2Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RYYw2II3CxO/HAeaXAPvep6wURdAYBbFNpIeyWlwSPnFATiyxSn4JYM84VrJn1loZXGJHlL4WwVdN9/g6XmMS9wpFURx7D+m/i/wUrmvPMpyinVdnClMx9oGDB2A/iKFVXp4E2/HkuVQEgelZ4BYijCeKbLTo+St4rOfqX22XbE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=seb-dev@web.de header.b=kna8nhGa; arc=none smtp.client-ip=212.227.15.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1717003228; x=1717608028; i=seb-dev@web.de; bh=LnvUL3j+FhUIYu1ECockb+0k/yEHuOso9bE/McckZ2Y=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=kna8nhGaGMg6V5WETmO60PwrliEoYDpnqxoaCkZ31vDdwRTxJ3w0yyuXeZyqV0ZI CSuLJBOeWHES8ndKvBpjU3VbXb9UMiGc5cAOp2Bksbd72ZnvxeU2FZc9stCm0Mf1W I7m2/xPMyT39eabhSTIb7bJUTru259PwC/5k5XrFxloM4DtxgO/7tpc5gVKKXyakh p0sG8FulGevW3yJ9h6Ar13ogmIR1R2TnlG/hhFZ0gYlKDXYOMHVc1khKwprh3qDDw 4/1fTtDZbiN3mKoCPWkfQmlM3d9svSzy//+jLVh3iql0cOJBrRqxZZxrfbmEUwR6f lcTbmwL5i7ibH/S0GQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.24] ([84.155.184.248]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MUl9B-1s3BtN2SfJ-00QwGU; Wed, 29 May 2024 19:20:28 +0200 Message-ID: Date: Wed, 29 May 2024 19:20:27 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add CM3588 NAS board To: Dragan Simic Cc: Jonas Karlman , Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240526214340.8459-1-seb-dev@web.de> <20240526214820.9381-1-seb-dev@web.de> <9f40c748-691b-4a03-bbd6-54870f46bf05@kwiboo.se> <29e5cf31-3d9a-469a-befa-41a5aa2fe8b3@web.de> From: Sebastian Kropatsch In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:hOpgXAHojh64+byf+dXx6/yojN2mCvobytSvKX4N1UvJOQJ3bWi 5QmnxAI1ZQ3Mqy07BGdu6CuZa4ovU721gwe7yKEHSqZxfnkF9YGvvaevEOAS8xrBuAijeoD Pe33+pj2nIoPaCOxgUv4bAslZlOBFWc4oObksZ2jV6f3jJbV6cvI2AaHVZOG+0ifeJ29vu7 XnyVJf3e+FGCQZ8aOhAxA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AWu6vFBFlaM=;iS1IlLJHaAyDKPqsIyiWaZlG9iZ thspF47GX2usRA858C/sGhaax0Uygs+xMCeaKF0ehVcSpam+FvfJlJY8TkJCtKF8hR4mGDUtc /4LMkbGQ7gpRmjF9sDoKtqxfp0yfvjVJQFsHKQhINcxtFVpXu71BVJc17NvyGxZH6M6HsUxiM E9jqU+pJAOInJd0BOutE8UyzDY3FRV5bKAI7cDGjjIofsB+nek+37JOAEoI8faGZDgbHB+f8E Bq51n4wWDbg0/98OhjZBpfwhcVlsxQnZBz0uJLNgg+EFHXLf1fgsC5/eOR7d20nOSOo7q6Utq 5E3ibIASn/yJX3cZvFOxniVPpD3wG1kOKRHBs/0bwnZbZKWIexs4C1XoA2ZUZ2THKtAIo6ipL PQvwQ41pT8KX6PAN9YEV7CkSkh1DcgQTMVDYymiP/qbo/BPP8Ng+4ZPqgwLMwFZRaUFbsIPDv U84gguIDvIB4YXw3LE+SsJ9L9vZTrXn614Fi/0JauA8lo5FaSE7DlJLmKgj17y6undLOaOHqv NNTQH7w6eiABoJ9cwOoX3o1FqdNByEkKt0jVfPTnjKAmXmVuZkLMkvUFlFpr6ezIwGXpKqRE6 jswOT7vlTjB00g8BziSoQKAouLS8MBahgykDqDuNgirocupdV4g0zwhwrpd8ldMKTIqqrgHeu bCIVRjT3CoLzc3g8+x6Ko2WlW4Cwq9A3H4jAhd/zVwn7pkiImvsFuQWYlAWkYXY7nNjXP+F/N aP0i6ktWYbELG/G8oDqH+USmlqFOKWnuGOd916BfjJILxeggarbY+Lmu2JPaUN1dHrZhw5mqV LxKxYt++K6JXOVcfWYqgSsV+v2sz1Rq8qj6WwAbtsVwoY= Hi Dragan, Am 29.05.2024 um 02:10 schrieb Dragan Simic: > Hello Sebastian, > > On 2024-05-28 19:22, Sebastian Kropatsch wrote: >> Am 27.05.2024 um 21:02 schrieb Jonas Karlman: >>> On 2024-05-26 23:48, Sebastian Kropatsch wrote: >>>> The CM3588 NAS by FriendlyElec pairs the CM3588 compute module, >>>> based on >>>> the Rockchip RK3588 SoC, with the CM3588 NAS Kit carrier board. >>>> >>>> [...] >>>> >>>> PCIe bifurcation is used to handle all four M.2 sockets at PCIe 3.0 x= 1 >>>> speed. Data lane mapping in the DT is done like described in commit >>>> f8020dfb311d ("phy: rockchip-snps-pcie3: fix bifurcation on rk3588"). >>>> >>>> This device tree includes support for eMMC, SD card, ethernet, all US= B2 >>>> and USB3 ports, all four M.2 slots, GPU, RTC, buzzer, UART debugging = as >>>> well as the buttons and LEDs. >>>> The GPIOs are labeled according to the schematics. >>>> >>>> Signed-off-by: Sebastian Kropatsch >>>> --- >>>> =C2=A0 arch/arm64/boot/dts/rockchip/Makefile=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0 1 + >>>> =C2=A0 .../boot/dts/rockchip/rk3588-cm3588-nas.dts=C2=A0=C2=A0 | 1269 >>>> +++++++++++++++++ >>>> =C2=A0 2 files changed, 1270 insertions(+) >>>> =C2=A0 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-cm3588-= nas.dts >>> >>> Because the CM3588 is a SoM and the NAS is a carrier board this should >>> probably be split in two, cm3588.dtsi and cm3588-nas.dts. >> >> I thought about this before submitting. My reason for not splitting thi= s >> into two files for now was that as far as I know this board is the only >> combination for the CM, maybe no other daughter board will ever get >> released. If another carrier board compatible with the CM3588 is >> released, the splitting could be done at that point in time. >> >> But since both you and Heiko prefer to have it split, I will figure out >> a way how and which parts will have to split up to the CM so we can >> have two files in the end. I guess most things will go into the NAS dts >> anyway. >> >> I'll have a look how other Rockchip compute modules with split device >> trees were done in the past and orient myself by that. > > I also support the DT split between the SoM and the carrier board, > even if there are currently no more carrier boards available for > the particular SoM.=C2=A0 That may seem redundant, but it reflects the > nature of the hardware setup, in which the SoM plugs into the carrier > board.=C2=A0 This follows the principle of the DT describing hardware. Following the principle of the DT describing the hardware does make sense, that's a very good explanation! I'll try to follow up with this in a v2 in the next few days. Thank you, Sebastian