Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2348232rdb; Tue, 3 Oct 2023 20:10:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiOexbNKgHtCDjDXekgIEI7+Tl2O4Aq+TMjUa+WWkzK4dLvM5m60uvejdyCbguJTO+A4PA X-Received: by 2002:a05:6a20:7d85:b0:15c:b7bb:2bb5 with SMTP id v5-20020a056a207d8500b0015cb7bb2bb5mr1471404pzj.7.1696389050571; Tue, 03 Oct 2023 20:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696389050; cv=none; d=google.com; s=arc-20160816; b=JEjsCqZYdbSvkAfwPSKnCtz1wBinWHiiUcOxQSI5fOJW+8rFm4/gfJaUst4reaKS7T baAcq/QC9nGu4+iyKyvjjm//XzIJ7CMJpeh6FqXeHlArmuDTyFR8lBWaHGmDce8tzbnp Q4ekOuNkBOKYcQ9NSi4tRvBZQ9XcAR4+o0P6LxgalFNdyUCvI2FuB1+yjOIbn26oFa9V GRTjCHkXpxhJdHeeCvDyl+nkjuwf4BS3FpFkhfYC1lxjxD/6nJEWur5YDWIfL0bt7uq1 qBV3C9e9QE0LarExK0hTNpE/Q9XjgKGR25+cTUjPAWI7OUlSXESFRMyw42FU0OS4BALG 3t6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hMdEUf/4yFvCHQXHeq3Asp1z1qEpAfLj/RivP/ws4zE=; fh=J/NoJ/XEOlSiPDd76z/3N4IZ2T10gcRrWRwxmMoC/FM=; b=a8NVFd09/8E4BqH99MY8EFZZYudl0+P4xCbZETDRzP1FxbhtdbRKF8JxNUztDkLfbD 3C8Klp+g92c5B/htzZLDuBMN/370/R/mg7uv3VNW/jmqqJAjmWbnSjMOrosowRQIJEJP JGwPwvqC3W8//iZaDx2U2prf1xTRMTAF4tkLmeShFs2Rml+TSGSswssifVi44ZTkTY+u RSdt6fufw9ycL/8IdFyWUTvAae4rdyFlNzdLeUW+lxQWQlTbQQQ6L0ug2caL4XT2nJiR 3O74tzSvFa55TperHZjENT74P8hxF0OGuDUpI4hzI+J3x6PJrekADt3pK65eBVoCrrII +Gsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SuvijANy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id cq14-20020a056a00330e00b0068fbdfa7379si2774881pfb.311.2023.10.03.20.10.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 20:10:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SuvijANy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id AF3ED8088A7B; Tue, 3 Oct 2023 20:10:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231446AbjJDDKH (ORCPT + 99 others); Tue, 3 Oct 2023 23:10:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjJDDKF (ORCPT ); Tue, 3 Oct 2023 23:10:05 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91824A6; Tue, 3 Oct 2023 20:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696389001; x=1727925001; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mJnhoo943eKVTSYrVP9yvYUDpIcrgWMkHfVZOqgfH5k=; b=SuvijANy3V00euQbJcJHFHElhVyO/QfkFqbklw9bMUybWmo1x2KFpUhw gXIVQh7wV0x94AMy0Mc+QZXzVzbeFaapGZo2nQwmoQjVOCd58gdESAB/B yNEPFrOgEFPYR5/U1KQAxaCupF38/OanlhHu9B3bxYD9IPZMxXFVJZckp AF1+7HRcjmTTE3DmCj4AGHr0rRHxhvTETZg+T5LNJBYZmcVq9tte/ySSg WdJ0lz3C6or18DCxN1TQEyB/U9mEZFM5V9A2YsKjBMLrkjWLZsgAdc4dx DNntWCrvtpS8zrGMyHvf7uAAXajoIYGkN8dROIMAzMlOqfkoZ4Y3S2hyF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10852"; a="362395999" X-IronPort-AV: E=Sophos;i="6.03,199,1694761200"; d="scan'208";a="362395999" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 20:10:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10852"; a="924889221" X-IronPort-AV: E=Sophos;i="6.03,199,1694761200"; d="scan'208";a="924889221" Received: from unknown (HELO localhost.localdomain) ([10.226.216.116]) by orsmga005.jf.intel.com with ESMTP; 03 Oct 2023 20:09:56 -0700 From: niravkumar.l.rabara@intel.com To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Niravkumar L Rabara , Dinh Nguyen Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: arm: altera: convert socfpga-system.txt to yaml Date: Wed, 4 Oct 2023 11:07:23 +0800 Message-Id: <20231004030723.11082-1-niravkumar.l.rabara@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 03 Oct 2023 20:10:15 -0700 (PDT) From: Niravkumar L Rabara Convert socfpga-system.txt to altr,sys-mgr.yaml. Signed-off-by: Niravkumar L Rabara --- .../bindings/arm/altera/altr,sys-mgr.yaml | 50 +++++++++++++++++++ .../bindings/arm/altera/socfpga-system.txt | 25 ---------- 2 files changed, 50 insertions(+), 25 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/altera/altr,sys-mgr.yaml delete mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-system.txt diff --git a/Documentation/devicetree/bindings/arm/altera/altr,sys-mgr.yaml b/Documentation/devicetree/bindings/arm/altera/altr,sys-mgr.yaml new file mode 100644 index 000000000000..8deb70aef664 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/altera/altr,sys-mgr.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/altera/altr,sys-mgr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera SOCFPGA System Manager + +maintainers: + - Dinh Nguyen + +properties: + compatible: + oneOf: + - description: Cyclone5/Arria5/Arria10 + const: altr,sys-mgr + - description: Stratix10 SoC + items: + - const: altr,sys-mgr-s10 + - const: altr,sys-mgr + + reg: + maxItems: 1 + + cpu1-start-addr: + $ref: /schemas/types.yaml#/definitions/uint32 + description: CPU1 start address in hex + +required: + - compatible + - reg + +if: + properties: + compatible: + contains: + const: altr,sys-mgr-s10 +then: + properties: + cpu1-start-addr: false + +additionalProperties: false + +examples: + - | + sysmgr@ffd08000 { + compatible = "altr,sys-mgr"; + reg = <0xffd08000 0x1000>; + cpu1-start-addr = <0xffd080c4>; + }; diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-system.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-system.txt deleted file mode 100644 index 82edbaaa3f85..000000000000 --- a/Documentation/devicetree/bindings/arm/altera/socfpga-system.txt +++ /dev/null @@ -1,25 +0,0 @@ -Altera SOCFPGA System Manager - -Required properties: -- compatible : "altr,sys-mgr" -- reg : Should contain 1 register ranges(address and length) -- cpu1-start-addr : CPU1 start address in hex. - -Example: - sysmgr@ffd08000 { - compatible = "altr,sys-mgr"; - reg = <0xffd08000 0x1000>; - cpu1-start-addr = <0xffd080c4>; - }; - -ARM64 - Stratix10 -Required properties: -- compatible : "altr,sys-mgr-s10" -- reg : Should contain 1 register range(address and length) - for system manager register. - -Example: - sysmgr@ffd12000 { - compatible = "altr,sys-mgr-s10"; - reg = <0xffd12000 0x228>; - }; -- 2.25.1