Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5075517pxj; Wed, 9 Jun 2021 08:36:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgkLtS/9ljwweXD8xVGy/MsG9yf4vIK/ehM5yaseKZYK6lyAg0NACN3UBnbYUgjaRH374S X-Received: by 2002:aa7:c584:: with SMTP id g4mr17018edq.335.1623252968725; Wed, 09 Jun 2021 08:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623252968; cv=none; d=google.com; s=arc-20160816; b=LFCLlPxic4sGE6kJS3uPpt46jYSVsyQYHpYT/e9zVEQoTnro0G545R1rMHsrUOSk8K Lgv4x85Ta+OGNEbxjNasPPaI1nt+cmeDncrzqkGbfwByaRv/lhSfTmMoQuVPhrZmZZ+D lYuvF8HljruhVmcMwUXMksXkX/gJaENFKdlhLbZedfJaDQQZVe0PXzoWOf6iqFNPLSIR WAbmFtRI81gK82XtnFRdirqwE2mN8TP0Z6Ez+HFBhw+MRudwm8s7qqRwzz3EkkxzkQJh LkTrdBXfTQynHo9JfL//k47gj0yYMEd/4Kzmn5IAsC/Bd3CW88RIX0llaBzp/E1iq5LV pE3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=MnxscNrruOaeF8ze11gGqajHZnHaTfzvBNeUz4RLx+A=; b=hAHuxFLNdoxmWIHzQL2B3Dm5bk5sEk4ZeVMO7wrQ1gB600nAKs+GwCGxltToYleaxG hzl2iYj3LLubF1h1N4WRh8rJhWGwOTGFdJ2b6qtUc+dXjQjPFvAgG6A7KfQlh2ilMO/j bNm7j1KGjIQkHRhtrsU45GA0BuYNKQ5eqgNTnZGqlhuxic7DG3zmFFs/L+yg1e96dtNV 2tu8S9RnjaJI0lNdysoKoDj50OP9+Yh/ziin6gkMvLODFLTXvMnSVryG5SoFOAIApYxL nrQIRlWy6kkj9xbnkMkr8bV/6AyU6Oi5b9trXbZhpntdw3oN0Xa6Et6+kqAQ/swmambE ORow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df14si72481edb.108.2021.06.09.08.35.45; Wed, 09 Jun 2021 08:36:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237656AbhFIOQD (ORCPT + 99 others); Wed, 9 Jun 2021 10:16:03 -0400 Received: from lucky1.263xmail.com ([211.157.147.134]:35458 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237545AbhFIOQC (ORCPT ); Wed, 9 Jun 2021 10:16:02 -0400 Received: from localhost (unknown [192.168.167.235]) by lucky1.263xmail.com (Postfix) with ESMTP id 23C09C81A5; Wed, 9 Jun 2021 22:14:02 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P31748T140095021577984S1623248030099962_; Wed, 09 Jun 2021 22:14:03 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <5651dec64cfa039366d22cf162226f94> X-RL-SENDER: jon.lin@rock-chips.com X-SENDER: jon.lin@rock-chips.com X-LOGIN-NAME: jon.lin@rock-chips.com X-FST-TO: linux-spi@vger.kernel.org X-RCPT-COUNT: 20 X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 From: Jon Lin To: linux-spi@vger.kernel.org Cc: jon.lin@rock-chips.com, broonie@kernel.org, robh+dt@kernel.org, heiko@sntech.de, jbx6244@gmail.com, hjc@rock-chips.com, yifeng.zhao@rock-chips.com, sugar.zhang@rock-chips.com, linux-rockchip@lists.infradead.org, linux-mtd@lists.infradead.org, p.yadav@ti.com, macroalpha82@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, Chris Morgan Subject: [PATCH v7 8/9] arm64: dts: rockchip: Add SFC to RK3308 Date: Wed, 9 Jun 2021 22:13:47 +0800 Message-Id: <20210609141348.19178-4-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210609141348.19178-1-jon.lin@rock-chips.com> References: <20210609140412.16058-1-jon.lin@rock-chips.com> <20210609141348.19178-1-jon.lin@rock-chips.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chris Morgan Add a devicetree entry for the Rockchip SFC for the RK3308 SOC. Signed-off-by: Chris Morgan Signed-off-by: Jon Lin --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None arch/arm64/boot/dts/rockchip/rk3308.dtsi | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi index 0c5fa9801e6f..cb8d96235986 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi @@ -637,6 +637,17 @@ status = "disabled"; }; + sfc: spi@ff4c0000 { + compatible = "rockchip,sfc"; + reg = <0x0 0xff4c0000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>; + clock-names = "clk_sfc", "hclk_sfc"; + pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>; + pinctrl-names = "default"; + status = "disabled"; + }; + cru: clock-controller@ff500000 { compatible = "rockchip,rk3308-cru"; reg = <0x0 0xff500000 0x0 0x1000>; @@ -910,6 +921,32 @@ }; }; + sfc { + sfc_bus4: sfc-bus4 { + rockchip,pins = + <3 RK_PA0 3 &pcfg_pull_none>, + <3 RK_PA1 3 &pcfg_pull_none>, + <3 RK_PA2 3 &pcfg_pull_none>, + <3 RK_PA3 3 &pcfg_pull_none>; + }; + + sfc_bus2: sfc-bus2 { + rockchip,pins = + <3 RK_PA0 3 &pcfg_pull_none>, + <3 RK_PA1 3 &pcfg_pull_none>; + }; + + sfc_cs0: sfc-cs0 { + rockchip,pins = + <3 RK_PA4 3 &pcfg_pull_none>; + }; + + sfc_clk: sfc-clk { + rockchip,pins = + <3 RK_PA5 3 &pcfg_pull_none>; + }; + }; + gmac { rmii_pins: rmii-pins { rockchip,pins = -- 2.17.1