Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1925284lqe; Tue, 9 Apr 2024 05:00:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXQFHb3vmbJb8lVLAd7J1MXx6tE4GxfZfcXuhMFl2/whD6m/ZF9HypUs4VaklHH0PUvA1iQv36BGFoeclMKKeWg5As/+1jAUcOOzOpsg== X-Google-Smtp-Source: AGHT+IGJhnRKkyLdtiLCoiJq0MMZZsmTURKU3G9PRWJSu6/6g43K8MZDbma7lsbdK3CuQHAbTrOV X-Received: by 2002:a17:907:94c7:b0:a51:d475:aae3 with SMTP id dn7-20020a17090794c700b00a51d475aae3mr4462774ejc.56.1712664054359; Tue, 09 Apr 2024 05:00:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712664054; cv=pass; d=google.com; s=arc-20160816; b=eC9HCV84fhkM0Nlii4He2klHQD9k39e1XJC4nUI3YyTji7ylqxvmzv7dN9yEzye3qg g0UwxdsjrkavBrE/FuB6TKqM0BclJDvCPrJESdpTwS4NiqtDSK09g69T2r/ByfwShl4X 9nb0y2WSNwDp7wfr3IxDZaS+G0CsL6wuGySeuG7zHKiRUnqoywU591pTYpk902s2skuK v8aEwAb1gAEQSyVJ7yrBKGUbJVe5bmMqgu+AGN9lRvMDkKQJQGWGqatkh1v5rvfn0kTh kOFAi+ny/ngwyIk8yS3ktFnZEiOY7ZWf0MPx5tE51YIQVqijvIQr/6Hr+Uw/oKDp5mwM EqIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=NIASVdZGo9369GGUms2kJg4832I4AKV75tYMTBKsQ6U=; fh=GWA8ymXkokIeKGvWBMNTnllBwA0WIftq2pjSbLvcJ60=; b=ic10080zSJ8jEkYXYjjlFQjXv8WqdAK4+EmPkuugOkHlXD0BjIZt3mFrctbRDg9rAF aiekK5XSoFdlPultcfpQ7AwYac/Pi9+9Ry7j7Hrmnie6W9yqNebB36XeMreyReDHC1hh PLAiUpFz8FOJ/ejRO9MRPcQx6Gr71v8Mpq96sVwPbM/xlRVjFEKbGDLFLaDl2BqVcWd+ eLzGHWgC7RIYR7iahBQYznpKKpIUZfFttFuL9zVR8N++/g1sb9fDDNrEf7BeLUCq9tm5 02q5fhYTvmWr6AqCkOEyVfhW8A9a2vhr6yc5mgAneS7nPsxifYTpQFB+YBU30INRKWbJ Vbww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=jmu.edu.cn dmarc=pass fromdomain=jmu.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-136823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gt7-20020a1709072d8700b00a51b3d98a77si4032217ejc.1004.2024.04.09.05.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 05:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136823-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; arc=pass (i=1 spf=pass spfdomain=jmu.edu.cn dmarc=pass fromdomain=jmu.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-136823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn 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 1C12D1F242C3 for ; Tue, 9 Apr 2024 12:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5127812D20C; Tue, 9 Apr 2024 12:00:34 +0000 (UTC) Received: from mail-m49198.qiye.163.com (mail-m49198.qiye.163.com [45.254.49.198]) (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 57942129E93; Tue, 9 Apr 2024 12:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712664033; cv=none; b=plWUY/uMdhfVL/otakyMxfJddJ3UFDibO1EkMbcAU3zuhm9Mw5w4Awd8Bqk6US81PL6vFUZjnKjBBFesNUB9b/mIxiTEk2Jns6pc372P9sStZjg92k7e+KemJKMriFBRvR3cpZIXwrqcgMZYzhicd1B98U9iNxS03t4DZLhfdHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712664033; c=relaxed/simple; bh=/N5LnswQDIOwLZ0EXDovhttSUbVYl0RtpMGq05Sndbw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=n4hhAAApdI4ZW7AMRyzk2u3TiOaF0Qva+2+ekA5JiO8My7V2hgQeRiQaZuR4P4sbBy9dgKo8L1UssFgYLCqQomV8HdHYEOXsiJzgimSkHbvUV4dywo/+d+HDOQXiACwgNOiCTzReGUjbGBbu1w/OGmSk47MJ+h1ZJQeb6MdZ4es= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn; spf=pass smtp.mailfrom=jmu.edu.cn; arc=none smtp.client-ip=45.254.49.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jmu.edu.cn Received: from amadeus-Vostro-3710.lan (unknown [IPV6:240e:3b3:2c01:8f70:2795:b738:b1bf:b2bc]) by smtp.qiye.163.com (Hmail) with ESMTPA id 412497E0148; Tue, 9 Apr 2024 20:00:11 +0800 (CST) From: Chukun Pan To: Heiko Stuebner Cc: Conor Dooley , Krzysztof Kozlowski , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Chukun Pan Subject: [v2 1/1] arm64: dts: rockchip: enable onboard spi flash for rock-3a Date: Tue, 9 Apr 2024 20:00:03 +0800 Message-Id: <20240409120003.309358-2-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240409120003.309358-1-amadeus@jmu.edu.cn> References: <20240409120003.309358-1-amadeus@jmu.edu.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkaGkkeVktKGh1PQh9CQh0eHlUTARMWGhIXJBQOD1 lXWRgSC1lBWUlPSx5BSBlIQUkYS0pBQx1MS0FJTEJOQRlMSENBGUoZHUEZSRkYWVdZFhoPEhUdFF lBWU9LSFVKSktISkNVSktLVUtZBg++ X-HM-Tid: 0a8ec2bae2dd03a2kunm412497e0148 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Mhw6NRw4NzMNERk#USE3TCkK TwEwCThVSlVKTEpJTU1PS0pKQ0tPVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUlP Sx5BSBlIQUkYS0pBQx1MS0FJTEJOQRlMSENBGUoZHUEZSRkYWVdZCAFZQUlJQkg3Bg++ There is a mx25u12835f spi flash on this board, enable it. [ 2.525805] spi-nor spi4.0: mx25u12835f (16384 Kbytes) Signed-off-by: Chukun Pan --- arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index a5e974ea659e..c62230308457 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -757,6 +757,20 @@ &sdmmc2 { status = "okay"; }; +&sfc { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0x0>; + spi-max-frequency = <104000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <1>; + }; +}; + &tsadc { rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <0>; -- 2.25.1