Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp446283lqr; Wed, 5 Jun 2024 10:22:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZRWP9CsUJJLzZKXhWnHM4qJaoibvT6O/SHW4s33iQWKFMBNzm/HtC3nnsp3dKxfVsLjchJ62IVNmY4/z/y1NYQhlrgtYjf/F56JMzrw== X-Google-Smtp-Source: AGHT+IGU09iC/ysn+lUp4UQsyok+YNt+3txIUuNF9mZF8P/KadjXgKfAWlN08pWfHAJnJwed03+R X-Received: by 2002:ae9:e40e:0:b0:794:c63e:385f with SMTP id af79cd13be357-79523c2393emr359431885a.12.1717608167176; Wed, 05 Jun 2024 10:22:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717608167; cv=pass; d=google.com; s=arc-20160816; b=vJOHAdAYVmHlQdo5ll+HLYS/+wZ5mWes5owwAj+kVrPg8rjPR2RZCR20tNCJUQqal4 YLQBAbAfwiH2jg+dshIhQ3Ah04nCk35msRI8vBlSvK7MBwlUk7fnvlGJuOMt6JnlRrXv UmdN7iYuVGyJrxGbqudi7nSamsWn9FXU2ESAUfvxuQy07rrLF1CSW3aDp/jfOAwDq3yP SresoKBWBX2xNpAbcZ7Xgbw10iDN1Adpj7RpxiKwheqHUHMoDE2PfgPS1YBecwwJf9TW MDZ0UnK19VpbuC10MFseij5lkPkiIuqtxfhBKyhQ9ohfjouFf/F2x0kXzxfIFSFXeiFa bqYg== 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:dkim-signature; bh=nSnrzfQSI7FFWe4M7p38YadUmYRLzv+fLcrRvYhlfvQ=; fh=i5j+ujeouBHzvxtkt3EoPxEfaKWXv6WMI3zelJjbeAI=; b=UAHIP75jvPbmO57mUkIVFm6FeNAvrYyVWHXpbeYFH0PAeJRiFgockBU4f0uqDVzzqB tsKHaTrP3TBqYKqLhmhfghOL/JeJSvYY8nxtc7Zkud6jGrEU8vNs7AoepEfM7w+Yhyc+ goZQUdwM+SWVXlWNC6VBKEFH0kBEIhblY87YLB+OTH9bBZshnI0ec1PQdFUeDZOCjpW1 fglPBTf1RiXvJPEcwN6BBLDqyfjZ4l193EqoCsBcOwPEmiYzr9C1slAonZ31CD11jXKx KDSz2FsMmIJIOWnYfFIoI+DCwq4PNoNeeCLTjVQpCLjET8Lpcy6NnrltwazJmc4TzPMn UebQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jIdQGSDb; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-202973-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-7951dc1e131si357095785a.341.2024.06.05.10.22.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:22:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202973-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jIdQGSDb; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-202973-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B22091C24ADB for ; Wed, 5 Jun 2024 17:22:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50772188CC7; Wed, 5 Jun 2024 17:22:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jIdQGSDb" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11BC213A269; Wed, 5 Jun 2024 17:21:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717608121; cv=none; b=M+eZKpuGvz4wtbvBjJoqByQAdA6iD2090SEpFKuzhuwRFK7i361g+nm19tJDrsXJ7tuEevXlo6rdQzAv+1m2+aCrRkVAWSuuV33uqSDcgd6G17qEun0Y/WzMXaqAyVnrQSLb+hVd700au1+eHZzxeLfyFu/saGs+pj57eBsre+c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717608121; c=relaxed/simple; bh=AQXObQDUzMQES1hvJtdiEAsAUh5MhWHJcqhhTYjm7jg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ccCsn9SF0GQrVtAsxR93MH//ySPBAD7Qmxh/0+fDQc75t3KCgNragulr2yzwkLikSZ08eEhovOyVHkooJvp6yYRDwpbE8cp4bVHeGRXbynFbichCvepqLBHSRjGujSLLJnZQj8nLnx2UHOeHxzDPRO7I7XwpZ369Ri/u3Cj/SuM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jIdQGSDb; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-52b976b5d22so153109e87.1; Wed, 05 Jun 2024 10:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717608118; x=1718212918; darn=vger.kernel.org; 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=nSnrzfQSI7FFWe4M7p38YadUmYRLzv+fLcrRvYhlfvQ=; b=jIdQGSDby5xwTz8c+pypQyTFaA17tdXDxp9BtaNA/+lTB6lw2NhtjfT1LtSAvDUis4 Olw3M1Hl8iSH/xJ8JLst0v6ypUKz1oxL4NZyDzO4mwafsjZmsdUeZF38L5EXPOkyXjr3 cgnXQ8BSTUCjMcC283rHCT0Dj51xvfm4Z4wIFkVYNSO0S4SqpqhbgsAAC85mQ0iAVroL JkYc5PoWmmQeJh8cobfNPYX9Udb0Nymig4a1a8yplrhxeugFHelVRej9+n0raWC+kRI3 ScRI9zZOcNqyQ0l3wtYEDTU2Lovvcbyfrw8J2EklQ6MkJShbf4c7L58XErvNNOUF/xg/ DskA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717608118; x=1718212918; 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=nSnrzfQSI7FFWe4M7p38YadUmYRLzv+fLcrRvYhlfvQ=; b=Av/X0hT1xLhmexxJXmm39UwvP9rrDniw/5mBmF+POVqyHfTyI9BhyAl+ziGyLiXD2A 7bohZX01tSXQbRzU8vXYjmPrkh2tPNiQGBe/WS/gPbW8dC1cTnar0w84xp/Qw7zXytDe IgcIAUMweyTA6WRsXlmMxYbCnrQC1YkrDcNA18VLD7XVrtoiDOz0zFgBGHuOepTaXbRI Jcz/OhWR7QQr6hXtCJ4kKsUGEUP+ZjWLJpO/vuWYpVe/X9VmcvG07qrTHD0z7S8fDLbD YZlrHrLaDrBjpwaP52L3/8prqv6iA5FvajUEl+BWjH5OVxx675p0baiyAUDaQoWdCgO6 2/Lw== X-Forwarded-Encrypted: i=1; AJvYcCXn7pzpFdEC7RanZlpMNUlp2hf7ly/5Ky6Nw2+mxfEzX9US6nwpsrO7ZG2/PUi1Xm5fnBj3NkVwpihGBGOrmEIw9aFsYjUFoWfJ//+6TzQYyJM5fVP4mamcWp7Zw7C9PLO+5n0Krsp9BHGzLqeN78QncaUZ/7sm81vgEeNrr/PFpLeKng== X-Gm-Message-State: AOJu0YzhWpkpmsy/islgpf+d8eTEUvtW7J5ZFu3JTNEi3i7D2EueNgHb yDBjaQcRb0aWnXGmIZegjzUsceI7xALWGECLK2wLP+AX2xlodrBZQytk X-Received: by 2002:a05:6512:5d3:b0:52b:51f9:a37d with SMTP id 2adb3069b0e04-52bab5084b1mr1671148e87.56.1717608118030; Wed, 05 Jun 2024 10:21:58 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:34f:df25:1c86:f2e7]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31c6d594sm9666663a12.69.2024.06.05.10.21.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:21:57 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Alex Bee Subject: [PATCH 3/3] ARM: dts: rockchip: Add SFC for RK3128 Date: Wed, 5 Jun 2024 19:21:54 +0200 Message-ID: <20240605172154.193047-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240605172154.193047-1-knaerzche@gmail.com> References: <20240605172154.193047-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the Serial Flash Controller and it's pincontrols. Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index a7ab0904564f..22e2a35dedb1 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -399,6 +399,15 @@ usb_host_ohci: usb@101e0000 { status = "disabled"; }; + sfc: spi@1020c000 { + compatible = "rockchip,sfc"; + reg = <0x1020c000 0x8000>; + interrupts = ; + clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>; + clock-names = "clk_sfc", "hclk_sfc"; + status = "disabled"; + }; + sdmmc: mmc@10214000 { compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; reg = <0x10214000 0x4000>; @@ -1155,6 +1164,32 @@ sdmmc_bus4: sdmmc-bus4 { }; }; + sfc { + sfc_bus2: sfc-bus2 { + rockchip,pins = <1 RK_PD0 3 &pcfg_pull_default>, + <1 RK_PD1 3 &pcfg_pull_default>; + }; + + sfc_bus4: sfc-bus4 { + rockchip,pins = <1 RK_PD0 3 &pcfg_pull_default>, + <1 RK_PD1 3 &pcfg_pull_default>, + <1 RK_PD2 3 &pcfg_pull_default>, + <1 RK_PD3 3 &pcfg_pull_default>; + }; + + sfc_clk: sfc-clk { + rockchip,pins = <2 RK_PA4 3 &pcfg_pull_none>; + }; + + sfc_cs0: sfc-cs0 { + rockchip,pins = <2 RK_PA2 3 &pcfg_pull_default>; + }; + + sfc_cs1: sfc-cs1 { + rockchip,pins = <2 RK_PA3 3 &pcfg_pull_default>; + }; + }; + spdif { spdif_tx: spdif-tx { rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>; -- 2.45.2