From patchwork Mon Jul 31 10:35:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334284 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82073C001DE for ; Mon, 31 Jul 2023 10:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ll7p53nJBQnBRvyA44QCVHDbESq9DfytAL4XADvXdU8=; b=GwBk0vafz74T/Q sr5j61N9a7RaJdRDyFcolrzwgpjGiNAvXk1cW1b6iaO0dZzj+6/6ftRVfUotYN0+9lLHscUOCRv3O j3jNBpvFKPdJxPamDHl9cPIKR7D24s6gJJpYQNWJpZeg+QB0C/ycejSj4NIIIgSooXNyeyH+dY2CD Ndi/MafZMN/9lYALwwQLZdanbBncixKNox4vFRIVDjie7B8WTjvODFsLZ0K12MKO0IUgo10Dq86IU 6M8XdENJ+V4PewHp1zw4I7O8aRbY44wot79lUiGUlzXOY3OUhSK8UEJOkcwyzTs+IIBBvRytk61ZR 9vE/OfKusMJDLgMk1Pfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGu-00F7go-2r; Mon, 31 Jul 2023 10:37:04 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGG-00F74p-0t for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:25 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-686efb9ee0cso4315361b3a.3 for ; Mon, 31 Jul 2023 03:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799783; x=1691404583; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CGv1dcNKbS3YC7V4kkMD0PxlW/a+2lGKPQQ7EbzshOA=; b=ZlNPo2MnkBjJ1fcgEvxHQ8xYzc9RdvvpNt38jBBOLOCugZgg4mPyrVMF9QbSmAIfkH o3e656XYZA1keutDtrF2nSX6+r750wFI8fPz8KFD6BOoevEF+CXXMuMxbDJJzgIehZsm sWhBrjgYpdmam3seHMBQVg+tIlBXDHfE51Qhe6SPjcBWV8wwTpKitZl5MoZO8V+QqDCm IdigFulA9X2MjCIS9l19OS/tgAGjuDPcJ1n48rn14XSwVHpoyT/7T6RTmj4G5+AIr5yu +Ztvw7oCoVi6ybgXs+q4qjfOvxCfHCa86IDrVB9tf+aeBhL9RM3foQJRDQPLK4iTo2tz ZV9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799783; x=1691404583; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CGv1dcNKbS3YC7V4kkMD0PxlW/a+2lGKPQQ7EbzshOA=; b=irb9xGVfeRO4J6P0FOFQyJvRL0cgAN5qV00/EEKdOGZz0xPbuqrPAuquQXFj+SVQgq EebVNgmOM0FciO+xmqaML86sr7wb6ch1h9jKAAb7qSGgmJJJk23uOCS1DqRSUuBYKho/ mZfpVBbyMr/QYD+ztoBCw1Wj+cs3OG+TI9NgaEP5Md0c0YILYnprdw4I93vFCxl1i2sG HSt/RpT/a0vcnJjk3DgbapUMgoY3s8e7l65gFbTzDBD0g+ewRHJkwgCHfr9INvdnQJrp kuUyeLb8u+nZTOUttKsVfq+ASf5zEXvk+qSN7vWqAHNQWdU6KnJDwsQP3cPz60xK+0fO cbTg== X-Gm-Message-State: ABy/qLY9tcFAKlIBoUYKVs1VM9ntBXonHfPAWIHBsnCD7eNnn8QdGLER yB1uuGQU3ExsqKNCYvB+5tERgMRxirOl7edja/imLA== X-Google-Smtp-Source: APBJJlGlw9ezW8FYGzLUTXIHL6JOHakL4mSK2TtrDVsybBfwL4KRI/X2LLCB4mLm0IfcH530uyBqdw== X-Received: by 2002:a05:6a00:23cf:b0:63a:ea82:b7b7 with SMTP id g15-20020a056a0023cf00b0063aea82b7b7mr12943743pfc.28.1690799783728; Mon, 31 Jul 2023 03:36:23 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:23 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Stephen Chen , Jagan Teki Subject: [PATCH 11/13] ARM: dts: rv1126: Enable SFC for edgeble-neu2 Date: Mon, 31 Jul 2023 16:05:16 +0530 Message-Id: <20230731103518.2906147-12-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033624_326884_31EF7C6B X-CRM114-Status: GOOD ( 11.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Stephen Chen Enable on module SPI Flash present in Edgeble Neu2. Tested-by: Jagan Teki Signed-off-by: Stephen Chen --- .../boot/dts/rockchip/rv1126-edgeble-neu2.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi index e3e5752fd6b7..6bbaf6da6545 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi @@ -301,6 +301,22 @@ &saradc { status = "okay"; }; +&sfc { + pinctrl-names = "default"; + pinctrl-0 = <&fspi_pins>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <1>; + }; +}; + &sdio { bus-width = <4>; cap-sd-highspeed;