Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp933973pxv; Fri, 25 Jun 2021 01:29:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywTtvit2o1OMhzYIyTDe8jNniHbc1doopmCWkdVKdr8NM3xj1UsRpyp29VCB86Gk7RJQrl X-Received: by 2002:a5d:80cf:: with SMTP id h15mr7649186ior.30.1624609758600; Fri, 25 Jun 2021 01:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624609758; cv=none; d=google.com; s=arc-20160816; b=AHFnGPGHN/fx+XqcXNXoKvoL9c+MUAUb9j9mB2T0af9C3fIH6OVqfvHUq73wFShfTN HhwkSn0EJsj921TYPxuOAq+0+iwKNx2qSJRouxfe/t3AOwQleQkVg5sIUxJjBO4PM6Ux 1P8FSkS6NAcoa4CHS6uZIOpVSeLl8JExSR22qMhKUFENjBHKi3F6tx2mVnpvw7TjdtEA nztIzQjrBpzyqYoB8lVNJd4r8wGnNBm5W9qsaSlm9lIN+VLkk5H2aoaQNBHZKVDa3vFo o43LWYoCevz0L5kPEPbhBFAdQU4nYvG+WAZNFCc61KsgNijy0ClZ+dRNkl+dhMAZZM5A qkOw== 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=yvpWb9gzSupsS7uRFuajwFXMcTynfFah84+VRYk8OXs=; b=GQWX7alfhLdUmhrHqYTtLiZxYSPhtfWhw1L+sb+UcsJ7P83lfQBM24bxsln46Glgr3 RYHAqZ7vK0H0+YeY+qWAftf7qlgZAXbDhvrkMq2h0fzFuze7EFlOBf1tCMsBd0Re8tdS wYx91xn5a+tLz9LjTzd2NIM2DIl81H5EQQPIqGuGGj8ENeIv4rVvrLwpMM5/8Y4PqdSQ jXu538kjIni/aU7mY1TOSGX8Ae2+mXoGo/Mh89pTRxKomHo2Wme/UpxhDOiTcdr6s16y wswDDpezBjfnEIWQN2AFT+oLuI6k43OzwLKqaGF0l9wXS4hmv7pzSXrXlJ/RlrxITfFv 5tpg== 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 x17si5072022iow.76.2021.06.25.01.29.07; Fri, 25 Jun 2021 01:29:18 -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 S231139AbhFYIaP (ORCPT + 99 others); Fri, 25 Jun 2021 04:30:15 -0400 Received: from lucky1.263xmail.com ([211.157.147.132]:56702 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230496AbhFYIaL (ORCPT ); Fri, 25 Jun 2021 04:30:11 -0400 Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id C6F83FB1CE; Fri, 25 Jun 2021 16:27:48 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P12363T139709684631296S1624609657045376_; Fri, 25 Jun 2021 16:27:49 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <30e6dfc1088ab16369971c13f59799f2> 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: [RFC PATCH v9 08/10] arm: dts: rockchip: Add SFC to RV1108 Date: Fri, 25 Jun 2021 16:27:33 +0800 Message-Id: <20210625082735.562-4-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210625082735.562-1-jon.lin@rock-chips.com> References: <20210625082639.32688-1-jon.lin@rock-chips.com> <20210625082735.562-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 RV1108 SOC. Signed-off-by: Chris Morgan Signed-off-by: Jon Lin --- Changes in v9: None Changes in v8: None 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/arm/boot/dts/rv1108.dtsi | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 884872ca5207..6d4f289aff53 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -536,6 +536,17 @@ status = "disabled"; }; + sfc: spi@301c0000 { + compatible = "rockchip,sfc"; + reg = <0x301c0000 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"; + }; + gmac: eth@30200000 { compatible = "rockchip,rv1108-gmac"; reg = <0x30200000 0x10000>; @@ -704,6 +715,32 @@ }; }; + sfc { + sfc_bus4: sfc-bus4 { + rockchip,pins = + <2 RK_PA0 3 &pcfg_pull_none>, + <2 RK_PA1 3 &pcfg_pull_none>, + <2 RK_PA2 3 &pcfg_pull_none>, + <2 RK_PA3 3 &pcfg_pull_none>; + }; + + sfc_bus2: sfc-bus2 { + rockchip,pins = + <2 RK_PA0 3 &pcfg_pull_none>, + <2 RK_PA1 3 &pcfg_pull_none>; + }; + + sfc_cs0: sfc-cs0 { + rockchip,pins = + <2 RK_PB4 3 &pcfg_pull_none>; + }; + + sfc_clk: sfc-clk { + rockchip,pins = + <2 RK_PB7 2 &pcfg_pull_none>; + }; + }; + gmac { rmii_pins: rmii-pins { rockchip,pins = <1 RK_PC5 2 &pcfg_pull_none>, -- 2.17.1