Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp31111lqq; Wed, 12 Jun 2024 15:33:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVyd/4K1Iy4vmwtC9dl4R7TvcfOLFQkLF106y5fSH39IlANH4zvvmWPpZT2VTQ1OUudUCARmOJQ0k5A8MAA1Z7qtkBu1IPnoqEi//ju+Q== X-Google-Smtp-Source: AGHT+IGUcYPPmAL4yG637NUAi0CxljpfJcPzVRC5J95ep7cVmDTUU9EK6Ml2AAgrIFJfQ8oeZBIh X-Received: by 2002:a17:906:ece3:b0:a6f:4392:9ace with SMTP id a640c23a62f3a-a6f5241b1bdmr62135966b.18.1718231632037; Wed, 12 Jun 2024 15:33:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718231632; cv=pass; d=google.com; s=arc-20160816; b=a7F3ZgS+iv55E+jkmNRZz3RZVQ2KM9Cd5qgJ6jwCOUkBvXRk+bM9gQdlOwyq3LzdJp BGjht/RL4wnnfJLcITuYkbemWoKlvTspLoVD3tTe5MK0MNY9JF4Juh+nuU+l6h9j7OlN P+IjWPqExXJ8HN0sHBVURrbi+QAtdvGyoTQrlVo3NhAtdUOuugZkNnp6/bz6qylpHynu e0hQNT639FWMaUkp4UqVf7NMuc0JnWB/aaS3fJWtDIainkqImvA3s9y50UHb9s4jpqET LZ+J2P73mxVP9LiMw0wMmPMpIyGvPi0M32SactzlNPkyFZO1YWBPQhrBcSSbOJFVu2WN tg7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:feedback-id :dkim-signature:dkim-signature; bh=O6LgGsmjjGx/r/VemAsovTvYFktWVkA0a+80L+R5FD4=; fh=jTskVh0xAuL1mCpDxugGJ4IArmiY+pJft3nzYT6toA4=; b=FlmdvejTrEzETe/86APoFyu6y1zixF3jLt0e1vrnvfMR3ux8VQJHJM1UZkUpMHPXWg op1dhIZlJ0vIn8qRmGg0l/W0QvZTR6asAt+zPjFWKqzGAMMtjb2APMaqtLjBMMaBXu4g WMW8fRBQEZxTMp3lCa00FC3K0cfBuuO7uKofYBNKrEwP+Z9Qlwy1iIyTTnyj2X9lKyCm 6S9e8uSDce1qsy9JZaqBgzMGbMR9eUGNVmDo2k7cGCGUM122kdRcKqoGSJyrUZ94Bhdu /jGDhdFdsx/8M0HR4NYybdaCNUBMvG4rb349WO7L/t53WCSqJO94AVq5s4A3F6C99ZOr 5Cdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@the-space.agency header.s=fm2 header.b=X9IpTEM2; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=cJyenuAF; arc=pass (i=1 spf=pass spfdomain=the-space.agency dkim=pass dkdomain=the-space.agency dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-212322-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212322-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56e26847si1754066b.706.2024.06.12.15.33.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 15:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212322-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@the-space.agency header.s=fm2 header.b=X9IpTEM2; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=cJyenuAF; arc=pass (i=1 spf=pass spfdomain=the-space.agency dkim=pass dkdomain=the-space.agency dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-212322-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212322-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 219CA1F2622D for ; Wed, 12 Jun 2024 22:26:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3101812C53D; Wed, 12 Jun 2024 22:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=the-space.agency header.i=@the-space.agency header.b="X9IpTEM2"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="cJyenuAF" Received: from fout5-smtp.messagingengine.com (fout5-smtp.messagingengine.com [103.168.172.148]) (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 D2A4612C486; Wed, 12 Jun 2024 22:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.148 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718231117; cv=none; b=atPbEX44ulaUMIUkhgEgb1iKT/ugQvK/xd4q2nGK9N7s6TSNf3uYpNCE+P5Sa+wLx5STpKX8hJERYu0fcy07wW5jm+BnXfmjhQekx6Zq8DHxHcpfWZE+bzUdH7HQ2Z/9MaIX1Ik/tIYwNbemCsrv2cstmbTRjis6a+dWlwgZuuM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718231117; c=relaxed/simple; bh=dZdcb35V5sFDGJXrUKYquPsxoYaWO6Wc6vlqHshC2OU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CR8KmKr4lVSnvBhEeg2409SbLzH2BqUSbg+NHKU1actvPifs9vOYn6E5r7YvNFOjSrHjy3u8jcBQe0Tgm9PK5ywScWIysPZVP1elD8iISbGGfhsWVn8LruPHZk0d+sFngdf5A3w9Bj2muqFxaA2xAi9vo8V+FZyepOSkktr3Xwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=the-space.agency; spf=pass smtp.mailfrom=the-space.agency; dkim=pass (2048-bit key) header.d=the-space.agency header.i=@the-space.agency header.b=X9IpTEM2; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=cJyenuAF; arc=none smtp.client-ip=103.168.172.148 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=the-space.agency Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=the-space.agency Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id AD5C61380171; Wed, 12 Jun 2024 18:25:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 12 Jun 2024 18:25:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= the-space.agency; h=cc:cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm2; t=1718231114; x=1718317514; bh=O6LgGsmjjGx/r/VemAsov TvYFktWVkA0a+80L+R5FD4=; b=X9IpTEM2bLNYi5NEtZUPnnBXDdYIIo9sOKdTn xQDkM263Otof1FCyTwGsl7ZrrEhKAuKQllOq8ktSWNxeCAIglf1lJ+VZywWIBndD rBPSQz8MuBEQ9I66hvZPkFT+eXV6MSr1ajF2w4gyhOVjMZX326itYK/uOyYW+wrG nRKsa8EuLD30WzlQiAbxXneE3KEOssIKi0CbWR+E686bqNlMRo3LpxQS90k3kWPR STF0DwnH2DaGJA6E1+AkbW1YOMypza0bN6704qsUGnMTPFhGjLi3rZXLZeppmzss MK18gKV7oGKeV+MKpyz8/ON+vLN8cGe6rzSYlAj3YEI2XIXLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718231114; x= 1718317514; bh=O6LgGsmjjGx/r/VemAsovTvYFktWVkA0a+80L+R5FD4=; b=c JyenuAFf55VnDFGZycNxFnTjqIfRw94YTCnhMHqmbGi5G/tQG7dhxPL/OBM0Y+nG tMVFLCzpQtfua+erSBPUKxAPmaxtNAuIlujciEdEJdsfGG/+i8yrUK0jtQquGSMS cT4InZ79cMRSma4TfUjFuoFr0S+jPYR1HSljJ3tCjdfgyTT5OgSd87oT+a/x7sON 6vURfnwduW8+uhSLoK17OCu99RM/dF3zKW4e1VURUq8Kp60bWBTdGYhk8ldngt7G o/87/YwuS7v8CWkpUKCWqH2gM1y5Vgph/XQgYq1D0pjfUXFIrQtak89y7sNjLPhv 73OQKPgC22rSN8QiayhFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduhedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpehmvges thhhvgdqshhprggtvgdrrghgvghntgihnecuggftrfgrthhtvghrnhepgeegkeelvdeive duiefgffevveekueeigedtheekkeefudeugfduteetveekiedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvsehthhgvqdhsphgrtggvrd grghgvnhgthi X-ME-Proxy: Feedback-ID: i2f914587:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Jun 2024 18:25:12 -0400 (EDT) Message-ID: <57506a95-4667-495d-80c5-d9fa0f6be215@the-space.agency> Date: Thu, 13 Jun 2024 00:25:10 +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 v3 2/2] arm64: dts: rockchip: Add FriendlyElec CM3588 NAS board To: Sebastian Kropatsch , Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Jonas Karlman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240609222428.134977-1-seb-dev@mail.de> <20240609222428.134977-3-seb-dev@mail.de> Content-Language: en-US From: me@the-space.agency In-Reply-To: <20240609222428.134977-3-seb-dev@mail.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10.06.2024 00:20, 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. > To reflect the hardware setup, add device tree sources for the SoM and > the NAS daughter board as separate files. > > Hardware features: > - Rockchip RK3588 SoC > - 4GB/8GB/16GB LPDDR4x RAM > - 64GB eMMC > - MicroSD card slot > - 1x RTL8125B 2.5G Ethernet > - 4x M.2 M-Key with PCIe 3.0 x1 (via bifurcation) for NVMe SSDs > - 2x USB 3.0 (USB 3.1 Gen1) Type-A, 1x USB 2.0 Type-A > - 1x USB 3.0 Type-C with DP AltMode support > - 2x HDMI 2.1 out, 1x HDMI in > - MIPI-CSI Connector, MIPI-DSI Connector > - 40-pin GPIO header > - 4 buttons: power, reset, recovery, MASK, user button > - 3.5mm Headphone out, 2.0mm PH-2A Mic in > - 5V Fan connector, PWM buzzer, IR receiver, RTC battery connector > > PCIe bifurcation is used to handle all four M.2 sockets at PCIe 3.0 x1 > 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 USB2 > 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 > --- > arch/arm64/boot/dts/rockchip/Makefile | 1 + > .../rk3588-friendlyelec-cm3588-nas.dts | 759 ++++++++++++++++++ > .../rockchip/rk3588-friendlyelec-cm3588.dtsi | 655 +++++++++++++++ > 3 files changed, 1415 insertions(+) > create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dts > create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588.dtsi Reviewed-by: Space Meyer Confirmed v3 fixed the usb-c port. I only tested with a single USB 2 device, as I'm not home at the moment and don't have many options to test things here. Cheers, Space