From patchwork Fri Jan 24 16:29:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205383 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 C2621C32771 for ; Fri, 24 Jan 2020 16:30:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98F3620709 for ; Fri, 24 Jan 2020 16:30:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ttoW4FJX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388861AbgAXQaQ (ORCPT ); Fri, 24 Jan 2020 11:30:16 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36118 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388341AbgAXQaQ (ORCPT ); Fri, 24 Jan 2020 11:30:16 -0500 Received: by mail-wr1-f68.google.com with SMTP id z3so2723829wru.3; Fri, 24 Jan 2020 08:30:14 -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=hYFbabH/1+eJ5tgZu8gLApj2AMrLFA7PILlgYylYfww=; b=ttoW4FJX0uyIo4LvuzYHHh6Q2hKvvZTOmQ1R9vyPsn8wHAhh4UrcWnvxbYR6M8Lw5O VnfCpwIO34bxDsK2hKHXo/dc+uANQ3V76q0PsA0QV6N9/wTbxci2fcBVupoItf1DH9xb 08R1vxFYvluoAXgpJjLElER8668aFhH+gda3dQe+uUOvjvIMWNzEqPHbWxNBl/5G/9uT 6CdZahcOpZG2SlVgZqUGrXL16FPRdM6wNgimndjOqiwO9OxmPoC0TMvbWSwAdJJrGZnG rm1RxYAtmNzQNVKQKAVxuFdGYQ7m+4JyGQpo9UhZRqhPjkFVMQhAq0DU3S6fq4cjPgzy Nz0Q== 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=hYFbabH/1+eJ5tgZu8gLApj2AMrLFA7PILlgYylYfww=; b=s4aVJ/1RiiR9spMu8ELteomu0xE8hpY+x3kSxMl1MgNMd0m2S3C7jmuco5xrUbzjOZ GSPhrgAMsHxlCxhBooaogcugmtmmgsbGG1YvJlw1rsbS5B0l9cM5Rpp820hogde/4esi lQjpmTrcKfId+Vwy5VK2gN/cdrHaOH4ltewfuI22zea2TXTaBt9Dj06TSIt3BrgyU/HB yg7VDwExKXGcQyiO50xz4lowqm0W2fJ6RWkPtbxUcd13Ex8gBMQtAsoJ8AUWZaQrAkhM 8GUMWAN7mZ2qUT5sXNsyXbw1Uv2vtLYmlpdPacsBIWeJtyGTUBkMYA8gcAHzs+1wUcQ7 sjgw== X-Gm-Message-State: APjAAAW4QUp8E4bxSEa19VWr7RMLreLGQnaQbGyrMBs7eSPxEvPzyuKy LKp6ZBEB1CuYbCyuxi6u4Ic= X-Google-Smtp-Source: APXvYqykWcME/KmUDZrrd7CGyy/O95zP9Xfvvz6gjuR9vTr6EyI82sKy8dHM95zTWTcR0vjltX6/ng== X-Received: by 2002:adf:f288:: with SMTP id k8mr5516067wro.301.1579883414238; Fri, 24 Jan 2020 08:30:14 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 205sm1977304wmd.42.2020.01.24.08.30.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2020 08:30:13 -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, shawn.lin@rock-chips.com, yifeng.zhao@rock-chips.com Subject: [RFC PATCH v2 03/10] ARM: dts: rockchip: add nandc node for rk3066a/rk3188 Date: Fri, 24 Jan 2020 17:29:54 +0100 Message-Id: <20200124163001.28910-4-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200124163001.28910-1-jbx6244@gmail.com> References: <20200124163001.28910-1-jbx6244@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chris Zhong Add nandc node for rk3066a/rk3188. Signed-off-by: Chris Zhong Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3xxx.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi index 97307a405..221c30314 100644 --- a/arch/arm/boot/dts/rk3xxx.dtsi +++ b/arch/arm/boot/dts/rk3xxx.dtsi @@ -273,6 +273,15 @@ status = "disabled"; }; + nandc: nand-controller@10500000 { + compatible = "rockchip,rk3066-nand-controller"; + reg = <0x10500000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_NANDC0>; + clock-names = "hclk_nandc"; + status = "disabled"; + }; + pmu: pmu@20004000 { compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd"; reg = <0x20004000 0x100>; From patchwork Fri Jan 24 16:29:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205384 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=ham 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 D60E5C32771 for ; Fri, 24 Jan 2020 16:30:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ADA8F208C4 for ; Fri, 24 Jan 2020 16:30:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qODzbZGm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389424AbgAXQan (ORCPT ); Fri, 24 Jan 2020 11:30:43 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45339 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388793AbgAXQaR (ORCPT ); Fri, 24 Jan 2020 11:30:17 -0500 Received: by mail-wr1-f67.google.com with SMTP id j42so2680699wrj.12; Fri, 24 Jan 2020 08:30:15 -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=5CG21ojEDjECTj7XUBPSg8AMrBX1gphh8BPherlSg2c=; b=qODzbZGmaHGWOL3dDb3Xify6xkGEbOZyCAuqjPjEIaPY8V6dE42lSq2czZnDgXBpUG 7auQNJ2tdS+OMddJObOB02bB0h12ZrwpqtFLHg1hlmO2MtcbeSXfw6hwogMvGmXXG0Rq hAyyxGmJmWE3AdA/1RdJ7y+J22+B04xgc5Gq0GZa2jgbbH+SMWXEH8LErXNVr3JPEJfu Fr/zJqBqy+XGPgKnRqvDGP+OamI41kH+w0KAvqYV+Yb4tjmH6yv2237dABwohRIrA48C oomdcNS3Y6flFc9EoLqbLn2zbxr8IstdVfrNwZlNKbGp4mSW/HmCBdJcsYMBgdpsg+5s i9Yw== 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=5CG21ojEDjECTj7XUBPSg8AMrBX1gphh8BPherlSg2c=; b=SbR2M5Bpi6SCtqRBRHHF/kXLy5awuYNPsCkJi6gYBotkwZH2Z3vQK0JLY1XH2NCC7H dBxJxF3VEkbiA8DZHcG6ZVDvji7PgTB/M+IE87ERNPStn7ImF1G3u+9wmhhJctSSDIEg HS3u7j69gX1sulr4WRPaaPFD7Fi6BelgtQhcTqQBNci3fUCanGaYgqhSyfmFLb5d18iq 3kCqPCUU6isGQ0qifD7LOlAc8XdiuJVWrB4pVH5b+bH4xXtRzRYCgJxetf0TIEkuvwlI zM+eyZTJVpEi/Pyf4719UMpwUSwJ1Bf4F/sXZzCYdeY/oqxwvMkG+0Jul8yCUAUpgvp7 0H7w== X-Gm-Message-State: APjAAAXYNHobIYbdadvOeG9Y8IltRUvilCFpbEI0/4Y6X+TfWSMAjXWb TUcxw/4Sp0MB28FzQ8lPIoA= X-Google-Smtp-Source: APXvYqyb6Y4gGv12/4HSD8PzStB662RmnSDlEdKQLoXAtCs6xALQmyQQxt8zVDbHFXtpDTTV1Yl7TA== X-Received: by 2002:a5d:6a10:: with SMTP id m16mr5110889wru.411.1579883415317; Fri, 24 Jan 2020 08:30:15 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 205sm1977304wmd.42.2020.01.24.08.30.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2020 08:30:14 -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, shawn.lin@rock-chips.com, yifeng.zhao@rock-chips.com Subject: [RFC PATCH v2 04/10] ARM: dts: rockchip: add nandc node for rk322x Date: Fri, 24 Jan 2020 17:29:55 +0100 Message-Id: <20200124163001.28910-5-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200124163001.28910-1-jbx6244@gmail.com> References: <20200124163001.28910-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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 340ed6ccb..2f5122206 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -707,6 +707,15 @@ status = "disabled"; }; + nandc: nand-controller@30030000 { + compatible = "rockchip,rk3228-nand-controller"; + reg = <0x30030000 0x4000>; + interrupts = ; + clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; + clock-names = "hclk_nandc", "clk_nandc"; + status = "disabled"; + }; + usb_otg: usb@30040000 { compatible = "rockchip,rk3228-usb", "rockchip,rk3066-usb", "snps,dwc2"; From patchwork Fri Jan 24 16:29:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205385 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 215C6C32771 for ; Fri, 24 Jan 2020 16:30:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ED601214DB for ; Fri, 24 Jan 2020 16:30:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="klhHUcz5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389372AbgAXQaV (ORCPT ); Fri, 24 Jan 2020 11:30:21 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40782 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389201AbgAXQaT (ORCPT ); Fri, 24 Jan 2020 11:30:19 -0500 Received: by mail-wr1-f68.google.com with SMTP id c14so2701122wrn.7; Fri, 24 Jan 2020 08:30:18 -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=QIn/ekjPN/8iXXGp7E1y+nPWPExusw+RM1dMcjlqWMY=; b=klhHUcz554C1wRT2sjn4IaqxVA4Patl8xOwKsmIyZKZJjc29Itt9BaTsyYMCZHIZIH egX0JlOPfx0qQIIQuYj2weYwn/Hl3ydE3GuWJ6Gx448DmZR2tj2DRrRQeSxrs21driLX n7hPjtACFDRGmlZTrl5PiTIzkpbE4NZ0xY4tWQ6n7hfuqnR/8us/5Mst/ifE85pb9aty iNK2bHIbfg+vd3Cu0B/zjLSLagz+Fsmv9w4q28iBGs+pEX1MnI8Wu0ro6C2xD92xlXMB aM/FJ00Io64zkp7TvJHNBpgjt97cOj6sijDt81O7HknYSrwRbH+DfejEcMKUUzioo6wd bZow== 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=QIn/ekjPN/8iXXGp7E1y+nPWPExusw+RM1dMcjlqWMY=; b=mHs5kcK2yqPktI27ctRxsp6lANv1cnJ97qV6WzTzZHDQp3Zcs9R9ZRl6XitbULvGq5 2wcQK3rFOtXvCRruh/uflJggxtshCZ3Ll3K/gAA06K2T+YEzhpKt+32bs6cC7jegFHF0 Qzwu4YX2zbOWbrh1jn3c9Z8tJ6JxGARdzDsxSsjn9eI4vTfwTf9yA2EFM09A8ne2eeWD VCX5BHuy0s0zVNAqBnaLXmkVi0q7YqZwxVAYauhbY2YFk80bIYuPs49eGBAt0THfbjIz tNBjgZHYZ4ng1On/1oyoK6mMUTzmreAWg//aoTbJYT+lI2dStFRYFZonmL4L2EEkUCpH wBDQ== X-Gm-Message-State: APjAAAUX/m6jRPOjfjlSVarsrZtdO9cQQsuerCVfZdDNtIHCYjSDAmLe eYfG62DVVBmmpG0RQdGd8I0= X-Google-Smtp-Source: APXvYqw7CIGAG3ZFB6XdbEJQoiV5N2eZpSn9bhSYo9ISaZGS3uiIABvz3px+HqgatIrQN/6z9wwJ6A== X-Received: by 2002:adf:f606:: with SMTP id t6mr4960508wrp.85.1579883417532; Fri, 24 Jan 2020 08:30:17 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 205sm1977304wmd.42.2020.01.24.08.30.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2020 08:30:17 -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, shawn.lin@rock-chips.com, yifeng.zhao@rock-chips.com Subject: [RFC PATCH v2 06/10] ARM: dts: rockchip: add nandc node for rv1108 Date: Fri, 24 Jan 2020 17:29:57 +0100 Message-Id: <20200124163001.28910-7-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200124163001.28910-1-jbx6244@gmail.com> References: <20200124163001.28910-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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 5876690ee..d7b9aadbd 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -456,6 +456,15 @@ #reset-cells = <1>; }; + nandc: nand-controller@30100000 { + compatible = "rockchip,rv1108-nand-controller"; + reg = <0x30100000 0x1000>; + interrupts = ; + clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; + clock-names = "hclk_nandc", "clk_nandc"; + status = "disabled"; + }; + emmc: dwmmc@30110000 { compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc"; reg = <0x30110000 0x4000>; From patchwork Fri Jan 24 16:29:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205386 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 3E7F0C35242 for ; Fri, 24 Jan 2020 16:30:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 153B222522 for ; Fri, 24 Jan 2020 16:30:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N9DAU6TT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389513AbgAXQaW (ORCPT ); Fri, 24 Jan 2020 11:30:22 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37685 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388920AbgAXQaW (ORCPT ); Fri, 24 Jan 2020 11:30:22 -0500 Received: by mail-wr1-f68.google.com with SMTP id w15so2724354wru.4; Fri, 24 Jan 2020 08:30:20 -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=m4uH+eGyV8vifXYAWHIYcpVOQ6Xb6SMallkR/M4Jzo4=; b=N9DAU6TTlHbKO4obm1WBB/8OVkXS9wDNxNScvOY9VzaXFRFu/d/gM8Wp4t8CmSJH6R kHQHSuTVqyVx6j2LUZWROmvEjPlv2DOwKeavv4wLM8XBO6nykxGMc3v8BKERBTVCoN0v J1TI/MM5xTGDHkGbpZ4mHIqv+Mb/yFqty+XiIUpARwIH2EowSELTyC2EsD4ifvA511ho o56I+WptcLEhBOpW1zTOoANtU2wjq+Rb84nkbarxGHN6sniP2hWtV+V4N0iKHxdY35MC ZWmtfkj27qFJuLxezcANfWgeyFmKVekOAumEjq3oje6dMAbxfbm+Fk2rRYn9aLRYWws9 dA/g== 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=m4uH+eGyV8vifXYAWHIYcpVOQ6Xb6SMallkR/M4Jzo4=; b=DQ9OHi9nz4bvvMoL6Eh1h8GmKoPu5TRN4Hc8MC3jka8p+OKUkONBR6PxX73HkwSnO5 f5ljdlwOlp7r7GpzeQRnTh8EQttr8f9m1hQBVns1NRXaWlLnl1le293Nn5P1QstkRbfA eYO9NZnUt2p5G14bshwhrZRvc7Y9vX8UITZTOIb22EcH7gXBQtH43dlPH1YMxIUKZSoJ 9Tjm83LYyh8kOHRL7X4ynnN8uD7ZltYfbDipkVLw6s/ySAeYzarJ5YDrhgHddf/RkWeX mdOZVG4oWE3zQHXgIUCiWnms9+BW9OCpU9m9+1VGitM++SWC14IApTgVbnZrSBHbwtg1 RLDg== X-Gm-Message-State: APjAAAVzVjEFymxDje28n15ChF8yK54ZBlQbV++WagYsllebFtBfpXMf +ElxIWosugIgEojQRjMjO68= X-Google-Smtp-Source: APXvYqxD/FBeeFd3slUqJ5Vb/20lkgUjc3N2O4Q64GE49ZY7NRKOlNPUIY+qChA1pkM9tk0K61fYoQ== X-Received: by 2002:a5d:6a88:: with SMTP id s8mr5156235wru.173.1579883420073; Fri, 24 Jan 2020 08:30:20 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 205sm1977304wmd.42.2020.01.24.08.30.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2020 08:30:19 -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, shawn.lin@rock-chips.com, yifeng.zhao@rock-chips.com Subject: [RFC PATCH v2 08/10] arm64: dts: rockchip: add nandc node for rk3308 Date: Fri, 24 Jan 2020 17:29:59 +0100 Message-Id: <20200124163001.28910-9-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200124163001.28910-1-jbx6244@gmail.com> References: <20200124163001.28910-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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi index 8bdc66c62..a6c98edfb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi @@ -627,6 +627,15 @@ status = "disabled"; }; + nandc: nand-controller@ff4b0000 { + compatible = "rockchip,rk3308-nand-controller"; + reg = <0x0 0xff4b0000 0x0 0x4000>; + interrupts = ; + clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; + clock-names = "hclk_nandc", "clk_nandc"; + status = "disabled"; + }; + cru: clock-controller@ff500000 { compatible = "rockchip,rk3308-cru"; reg = <0x0 0xff500000 0x0 0x1000>; From patchwork Fri Jan 24 16:30:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 205387 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=ham 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 65453C2D0DB for ; Fri, 24 Jan 2020 16:30:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B879208C4 for ; Fri, 24 Jan 2020 16:30:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kV6ntgB+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388141AbgAXQa0 (ORCPT ); Fri, 24 Jan 2020 11:30:26 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36533 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389927AbgAXQa0 (ORCPT ); Fri, 24 Jan 2020 11:30:26 -0500 Received: by mail-wm1-f68.google.com with SMTP id p17so67313wma.1; Fri, 24 Jan 2020 08:30:24 -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=Ma8EEHyJQOUo40MQ8HAnhmncQWACdEusOuKxQidJjKI=; b=kV6ntgB+pNXteyIG5sQDdsiztdm3UBUUCJyBoyHiHmxkclFVPND0S3W3Vk6VtIjf5J XmoZK93FpxIBE+t16nwoSXdf8iEj5II8LtZLoFrtJBk/poXhgEfUVt06lYqC4g5zT4DC dGO9DdbcAxTDQYOQb3gv9WroclH0OUq6kFhDNj/m7L03ZIU30FXeAiem8DceUgivY2NV JMRgC7XDzZKwOXHZTFkZFcRlhgjFLQfCpzHh2sHkpCYUQsdm4KWzsS89k5J0249uJT8J kPP1QgcGvxH9NjtTV0QMpJoIUX62vqavosjYUaEzOHX2HGAzNx4vxcjDaQlaaDv1VHLI DfLA== 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=Ma8EEHyJQOUo40MQ8HAnhmncQWACdEusOuKxQidJjKI=; b=NVTdDNHjmyJnczZGre7PtpzKUE4V1LoN0IIp2cP3KjdeNw3YEX21VJfD4RIiYny8Tw IA/nFmXN/2hpoHog2eTtr/kuNPj3m2SHMnBMFzezm6yaiKClt4tZFo9c3mCA/XVAptvw Sx1JNqnAZWpm1pVnNAx+qm0/dih2CQibHCF+7sT3dOSMDYAN2CfzVuJ76dPZg+Knc2GC sxHcxUyLRkndgEQmli49BctWOKLPIJNn5/mE5iz8LiFQ9WyJF/JSQ4usUzoR619ChNFx sCGFOHcJwZk75znYL2jK69ZK20p/Rd3JNEb0MkG7m7Mr/4cewmQaXBm32IrOslzDIf/u 9Nag== X-Gm-Message-State: APjAAAX30fvlQNRacoVXO5Eyej6Dpy4Gnt9SoisM9zQQNth47zmo80kL pKpGZ8T7no5cres5TmbeMtQ= X-Google-Smtp-Source: APXvYqxRFPMGGtg+KpLSBpXUNcXTEuVXdOJ58XYB81RM8BMMGfpOR7Z3BO/sFZG6zDyKioVd3UJFjQ== X-Received: by 2002:a1c:1fd0:: with SMTP id f199mr30871wmf.113.1579883422270; Fri, 24 Jan 2020 08:30:22 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 205sm1977304wmd.42.2020.01.24.08.30.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2020 08:30:21 -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, shawn.lin@rock-chips.com, yifeng.zhao@rock-chips.com Subject: [RFC PATCH v2 10/10] ARM: dts: rockchip: rk3066a-mk808: enable nandc node Date: Fri, 24 Jan 2020 17:30:01 +0100 Message-Id: <20200124163001.28910-11-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200124163001.28910-1-jbx6244@gmail.com> References: <20200124163001.28910-1-jbx6244@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch enables the nandc node for a MK808 with rk3066 processor. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a-mk808.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a-mk808.dts b/arch/arm/boot/dts/rk3066a-mk808.dts index 365eff621..e33c85699 100644 --- a/arch/arm/boot/dts/rk3066a-mk808.dts +++ b/arch/arm/boot/dts/rk3066a-mk808.dts @@ -133,6 +133,17 @@ status = "okay"; }; +&nandc { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + nand@0 { + reg = <0>; + nand-is-boot-medium; + }; +}; + &pinctrl { usb-host { host_drv: host-drv {