Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3229129pxj; Mon, 7 Jun 2021 05:46:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4qJLQQhNP0jKGSnXNQrSTBXmfOMWp1/UDd4rZjCMk0Y4aIT0mUAeqr7AKq+JtZmkxT+Gy X-Received: by 2002:a17:906:3109:: with SMTP id 9mr17322601ejx.339.1623069990774; Mon, 07 Jun 2021 05:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623069990; cv=none; d=google.com; s=arc-20160816; b=rRJG8kMzlnAk6l+dpkK69yO80HJTpA6kqROaDeASuOwlbERYaWPVcvJVo/cTSn9yYh DzFc6d1GUiX+G3fHqjxRaOnopaOUViJWD4AtnXba/g0StbImhqgF4UPfsIeZssY1KWfL ikeWEefBr5kVtasNJkCyVTW7bi2IN7XjmnkGUUPAwSzX5ZMyiC0sU4wibeZyoHvyrf1V 2Mv+4PNv02hg7iA6oOy8UGTj/bu0sjqw9ZxHm5L4DAvfnS/PyRRXXynMPP0ecGmvCSkD sdW1vkUCBLGac7C9Egl3uBJSs0JckK3jvom0KtEIY4sJusjUASVf/qiOHyhtdqGE8w5m 08Lw== 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=09UShB+leqZA1XxUV3tiTROzrP5LP9r9YKNdbN/5ngI=; b=qKxkAxYfRjSJbiebXE7lAlG8at3RG/H/46zpHNQShszI+6luu0ioWi3ItP3TTWQNBE VFRCC/VVrp1BDWFqCt5qYH+ZeQT/3MO7+sTXjx8qlEO5BhaJr4nbL3AWwh8QT86xEtid D2oLr6bDZMEu+f7FoJSKtGrQ5183V8J0HJxHocwxPFXGPojFF42wuQuVzPMlkMzgqUMo LQIYR7N/ujx4Iud4GfKPYFTbpzwcF4QoC6VDQ1i2MlhRuhpboJ10JS+a+RUG4q+rEXe0 a7/msySU6+XUgHlTOeA5YAGegM56ySMjQk5lc9gxTVwfoTa9wnOJr/YaroQk2jKA4BIC GcAg== 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 b20si9698213ejq.607.2021.06.07.05.46.08; Mon, 07 Jun 2021 05:46:30 -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 S231197AbhFGMqh (ORCPT + 99 others); Mon, 7 Jun 2021 08:46:37 -0400 Received: from lucky1.263xmail.com ([211.157.147.135]:60350 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbhFGMqg (ORCPT ); Mon, 7 Jun 2021 08:46:36 -0400 Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id 1586AACD0E; Mon, 7 Jun 2021 20:44:42 +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 P32529T140357062862592S1623069879715065_; Mon, 07 Jun 2021 20:44:43 +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 v5 6/8] arm: dts: rockchip: Add SFC to RV1108 Date: Mon, 7 Jun 2021 20:44:35 +0800 Message-Id: <20210607124437.4143-2-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210607124437.4143-1-jon.lin@rock-chips.com> References: <20210607124303.22393-1-jon.lin@rock-chips.com> <20210607124437.4143-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 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..c0d95e13add4 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 = "ahb", "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