Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5381225rwr; Mon, 24 Apr 2023 03:22:16 -0700 (PDT) X-Google-Smtp-Source: AKy350bhGN5K/PjeAszn9So+ucrB2D0bZzDkXorUJKZj5cyMJ9vPra7q47/HbEsw/HHaewiXx7s7 X-Received: by 2002:a05:6a00:1914:b0:63b:8425:bf5d with SMTP id y20-20020a056a00191400b0063b8425bf5dmr17412247pfi.24.1682331735767; Mon, 24 Apr 2023 03:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682331735; cv=none; d=google.com; s=arc-20160816; b=EIxDhm1ajTu+0fc5qdnB+s7xWbJffwZuHyQz5PuRgAtQvPppnDyVYgV9G+TqQuoJ/y MjPr+YHAgz/CoR0rs/UDwN+rvnA0vqdgv2Xwy0Aah1LooJ0ts7dX5FIyvUQVRSNpNZW4 f115+FSfUB3+iCaBr66fjQ2VS4JfuQOHcPDh7CU06ylW5rYwvkaDEsM0RQ9tv1as5lKN y7TnbnrCu8P0fqEULLs6INJmYupkm/0O1mCNjSleO7GYkBiY+um2r0ZjCOD8UB0yxQ8B TCmngcfoaCaiB2jbuxgEjTx9fQL2G3R35VtXBJ4mPfV1Vq8tIGm2lsQ9QSCz4Y1xqamN tT/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=gzZfNhCP4gLQxuxIz1zy8IGUwOFk5Um/gkdDTo4axVY=; b=F00oNAyz2rXy029yvS0JoE+o96IOpCesy1eJgdOloOvKS9br+XFtC38UugM+/L+WQN nH/nb90Q6sGVBAUWA6R9qKzCuBt+hAxf6HES7qZQ5I0/yMpZxO73dkwOgmgW6jl/eGxx tKfittfv+KWBjFpHYQXz2DJeSmMIEoimN3Ip8P7nPSAZL9CLM59o58VmB5v4YUJKrVtO lvxk++MUkMy7MsmiBIuzDZCtAtMwBeAKDISEIQEc2DVD73BzUZG0aA1ztpLH7O/nVYVu baiR9RnbYxIaOwfvkImbUCYjkvT+s9DR2977xX1ZK9hkcrpu3JvYLKhT4es4LMbJA5cJ lFuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=caqZCqDL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a1-20020aa794a1000000b0063d2561a285si10970628pfl.152.2023.04.24.03.22.04; Mon, 24 Apr 2023 03:22:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=caqZCqDL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231572AbjDXKVL (ORCPT + 99 others); Mon, 24 Apr 2023 06:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbjDXKUm (ORCPT ); Mon, 24 Apr 2023 06:20:42 -0400 Received: from forward501c.mail.yandex.net (forward501c.mail.yandex.net [178.154.239.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A3AD1FEE; Mon, 24 Apr 2023 03:20:41 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward501c.mail.yandex.net (Yandex) with ESMTP id 472855ECEC; Mon, 24 Apr 2023 12:35:55 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-2xt778SJ; Mon, 24 Apr 2023 12:35:54 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328954; bh=gzZfNhCP4gLQxuxIz1zy8IGUwOFk5Um/gkdDTo4axVY=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=caqZCqDLVch5A8ypmNCfIAMmaENWkpVFbRauIda656kQ6KQThwDcE991Cawuw51ul AbXrWBNhpvkR7BsGW5b5ohmYThfKk4TDk4Qf5/3xZSL33tgiLyM+HtmaSe+33VREX1 /DbEUmHjj35NZzYFsT+cb1Zyn1hbCY231hA3Dpxg= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Lukasz Majewski , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 22/43] dt-bindings: mtd: add DT bindings for ts7250 nand Date: Mon, 24 Apr 2023 15:34:38 +0300 Message-Id: <20230424123522.18302-23-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add YAML bindings for ts7250 NAND. Signed-off-by: Nikita Shubin --- .../bindings/mtd/technologic,nand.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/technologic,nand.yaml diff --git a/Documentation/devicetree/bindings/mtd/technologic,nand.yaml b/Documentation/devicetree/bindings/mtd/technologic,nand.yaml new file mode 100644 index 000000000000..3234d93a1c21 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/technologic,nand.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/technologic,nand.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems NAND controller + +maintainers: + - Lukasz Majewski + +properties: + compatible: + items: + - const: technologic,ts7200-nand + - const: gen_nand + + reg: + maxItems: 1 + + '#address-cells': true + '#size-cells': true + +required: + - compatible + - reg + +unevaluatedProperties: true + +examples: + - | + nand-parts@0 { + compatible = "technologic,ts7200-nand", "gen_nand"; + reg = <0x60000000 0x8000000>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "TS-BOOTROM"; + reg = <0x00000000 0x00020000>; + read-only; + }; + + partition@20000 { + label = "Linux"; + reg = <0x00020000 0x07d00000>; + }; + + partition@7d20000 { + label = "RedBoot"; + reg = <0x07d20000 0x002e0000>; + read-only; + }; + }; + +... -- 2.39.2