Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp933441pxv; Fri, 25 Jun 2021 01:28:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYhG2/FRGSQnyBQN/Z4JOrI+uCfAPCf89rqBcGaLgEIAAj7CldMToPg5bHg8MQH7SiRQlh X-Received: by 2002:a02:c6d9:: with SMTP id r25mr8388167jan.137.1624609707284; Fri, 25 Jun 2021 01:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624609707; cv=none; d=google.com; s=arc-20160816; b=MCRLGxZ6jrBs7mbyppo8L4xcBd7c5zY5wGBVqoJjbUnycI5YXXgAD552lMRunBD8w1 o9BMxysab2pG1C/79eVAe8uXigqXWJQnVZQG0L0I/QHJYF1/iizefysTb87IQ7Z8o4dI TjFN41yWqFKjvXMkO5kt4T0hytbiyXEW5emxvBXONdfBdTvBYdpnj0CwDkXvcxv+R1DD 2RfIjH11Mws5rzNNTd6Pz4cp0uqmp58gUtOZ7Ug2aaa/+8fkUUKSgneOtFGz3WA1NJti 08QD0ROEfJCI0UVMk7LAfsD8if0Sd4SJAaSC+r2Dy8tjYW1X9/ZiS0wS5IOEispUIm6A e5Tw== 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=P6ISHOD7TfaWg495EF2pan5mnInm0bqaFIzy2JpI8/o=; b=htD7/1FwJKUG4nHRDunSfwuUrM7aQDBryksn86U1xuDCOfkKu0fnT00/yzBTwf0fjE gBVtAyonVcDhbq6aicpHXRSm+/k2yWISSD3wDR0R+ao94rXMaGTJLUQTF2otPB/G5NHr bUtSei105pEJqs72m9cYlMpXKwLUZ10N59NzgrT8cNqjOpoexcCNq2OZ8GwaOWjArgvo PJjYlEdvRO7sy2g3lMI383FeDaAu+ywJHOQgbjzBYo3aBva8KCv+sIHK1sxKWm4MPBbv 3K4s9UU0iwfK8Ic9eut0Ve/Raiht0pjGt6haODMUdvJ7/9tJ7yfQAaeCZKtVnVYlibpj BS5A== 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 i13si6437820ilm.156.2021.06.25.01.28.15; Fri, 25 Jun 2021 01:28:27 -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 S230452AbhFYI3k (ORCPT + 99 others); Fri, 25 Jun 2021 04:29:40 -0400 Received: from lucky1.263xmail.com ([211.157.147.134]:57976 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbhFYI3d (ORCPT ); Fri, 25 Jun 2021 04:29:33 -0400 Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id 43C1ACF1B1; Fri, 25 Jun 2021 16:27:11 +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 P12363T139709984536320S1624609601822117_; Fri, 25 Jun 2021 16:27:07 +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: [RFC PATCH v9 03/10] arm64: dts: rockchip: Add SFC to PX30 Date: Fri, 25 Jun 2021 16:26:32 +0800 Message-Id: <20210625082639.32688-4-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210625082639.32688-1-jon.lin@rock-chips.com> References: <20210625082639.32688-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 PX30 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/arm64/boot/dts/rockchip/px30.dtsi | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 09baa8a167ce..d854f2577067 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -966,6 +966,18 @@ status = "disabled"; }; + sfc: spi@ff3a0000 { + compatible = "rockchip,sfc"; + reg = <0x0 0xff3a0000 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"; + power-domains = <&power PX30_PD_MMC_NAND>; + status = "disabled"; + }; + nfc: nand-controller@ff3b0000 { compatible = "rockchip,px30-nfc"; reg = <0x0 0xff3b0000 0x0 0x4000>; @@ -1967,6 +1979,32 @@ }; }; + sfc { + sfc_bus4: sfc-bus4 { + rockchip,pins = + <1 RK_PA0 3 &pcfg_pull_none>, + <1 RK_PA1 3 &pcfg_pull_none>, + <1 RK_PA2 3 &pcfg_pull_none>, + <1 RK_PA3 3 &pcfg_pull_none>; + }; + + sfc_bus2: sfc-bus2 { + rockchip,pins = + <1 RK_PA0 3 &pcfg_pull_none>, + <1 RK_PA1 3 &pcfg_pull_none>; + }; + + sfc_cs0: sfc-cs0 { + rockchip,pins = + <1 RK_PA4 3 &pcfg_pull_none>; + }; + + sfc_clk: sfc-clk { + rockchip,pins = + <1 RK_PB1 3 &pcfg_pull_none>; + }; + }; + lcdc { lcdc_rgb_dclk_pin: lcdc-rgb-dclk-pin { rockchip,pins = -- 2.17.1