Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4264914pxu; Tue, 20 Oct 2020 12:17:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMf7MgWzmTqxArRTHvItwi2Tf4GXqhAXPlH40J4AWc1ArqUuWwNz8/h+ZqO6+L4tm2L7ZM X-Received: by 2002:a50:fb0d:: with SMTP id d13mr4445778edq.85.1603221468004; Tue, 20 Oct 2020 12:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603221467; cv=none; d=google.com; s=arc-20160816; b=ScjgPjfi1DwLqrPexi8VS1YM1i94uvB07UZ3VuduclE0xR9CLqgGrISx+RrdvCBX4R /ydYPGAWlrk3oog0jyhzkQH62RSk7DlyKbTmDHeYixJY1bFY9Wk2+4IbCiI1i5zIqTYC AyREdV/iZWJIxxwQphKsNJi8hSNL8MPZbhqCqnVDhNiP756C4bBa9+THCYfVGDmQBwJ2 d6clIprPA+X/MGBmndj/RdVfOF8OkNvQRHC5E/m9gmo8IzlutRTkz+Ypl3eH+V/yWjVK jSZJy3gKtm4jUM1I9DU6MCwP19+0z547loRX/hHBPGF/RoiEsMntNOrcV4oLoDXOncb5 O53g== 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=163Fprm04tUpccgFKUfRH4EMbUT1JBDTmnNLyJdJ9pA=; b=l/wG5lsaMx5A3SZmH1BcEadkJ7b6wLFfr1tfXKz4+2qmknOuoSLl7CDBsR6CJgC2P6 R3+LPvtNgLKR2pObqj+t2KWDH1a4nvKKS6TPrcZIXK950dBzFdGJ4mYFy9FREJXSicEN vHkhaccETMsEuf+nq9CYM9Iah3AF9vwSVYAoyfOi8xKoNvBIVknoIjSTFVg5KWRlpTrm H1EBwZ5KnRqb2FX80MYsYprG8zCLLOkUN56Bgo90f7OGDV3hmEriL4DKQITp4+zYxKOp 6UQCKTiJ+9LZv37Gkzl1J6Ak21F1CgUMtRUvYg2d/VhBVeFCKZZSTMUcDhvydQopHLyn Xctg== 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 f12si2295545edx.342.2020.10.20.12.17.25; Tue, 20 Oct 2020 12:17:47 -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 S2391138AbgJTDSk (ORCPT + 99 others); Mon, 19 Oct 2020 23:18:40 -0400 Received: from lucky1.263xmail.com ([211.157.147.135]:59662 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391113AbgJTDSe (ORCPT ); Mon, 19 Oct 2020 23:18:34 -0400 Received: from localhost (unknown [192.168.167.235]) by lucky1.263xmail.com (Postfix) with ESMTP id 04A39A5EE2; Tue, 20 Oct 2020 11:18:29 +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 P2981T139638909118208S1603163896309471_; Tue, 20 Oct 2020 11:18:28 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: 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 v12 8/8] arm: dts: rockchip: Add NFC node for RK3036 SoC Date: Tue, 20 Oct 2020 11:18:14 +0800 Message-Id: <20201020031814.17939-4-yifeng.zhao@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201020031814.17939-1-yifeng.zhao@rock-chips.com> References: <20201020031733.17883-1-yifeng.zhao@rock-chips.com> <20201020031814.17939-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 --- (no changes since v1) 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