Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5076039pxj; Wed, 9 Jun 2021 08:36:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylkSLsmAOAlYlNFu3ecSg4k7enhxaIrgk/Nr9mmTEUHNuL5wwTt3CF68OAwa3z5bzPsWOK X-Received: by 2002:a05:6402:1590:: with SMTP id c16mr49304edv.7.1623253013753; Wed, 09 Jun 2021 08:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623253013; cv=none; d=google.com; s=arc-20160816; b=GZ2A8dIcZ38sOFLFvor38ZXKcG1WkRRx9hI44X3cMLh9nUADB6DdLFH7jbv2+mZf7m jzUyO7y0WXMMeYloFsbBbE1VeiwCJampNrc9ydck9asSpA9O4qa2pLOx3NibUo6wnYxs 2jrbUPvWQg83WKFs3Sc6tN4kDvHJPofVucVjKqnWquhIHfQd4tG5R2xEkJ/dvp+Nxs0t 245lYvHUxdN6IXFlR/HrYdz53K4fyfwMMvh85bVSJCUU+y6tsx3q7+RRldJPpfjsJCLi Wlw5vzwd9tKaNoGK60f/Hke+wp7srBAUh7QhTKDqydTjBOPlzc0Bs6tD6s9OYiL64kvv TwYw== 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=Um1+myVmgwb6Q+ms1StqrFKBEex/hc9mTzpPHEmpQ0o=; b=V6bAn+0Lj7o5t3tf+d7HBI2jn8VRoDG0iCDG82bM7Nkyyykq4ge/nRDkNPvZwR01zn Y6RBAU+fu4bUFbsCitzaEt7kjnt96oZNCV4QlWw2U2DugNsmvf/yfbUq3eTV8mCHuDrm O93j3aBsvZ+UVFlTWvXE+UlkbEONT6/8U3nYMjB458Dt+ND996lxZtlrfNQD8C99oMf2 sL7Z2tl+aY895LXtsyauYFFSLCp3fdG2Yi9+ZN5qrhSv078FL2Daew7qb+wKc5YdrE6k ymar5XLchWfYRm2Rp6MeAmq89droWZW+RZhNXnBGd0TcfK6lnaHIlUqkf7UsOyXhZmsN MVNQ== 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 gy3si130250ejb.557.2021.06.09.08.36.29; Wed, 09 Jun 2021 08:36:53 -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 S237636AbhFIOQA (ORCPT + 99 others); Wed, 9 Jun 2021 10:16:00 -0400 Received: from lucky1.263xmail.com ([211.157.147.133]:53904 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234336AbhFIOP7 (ORCPT ); Wed, 9 Jun 2021 10:15:59 -0400 Received: from localhost (unknown [192.168.167.235]) by lucky1.263xmail.com (Postfix) with ESMTP id 65DCBCD592; Wed, 9 Jun 2021 22:14:01 +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:01 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: 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 7/9] arm: dts: rockchip: Add SFC to RV1108 Date: Wed, 9 Jun 2021 22:13:46 +0800 Message-Id: <20210609141348.19178-3-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 RV1108 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/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