From patchwork Wed Jan 8 20:53:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC478C282DD for ; Wed, 8 Jan 2020 20:54:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C274E20656 for ; Wed, 8 Jan 2020 20:54:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fvW80tsx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726155AbgAHUxt (ORCPT ); Wed, 8 Jan 2020 15:53:49 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37907 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727236AbgAHUxt (ORCPT ); Wed, 8 Jan 2020 15:53:49 -0500 Received: by mail-wr1-f67.google.com with SMTP id y17so4942996wrh.5; Wed, 08 Jan 2020 12:53:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HAVtrrvP7lMDn+z4yW5t1+0ZMAlAWmibvRDN72JzVdg=; b=fvW80tsxmitYEBvGtuh21m8wnBrE83VykidXd3KTI0rxQr60hgtOGRLWtAgjGRdeSO ZsRWTtQ02MuMnIsoiUmBaJpGUxV1cStx+zM1VnKo62bXNajzo4DGa5tyqaWhJlvyunGn PPcjQo11qmTC+Jjg8VnDzQpYw240eF2tRX7QhBqxq2X77Bvevr0h3cnpGnSLucGwGqu4 NeZ8g8I5QTPHgNTGPznEcq4Vs++QwEPJ6yCN3ke8la8QHoifR+iUp+vPBM0TSQofpGIO +tf2wJ9uuEfsKuTLtLkXDn/e3Tl03vRVdSzJufN+Nhd+ctQwX2QSzffJWD8WE5rgcqhr U50A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HAVtrrvP7lMDn+z4yW5t1+0ZMAlAWmibvRDN72JzVdg=; b=Q5jgevGZ0+88GfYPqNMYGiFrrFAPiwiB7ZTCn/Znl3QLMMnLZBZwIox3eUgE+vk4lW NW93wOBY4meXlpqZ7A+R5ZXMxnmxkMBRIk7UXMfDlvuMBisfzTOz0F6692VuUyzvBuqd RtcS0UyjM6UEcIZe0bZtglC/ze29xReQBtmKj+fFarCLyFY+FU6ZLc+nL/kKNv3GhYkJ Cds+ONET9g7KHZ+/kOcFdiSX8hgLPP5CPgS+351VV7EGRKQLEkZcdiByNXfFd1BZ6qIS 3h7S5vqNP1ikVZwTvZNYFJrPA65ImZjiey5JZKBuzwEO8ci0lBmwbbBKzS3N8+xjbyoO +Tow== X-Gm-Message-State: APjAAAXI0cI4eH5W7iU8kHGGGVxzqG+k86lQKvbYU4g7lfGCeW/9UOJm EBSr84p5jFMnbD6yOE9Srcc= X-Google-Smtp-Source: APXvYqxULPp2fA/trb8q4KJWfPyDdsD0Vv2qlG337KA4yMv9O2EsWOqRDwrpvkD0urJEQL8otamhMQ== X-Received: by 2002:a5d:6b47:: with SMTP id x7mr1025519wrw.277.1578516827246; Wed, 08 Jan 2020 12:53:47 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id c5sm311835wmd.42.2020.01.08.12.53.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 12:53:46 -0800 (PST) From: Johan Jonker To: miquel.raynal@bootlin.com Cc: richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, heiko@sntech.de, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 01/10] dt-bindings: mtd: add rockchip nand controller bindings Date: Wed, 8 Jan 2020 21:53:29 +0100 Message-Id: <20200108205338.11369-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200108205338.11369-1-jbx6244@gmail.com> References: <20200108205338.11369-1-jbx6244@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the Rockchip NAND controller bindings. Signed-off-by: Johan Jonker --- .../devicetree/bindings/mtd/rockchip,nandc.yaml | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/rockchip,nandc.yaml diff --git a/Documentation/devicetree/bindings/mtd/rockchip,nandc.yaml b/Documentation/devicetree/bindings/mtd/rockchip,nandc.yaml new file mode 100644 index 000000000..573d1a580 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/rockchip,nandc.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/rockchip,nandc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip NAND Controller Device Tree Bindings + +allOf: + - $ref: "nand-controller.yaml" + +maintainers: + - Heiko Stuebner + +properties: + compatible: + enum: + - rockchip,nandc-v6 + - rockchip,nandc-v9 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + oneOf: + - items: + - const: hclk_nandc + - items: + - const: clk_nandc + - const: hclk_nandc + +patternProperties: + "^nand@[a-f0-9]+$": + type: object + properties: + reg: + minimum: 0 + maximum: 3 + + nand-is-boot-medium: true + + additionalProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +examples: + - | + #include + #include + #include + nandc: nand-controller@10500000 { + compatible = "rockchip,nandc-v6"; + reg = <0x10500000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_NANDC0>; + clock-names = "hclk_nandc"; + #address-cells = <1>; + #size-cells = <0>; + + nand@0 { + reg = <0>; + nand-is-boot-medium; + }; + }; + +... From patchwork Wed Jan 8 20:53:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205964 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45DC2C3F68F for ; Wed, 8 Jan 2020 20:54:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A5132082E for ; Wed, 8 Jan 2020 20:54:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dPjM1+R2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727339AbgAHUxx (ORCPT ); Wed, 8 Jan 2020 15:53:53 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40748 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727236AbgAHUxx (ORCPT ); Wed, 8 Jan 2020 15:53:53 -0500 Received: by mail-wr1-f68.google.com with SMTP id c14so4914317wrn.7; Wed, 08 Jan 2020 12:53:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AxMtdkZbidqU4qSegQIGbWKhDhQTzvUyCgxXQsTeiok=; b=dPjM1+R2hMGVCwZTYrExkk5iU0B49uue9XETtcEtJTcoRMImhBwubvXCiLyuu317dw KpR1dEz6Wx7hAKOQeYeiobvyxaBFA0ZRfa4sEnyzqEeGoM/P7iD5tbz8GEf9gEuChD53 8CS8h9TGGZSV9BRwPa5UAbFkIcAVKpX8ATkvg+Ljk0Bp/BQHYfzJ060OL1pmKVCiYEKT k0kBkxFv0tLhh9H2PrSagNcFQzY6F10KeqiO7pN0zgkL4snpQ4Fy4GmLqjbEfIRy6HGr 80Ua+dfQ6wD+5ur/kLj6XOnyL2sw1NXnUT8Ofq67YjmngRa4dp0PEi2+FwD1R/nuQV5J zJDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AxMtdkZbidqU4qSegQIGbWKhDhQTzvUyCgxXQsTeiok=; b=JcLdbuiqtfB0WMFFdl4OrgFxLchoQzePvxQin1J7V5PT1LHdFYz1KwPuwoCStmXzxY xcD5mhnC4idFic9lXXSkPfhpYB/t6ij6V5AUGaM7MPKp7QNkbd3g/sAB5AmaO/r6gZ++ 6Wbkg5tspCaWRfc5/FRmjFzoaIEyBjfK4KbaQyVHWtQcssWtQLkYTInteU7IKNnm/Ulk V2mi2b0IB5mPXsSsf2qLaHnFwFbooDxHxKyDkO0qjWRQ2GiStKkow88XTyilhK/qPGcA yMaTymDCbUaWQYnrwoPuJxFTLjLZk678nEp24qoicFgBeBJsy7jy/MD8SlZa0jvw6Fsv wCcQ== X-Gm-Message-State: APjAAAUf6TJ1BOdZQRGJTXi3/zAGTH++Q4ly5gwi+m4MrmfNaQG6mrKR PswXfmg1eSv4o5x6ITremto= X-Google-Smtp-Source: APXvYqz9RmWiol10rgzy3SRvE3DRlViUR+ALbAmkaXPnGDjuiszM6MaKzkQe22GqqlG0JDGp9p/e6g== X-Received: by 2002:adf:fd84:: with SMTP id d4mr6800400wrr.211.1578516830934; Wed, 08 Jan 2020 12:53:50 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id c5sm311835wmd.42.2020.01.08.12.53.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 12:53:50 -0800 (PST) From: Johan Jonker To: miquel.raynal@bootlin.com Cc: richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, heiko@sntech.de, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 04/10] ARM: dts: rockchip: add nandc node for rk322x Date: Wed, 8 Jan 2020 21:53:32 +0100 Message-Id: <20200108205338.11369-5-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200108205338.11369-1-jbx6244@gmail.com> References: <20200108205338.11369-1-jbx6244@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Wenping Zhang Add nandc node for rk322x. Signed-off-by: Wenping Zhang Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk322x.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 340ed6ccb..44d612faa 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -707,6 +707,17 @@ status = "disabled"; }; + nandc: nand-controller@30030000 { + compatible = "rockchip,nandc-v6"; + reg = <0x30030000 0x4000>; + interrupts = ; + clocks = <&cru SCLK_NANDC>, <&cru HCLK_NANDC>; + clock-names = "clk_nandc", "hclk_nandc"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + usb_otg: usb@30040000 { compatible = "rockchip,rk3228-usb", "rockchip,rk3066-usb", "snps,dwc2"; From patchwork Wed Jan 8 20:53:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205965 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 470BBC33CA2 for ; Wed, 8 Jan 2020 20:54:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1D41B20656 for ; Wed, 8 Jan 2020 20:54:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Zzt9Pq8z" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727391AbgAHUxz (ORCPT ); Wed, 8 Jan 2020 15:53:55 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40751 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727341AbgAHUxz (ORCPT ); Wed, 8 Jan 2020 15:53:55 -0500 Received: by mail-wr1-f68.google.com with SMTP id c14so4914398wrn.7; Wed, 08 Jan 2020 12:53:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C5fo2kz/QWgODg+pTRTkY/0WFd4gP4/o5NDNIjif8yU=; b=Zzt9Pq8z2X+9hwX1ST5OGPyVjrA4QVsYfsU5Wmyd3tl0c6equBtUPevbjEtiYvzq0V F4ZoiRMpeC1kWGUttJA/fkBaJH9ZbkCgpoVWHNF1yb/53vw00PaCsrZXs8eoBGeDohyj ak8k7t99ff5pwAliM9p+OyFpP9n2o+QGIWatkTwhaZQCkPSY+QMQPgkt5TvvZZl4AbRX Q4oPPhYByTA/wo0xeHiX6o1iWb0S50jScOoSDg0ZHHu1kw7/H2aK9fKdV1nVlWNZIy38 rUDk8g4sQ9B1n0eCJLX4jloIxHW2SJoOPp8nvAoq6RdovfL4jjy4IGr+AvFLgkFwSRy8 TiaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C5fo2kz/QWgODg+pTRTkY/0WFd4gP4/o5NDNIjif8yU=; b=O/c3ExSYDcEqq4ENDu6D7QP5ikyTTgKRHyJI1sbrXvldefgxpbGKbw1TvkBhW+mXZ9 39LlOVZwFYIoKIBd5+rV2k4DmM0IgbSXAeV7eE1//75oh76kgedONQ1Y6sVCJavJpleY efbXt2ogd+H9PeZNnUbAY0ZweoiefsOsnm7WUOrYJgnKmv79ExkUcjldVPYwVV5E1ts+ Y6BMyqjbe7cnANrGN70vK/R93fWVX4Ro/Z/WKLB8vIRXHOg4KI7SVRx8jL6CtUM/5Mgp 2VaIK9ihu7h1Yi6L/CO842ReEtnoGDE+CxMeNWh8VOeXLi8rMdCLwjNjA3f4W24xl+t0 C+jg== X-Gm-Message-State: APjAAAXxGx20GmTQtLGgZO1uYYSWw4RtV6TnvjBrJgH9JFI1iivaCQmu e4VFcE7f2OS+UJ1IUrPKroo= X-Google-Smtp-Source: APXvYqxKzkRDBbLxFJJQrh3Cz/Joy5n0D+rLPkz5VnUoFXE6pFE8tWT1ElySl90OFe+0xb5oe68WBA== X-Received: by 2002:a05:6000:1187:: with SMTP id g7mr7021758wrx.109.1578516833133; Wed, 08 Jan 2020 12:53:53 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id c5sm311835wmd.42.2020.01.08.12.53.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 12:53:52 -0800 (PST) From: Johan Jonker To: miquel.raynal@bootlin.com Cc: richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, heiko@sntech.de, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 06/10] ARM: dts: rockchip: add nandc node for rv1108 Date: Wed, 8 Jan 2020 21:53:34 +0100 Message-Id: <20200108205338.11369-7-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200108205338.11369-1-jbx6244@gmail.com> References: <20200108205338.11369-1-jbx6244@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jon Lin Add nandc node for rv1108. Signed-off-by: Jon Lin Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rv1108.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 5876690ee..391073ada 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -456,6 +456,17 @@ #reset-cells = <1>; }; + nandc: nand-controller@30100000 { + compatible = "rockchip,nandc-v6"; + reg = <0x30100000 0x1000>; + interrupts = ; + clocks = <&cru SCLK_NANDC>, <&cru HCLK_NANDC>; + clock-names = "clk_nandc", "hclk_nandc"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + emmc: dwmmc@30110000 { compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc"; reg = <0x30110000 0x4000>; From patchwork Wed Jan 8 20:53:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205966 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FD65C282DD for ; Wed, 8 Jan 2020 20:54:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5930820720 for ; Wed, 8 Jan 2020 20:54:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U292Rre6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727429AbgAHUx5 (ORCPT ); Wed, 8 Jan 2020 15:53:57 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33528 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727399AbgAHUx5 (ORCPT ); Wed, 8 Jan 2020 15:53:57 -0500 Received: by mail-wr1-f66.google.com with SMTP id b6so4989670wrq.0; Wed, 08 Jan 2020 12:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Vmr2fEFzigW7NnBmDNTwUzT4ArM8axMJAbkHVc4Ns/0=; b=U292Rre680z7wDSQHsQUS9uJRrA1Pr2tLM4NbXE/OrgCGOwMP5BmFcfZwtt7vl2TMF utIikDp5Fgy62sWQ0YgW4GrQv6ESGNQ4McMWmvGuDUnitKop7SNvajhSom44f/2UxpHi Nvh6iZtGbshUg+6hOO70D0QiCe7+aNjSB1qmEhRmTgZDfDqUoP247THopMK6wWT91uWw y3VclLEwrBuv1+eiYcVn5jngCkqsLi65cdzganyu3GlUGRLU7i42mMua93ISNYfbA+sg q7rh8GvGdX/pQwTApk6JetyqPLHQ5LhdCt46uOj1EZvEBA+aQwmrVKIVIeVe77uTAh+8 dIig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Vmr2fEFzigW7NnBmDNTwUzT4ArM8axMJAbkHVc4Ns/0=; b=m+HROIsK4fpcWmp8EdqWufSqxW4O64snRG7gOdxxBhuV/aVCeCCQAHa9+pgwvRws58 rfCXga6vTwq55WNUgtqv6uGUoCRIIzGbzoU3cPyeeZeq8UVNG1idX2LNqJB0q9oaF3RP mhE5lgFSo4JFTKTe7yzFYc/Pg1cddyIFyrf1N/bJ2/wtpbjFZk9BD4sSWbjLamKIvdVy 4uah7t31LLhZZGhFe+/00Uvby3fR5s9WnUsGfRA00KFsCal3LatOnEsO+xjXCUWiPAIk Mk8diK10tjAGVvgWbUZvl/jc5u5yC/q9sjgKwdMiWRi1hvuGQqR8igUjLJ51ELbEJejm PPWw== X-Gm-Message-State: APjAAAU4qF+t33DQPVfwri3MJ4h2JcferDt7KrSziA0ApIiccYN8p6uA krz7TRwfEIR1/JNdiu6AhF0= X-Google-Smtp-Source: APXvYqzp9b6RWmOcElE6RzuN+ZS1z6743gaRIYOSvn+KxRtvbtfKLCOwJAdUYr8HSfaxwgfx2X3Rdw== X-Received: by 2002:adf:f5cf:: with SMTP id k15mr7021876wrp.182.1578516835000; Wed, 08 Jan 2020 12:53:55 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id c5sm311835wmd.42.2020.01.08.12.53.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 12:53:54 -0800 (PST) From: Johan Jonker To: miquel.raynal@bootlin.com Cc: richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, heiko@sntech.de, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 08/10] arm64: dts: rockchip: add nandc node for rk3308 Date: Wed, 8 Jan 2020 21:53:36 +0100 Message-Id: <20200108205338.11369-9-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200108205338.11369-1-jbx6244@gmail.com> References: <20200108205338.11369-1-jbx6244@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Dingqiang Lin Add nandc node for rk3308. Signed-off-by: Dingqiang Lin Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3308.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi index 8bdc66c62..62df531d1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi @@ -627,6 +627,17 @@ status = "disabled"; }; + nandc: nand-controller@ff4b0000 { + compatible = "rockchip,nandc-v6"; + reg = <0x0 0xff4b0000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_NANDC>, <&cru HCLK_NANDC>; + clock-names = "clk_nandc", "hclk_nandc"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + cru: clock-controller@ff500000 { compatible = "rockchip,rk3308-cru"; reg = <0x0 0xff500000 0x0 0x1000>;