Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4231494pxk; Tue, 29 Sep 2020 19:10:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyX7DpTkMRxQe6aVVrY5gyJu9g9Ccabs1hjLF6a7VxhrjlJJfceRknbqRvFNS90xjusG8wJ X-Received: by 2002:aa7:ca17:: with SMTP id y23mr365535eds.245.1601431846974; Tue, 29 Sep 2020 19:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601431846; cv=none; d=google.com; s=arc-20160816; b=gJTvg4/sZbfkk+iyJVxb6XuUc4UuBqBu148GkRKJQzicrowSwfOzBWrU5WnMTkt9Tk WbwRmWnUlP0l2gcEuLG2Rjk9GyWydm6n9/akH2KI/sJr/33/XmUOSwnisxkzAVVMKkpe xbSkulub9J/yeXs5X0zCaSlQHhuQnYuoEB0fp+4ZaqFBLExsIky08Otjv1jTbts5STeX VxZ2YWuYGkYcEx7YDTiSUmfkuM6JQ0D8HEdLKMf5hf/ktQfSyr06YQVk9Awd1P5MsJRN /QSbYVYC4KUFmUzTZb8yR4MIWdt6VpQq3i3CL+jhYawRwry38KFkPzF0UO/pYR6d9NOq 1Iww== 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=nMu/Q0FHuwbIl8ZYZZ1aViULlFzfsvdAtJipTlI+GRk=; b=XtdAqjs7WutPv+CcFT1dfroUc0iYghd0mP0BicEX2CdGQNPZuLn3VJ7BXwYXSFvVs4 GM245AazpSvnZOSS09Sn43BMHyHJhWtgvh4izEwYo7voxfLb4BktL9kBqf55t5KyPsLf MEabJRM7aqqJenG7ZeO9C/7yN9Ei9/qs8pxvfptQL5d7F96n/30R8ToknkWt95X7MPdW z3zmBx3l/JB+r6MgwucEn+73oXl1dVlu//hCw0TtPAd2Ai+PDbSwFBDDfgXWdkKChKSJ 1/MUyoqMjvs1LyyxzashiL0ly0Xy3BBFMqFRTj7fwaheV6M1CpfjiNGPrSEvgnjiwruI r4SA== 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 j26si65373edq.316.2020.09.29.19.10.24; Tue, 29 Sep 2020 19:10:46 -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 S1729925AbgI3CJP (ORCPT + 99 others); Tue, 29 Sep 2020 22:09:15 -0400 Received: from lucky1.263xmail.com ([211.157.147.131]:35134 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729499AbgI3CJN (ORCPT ); Tue, 29 Sep 2020 22:09:13 -0400 Received: from localhost (unknown [192.168.167.235]) by lucky1.263xmail.com (Postfix) with ESMTP id 4D8C7B536F; Wed, 30 Sep 2020 10:09:11 +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 P2981T139638771541760S1601431744269822_; Wed, 30 Sep 2020 10:09:11 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <785dc2504cea7f5245be6ff8cece884b> 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 v10 8/8] arm: dts: rockchip: Add NFC node for RK3036 SoC Date: Wed, 30 Sep 2020 10:09:02 +0800 Message-Id: <20200930020902.7522-4-yifeng.zhao@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200930020902.7522-1-yifeng.zhao@rock-chips.com> References: <20200930020710.7394-1-yifeng.zhao@rock-chips.com> <20200930020902.7522-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 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