Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3735780pxj; Mon, 7 Jun 2021 19:35:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpvzjxWNRekfVAKhTjHs3d3iWIE0ENEfupWp2XHM7TU6awzocHsc/Pv3WshpfbBewo6X3D X-Received: by 2002:a17:906:128e:: with SMTP id k14mr20845424ejb.485.1623119740623; Mon, 07 Jun 2021 19:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623119740; cv=none; d=google.com; s=arc-20160816; b=ooEFX/CmlFtDSKi3ST7WpzoJeM2Hw+zP3Lfv4vUpuHIuoVD0e+8l7GkYJ4HSA3flc/ pVxiBtZ+ruUDTs4p9583FJz0OoDg68AVKmWyBEhdUsMdLc+Cl/+03yUyRJbwYt6J77XP 0oC7i9TP4s80U3DraXKiHuu5jGQVJvE/6uE0RvVrHuyn5mLkVycQhUBcyAzBZf4n5Uyx wGhjyhhATi5hvY6U4Hh820UEkT2U1g34ALwNoHfNqQQCYj574N8M6oZKQ5PEbbiN1Yht ft0nfptxWWgn8t9D2nhOjYLafITv5OHH2wQUYwEJbFvxn9XGRNI9t0wSL1UeiTwbwi4j ax1A== 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=fcKKF3JSC2N5U2wgws3MM7Jx+onSb0N4cD2mJfFfIyw=; b=ekUE4jMXC7t0x/hsBt5wKEhZ2+78NQkXypbJC3VSaE4Cuat8jy3WvJQgNQBqdsoODU 5VeDyHFUmwTdTB9ZJKjkDFbSlE4OeujQBBlvVyR76MzoxXwUvXS/qELIC1bHkUEEXj9A m9dIAf+UX31GiqjystzJ73Cshz9gFMX9+qL1CLrcj3gFB/gTOrpxDiVpC3zpxstgjnxi x1O2cDZJj1AXh4NxGh4ysim6F8WgfS35l6Ga+PKqhtrfQIeVGyKxi+2wKJDlreKwnIdu HurYPxXJf9gmS9Q07endDq9XpAoIz7gsIwjdKuJpQNBAOcMmeNUHT3v116Pr7VGLtIRG kayg== 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 m20si13742579ejl.598.2021.06.07.19.35.17; Mon, 07 Jun 2021 19:35:40 -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 S230434AbhFHCfE (ORCPT + 99 others); Mon, 7 Jun 2021 22:35:04 -0400 Received: from lucky1.263xmail.com ([211.157.147.134]:49210 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230266AbhFHCfE (ORCPT ); Mon, 7 Jun 2021 22:35:04 -0400 Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id 9FA97C8431; Tue, 8 Jun 2021 10:33:10 +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 P32529T140357266978560S1623119587131429_; Tue, 08 Jun 2021 10:33:10 +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: 17 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, Chris Morgan Subject: [PATCH v6 6/8] arm: dts: rockchip: Add SFC to RV1108 Date: Tue, 8 Jun 2021 10:33:03 +0800 Message-Id: <20210608023305.25371-2-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210608023305.25371-1-jon.lin@rock-chips.com> References: <20210608022644.21074-1-jon.lin@rock-chips.com> <20210608023305.25371-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 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..c2b6adabb263 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,rv1108-sfc", "rockchip,rk3036-sfc"; + reg = <0x301c0000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_SFC>, <&cru SCLK_SFC>; + clock-names = "hclk_sfc", "clk_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 @@ }; }; + serial_flash { + 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