From patchwork Thu Feb 16 15:33:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 654980 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A6BFC636D7 for ; Thu, 16 Feb 2023 15:34:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230218AbjBPPeL (ORCPT ); Thu, 16 Feb 2023 10:34:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbjBPPeK (ORCPT ); Thu, 16 Feb 2023 10:34:10 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 234EA1421B; Thu, 16 Feb 2023 07:34:08 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 31GFXgTH122100; Thu, 16 Feb 2023 09:33:42 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1676561622; bh=JdiG6mmYGnA6sHUWLSIHsE9Q/nBRYbImdIQ8CP+p1vc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rL9IZ3iolob3P0qRu/FCR60rWN+UhuWLkPBXI1C7VWiNShUJ4FJ7K79l4IWw4/Yru ZF7bWis5dTfkHI/r64M/9+ODDpnucZ38IhNz6AAUqFTjpzSjV/BiXfv3fxqu5v/Rco OdI5qqhDqIfJLqkBOiDuyWa5uXlX2wXnN4ql/0SY= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 31GFXg1P040329 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Feb 2023 09:33:42 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 16 Feb 2023 09:33:42 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 16 Feb 2023 09:33:42 -0600 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 31GFXdcf018680; Thu, 16 Feb 2023 09:33:41 -0600 From: Andrew Davis To: Rob Herring , Krzysztof Kozlowski , =?utf-8?q?Beno?= =?utf-8?q?=C3=AEt_Cousson?= , Tony Lindgren , Colin Foster , Olof Johansson , Arnd Bergmann CC: , , , , Andrew Davis Subject: [RFC 2/2] WIP: dt-bindings: omap: Convert omap.txt to yaml Date: Thu, 16 Feb 2023 09:33:39 -0600 Message-ID: <20230216153339.19987-3-afd@ti.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216153339.19987-1-afd@ti.com> References: <20230216153339.19987-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Signed-off-by: Andrew Davis --- .../devicetree/bindings/arm/omap/omap.yaml | 174 ++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/omap/omap.yaml diff --git a/Documentation/devicetree/bindings/arm/omap/omap.yaml b/Documentation/devicetree/bindings/arm/omap/omap.yaml new file mode 100644 index 0000000000000..cf07a7a7df279 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/omap/omap.yaml @@ -0,0 +1,174 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/omap/omap.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments OMAP SoC architecture device tree bindings + +maintainers: + - Tony Lindgren + +description: | + Platforms based on Texas Instruments OMAP SoC architecture. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: TI OMAP2420 SoC based platforms + items: + - enum: + - ti,omap2420-h4 # TI OMAP2420 H4 board + - nokia,n800 # Nokia N800 + - nokia,n810 # Nokia N810 + - nokia,n810-wimax # Nokia N810 WiMax + - const: ti,omap2420 + - const: ti,omap2 + + - description: TI OMAP2430 SoC based platforms + items: + - enum: + - ti,omap2430-sdp # TI OMAP2430 SDP + - const: ti,omap2430 + - const: ti,omap2 + + - description: TI OMAP3430 SoC based platforms + items: + - enum: + - logicpd,dm3730-som-lv-devkit # LogicPD Zoom OMAP35xx SOM-LV Development Kit + - logicpd,dm3730-torpedo-devkit # LogicPD Zoom OMAP35xx Torpedo Development Kit + - ti,omap3430-sdp # TI OMAP3430 SDP + - ti,omap3-beagle # TI OMAP3 BeagleBoard + - compulab,omap3-cm-t3530 # CompuLab CM-T3530 + - timll,omap3-devkit8000 # TimLL OMAP3 Devkit8000 + - ti,omap3-evm # TI OMAP35XX EVM (TMDSEVM3530) + - ti,omap3-ldp # TI OMAP3430 LDP (Zoom1 Labrador) + - nokia,omap3-n900 # Nokia N900 + - const: ti,omap3430 + - const: ti,omap3 + + - description: TI OMAP3630 SoC based platforms + items: + - enum: + - logicpd,dm3730-som-lv-devkit # LogicPD Zoom DM3730 SOM-LV Development Kit + - logicpd,dm3730-torpedo-devkit # LogicPD Zoom DM3730 Torpedo + Wireless Development Kit + - ti,omap3-beagle-xm # TI OMAP3 BeagleBoard xM + - compulab,omap3-cm-t3730 # CompuLab CM-T3730 + - amazon,omap3-echo # Amazon Echo (first generation) + - ti,omap3-evm-37xx # TI OMAP37XX EVM (TMDSEVM3730) + - ti,omap3-gta04 # OMAP3 GTA04 + - nokia,omap3-n9 # Nokia N9 + - nokia,omap3-n950 # Nokia N950 + - lg,omap3-sniper # LG Optimus Black + - ti,omap3-zoom3 # TI Zoom3 + - const: ti,omap3630 + - const: ti,omap3 + + - description: TI AM35 SoC based platforms + items: + - enum: + - teejet,mt_ventoux # TeeJet Mt.Ventoux + - ti,am3517-craneboard # TI AM3517 CraneBoard (TMDSEVM3517) + - ti,am3517-evm # TI AM3517 EVM (AM3517/05 TMDSEVM3517) + - compulab,omap3-sbc-t3517 # CompuLab SBC-T3517 with CM-T3517 + - const: ti,am3517 + - const: ti,omap3 + + - description: TI OMAP4430 SoC based platforms + items: + - enum: + - motorola,droid4 # Motorola Droid 4 XT894 + - motorola,droid-bionic # Motorola Droid Bionic XT875 + - amazon,omap4-kc1 # Amazon Kindle Fire (first generation) + - ti,omap4-panda # TI OMAP4 PandaBoard + - ti,omap4-sdp # TI OMAP4 SDP board + - const: ti,omap4430 + - const: ti,omap4 + + - description: TI OMAP4460 SoC based platforms + items: + - enum: + - ti,omap4-panda-es # TI OMAP4 PandaBoard-ES + - const: ti,omap4460 + - const: ti,omap4 + + - description: TI OMAP543 SoC based platforms + items: + - enum: + - compulab,omap5-cm-t54 # CompuLab CM-T54 + - isee,omap5-igep0050 # IGEPv5 + - ti,omap5-uevm # TI OMAP5 uEVM board + - const: ti,omap5 + + - description: TI AM33 SoC based platforms + items: + - enum: + - ti,am335x-bone # TI AM335x BeagleBone + - compulab,cm-t335 # CompuLab CM-T335 + - ti,am335x-evm # TI AM335x EVM + - ti,am335x-evmsk # TI AM335x EVM-SK + - bosch,am335x-guardian # Bosch AM335x Guardian + - ti,am3359-icev2 # TI AM3359 ICE-V2 + - novatech,am335x-lxm # NovaTech OrionLXm + - moxa,uc-2101 # Moxa UC-2101 + - moxa,uc-8100-me-t # Moxa UC-8100-ME-T + - gumstix,am335x-pepper # Gumstix Pepper + - tcl,am335x-sl50 # Toby Churchill SL50 Series + - pattern: '^ti,am33(5[1246789]|xx)$' # ti,am33xx is legacy please use full SoC name + + - description: TI AM43 SoC based platforms + items: + - enum: + - compulab,am437x-cm-t43 # CompuLab CM-T43 + - ti,am437x-gp-evm # TI AM437x GP EVM + - ti,am437x-idk-evm # TI AM437x Industrial Development Kit + - ti,am437x-sk-evm # TI AM437x SK EVM + - pattern: '^ti,am4372[26789]$' + - const: ti,am43 + + - description: TI AM57 SoC based platforms + items: + - enum: + - beagle,am5729-beagleboneai # BeagleBoard.org BeagleBone AI + - compulab,cl-som-am57x # CompuLab CL-SOM-AM57x + - ti,am5718-idk # TI AM5718 IDK + - ti,am5728-idk # TI AM5728 IDK + - ti,am5748-idk # TI AM5748 IDK + - pattern: '^ti,am57[0124][689]$' + - const: ti,am57 + + - description: TI DRA7 SoC based platforms + items: + - enum: + - ti,dra718-evm # TI DRA718 EVM + - ti,dra722-evm # TI DRA722 EVM + - ti,dra742-evm # TI DRA742 EVM + - ti,dra762-evm # TI DRA762 EVM + - pattern: '^ti,dra7[12456][024568p]$' + - const: ti,dra7 + +additionalProperties: true + +examples: + - | + / { + model = "TI OMAP2430 SDP (Software Development Board)"; + compatible = "ti,omap2430-sdp", "ti,omap2430", "ti,omap2"; + + #address-cells = <1>; + #size-cells = <1>; + }; + + - | + / { + model = "TI DRA762 EVM"; + compatible = "ti,dra762-evm", "ti,dra762", "ti,dra7"; + + #address-cells = <1>; + #size-cells = <1>; + }; + +...