Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1138463pxb; Fri, 20 Nov 2020 02:02:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwB5s8MZQs81mJDuPCjIh8vnwU9JrAMKpCLelX7+9rtaySc42tZXZKZA7xqOvxegoE1qujY X-Received: by 2002:a17:906:614:: with SMTP id s20mr20050929ejb.202.1605866529189; Fri, 20 Nov 2020 02:02:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605866529; cv=none; d=google.com; s=arc-20160816; b=g2vgdux9SJ4tb41JduvZ614p27g7zNuUal9f9sQTkhGGL9LJflrX8ItlIblo534FQF ZC2pwfPKyCPRcLLKtUWUfPpKgnZ4FE7/WowpzkvdLDp8CMCFp7nJyAETOd51l6q0QYDV /hiHjyganK9TPzmQbA6VrWiweSpRRiNQWrn2FDmNip62e3ZSjoVW5BI5F9Tv7rJdgVlk RkH2vc2lQAhkq6DC5+v/dEKG0WpVKaDDznBGnymJS/z5hFPelfia6ipF2wdyo8CW0s7N GIXHMPO39z/aCczIk10bhhDPMXIdC73XA6/YkLWXP+ZM0gVixgmm9y0/srZgIUXOU/Ae yweA== 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=YpoG7KJrTDwx/bGUTaUK7VTcPEeTasY3XCZZ+k9JvPg=; b=MBXMXcwoH4feE77oyldtcDYz2GPxFrD5mFqmuZeCK58YPbuk2DHPIrA1O+F/CKelzY MJ6UqH5BTeUPLlyDsgdJrxmP8TicXeK9zcAtmZNdbd99zcRn7K8X5NQh6fyo5whqJ6Gd alkc3iS8Lx1e4oUQ4SQR3ZyxOjw6O1RG51MZBCxXdO3kkcQnQRtfxRIZpwtt/zS7l4br PRwQq/rrH7sgoLig0Lpd4qLxlM/ooRXITYM4e1Qe6ltmyk4/J6wK/9mehBNt8UU5NTp2 Pl/7oNrdUHNOfPMu3o9oHmrybACFenVxpX0hHW+D6FrDONi0kqMga+uu+wqQjjnZ/TzU H96A== 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 da17si153768edb.91.2020.11.20.02.01.46; Fri, 20 Nov 2020 02:02:09 -0800 (PST) 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 S1727825AbgKTJ5E (ORCPT + 99 others); Fri, 20 Nov 2020 04:57:04 -0500 Received: from lucky1.263xmail.com ([211.157.147.134]:58276 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbgKTJ5B (ORCPT ); Fri, 20 Nov 2020 04:57:01 -0500 Received: from localhost (unknown [192.168.167.13]) by lucky1.263xmail.com (Postfix) with ESMTP id 4ECEDC565E; Fri, 20 Nov 2020 17:56:57 +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 P9243T140659012777728S1605866211174957_; Fri, 20 Nov 2020 17:56:58 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <611d135c8c45277f31817273c68d3150> X-RL-SENDER: yifeng.zhao@rock-chips.com X-SENDER: zyf@rock-chips.com X-LOGIN-NAME: yifeng.zhao@rock-chips.com X-FST-TO: miquel.raynal@bootlin.com X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 X-System-Flag: 0 From: Yifeng Zhao To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, heiko@sntech.de, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yifeng Zhao Subject: [PATCH v14 8/8] arm: dts: rockchip: Add NFC node for RK3036 SoC Date: Fri, 20 Nov 2020 17:56:49 +0800 Message-Id: <20201120095649.20226-4-yifeng.zhao@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201120095649.20226-1-yifeng.zhao@rock-chips.com> References: <20201120095613.20172-1-yifeng.zhao@rock-chips.com> <20201120095649.20226-1-yifeng.zhao@rock-chips.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add NAND FLASH Controller(NFC) node for RK3036 SoC. Signed-off-by: Yifeng Zhao --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None 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 arch/arm/boot/dts/rk3036.dtsi | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index 093567022386..dda5a1f79aca 100644 --- a/arch/arm/boot/dts/rk3036.dtsi +++ b/arch/arm/boot/dts/rk3036.dtsi @@ -292,6 +292,21 @@ status = "disabled"; }; + nfc: nand-controller@10500000 { + compatible = "rockchip,rk3036-nfc", + "rockchip,rk2928-nfc"; + reg = <0x10500000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; + clock-names = "ahb", "nfc"; + assigned-clocks = <&cru SCLK_NANDC>; + assigned-clock-rates = <150000000>; + pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0 + &flash_rdn &flash_rdy &flash_wrn>; + pinctrl-names = "default"; + status = "disabled"; + }; + cru: clock-controller@20000000 { compatible = "rockchip,rk3036-cru"; reg = <0x20000000 0x1000>; @@ -643,6 +658,43 @@ }; }; + nfc { + flash_ale: flash-ale { + rockchip,pins = <2 RK_PA0 1 &pcfg_pull_default>; + }; + + flash_bus8: flash-bus8 { + rockchip,pins = <1 RK_PD0 1 &pcfg_pull_default>, + <1 RK_PD1 1 &pcfg_pull_default>, + <1 RK_PD2 1 &pcfg_pull_default>, + <1 RK_PD3 1 &pcfg_pull_default>, + <1 RK_PD4 1 &pcfg_pull_default>, + <1 RK_PD5 1 &pcfg_pull_default>, + <1 RK_PD6 1 &pcfg_pull_default>, + <1 RK_PD7 1 &pcfg_pull_default>; + }; + + flash_cle: flash-cle { + rockchip,pins = <2 RK_PA1 1 &pcfg_pull_default>; + }; + + flash_csn0: flash-csn0 { + rockchip,pins = <2 RK_PA6 1 &pcfg_pull_default>; + }; + + flash_rdn: flash-rdn { + rockchip,pins = <2 RK_PA3 1 &pcfg_pull_default>; + }; + + flash_rdy: flash-rdy { + rockchip,pins = <2 RK_PA4 1 &pcfg_pull_default>; + }; + + flash_wrn: flash-wrn { + rockchip,pins = <2 RK_PA2 1 &pcfg_pull_default>; + }; + }; + emac { emac_xfer: emac-xfer { rockchip,pins = <2 RK_PB2 1 &pcfg_pull_default>, /* crs_dvalid */ -- 2.17.1