From patchwork Wed Nov 23 23:32:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 25246 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3093539wrr; Wed, 23 Nov 2022 15:49:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf5nrnaNIsSUHPhJC7Y/vpuHU0SmkRsd1+/opAwe9mLlOdfoxyvBqALL1L1vAyrFrnDwr3Pa X-Received: by 2002:a17:902:aa44:b0:189:fdf:a3d9 with SMTP id c4-20020a170902aa4400b001890fdfa3d9mr21816675plr.9.1669247356571; Wed, 23 Nov 2022 15:49:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669247356; cv=pass; d=google.com; s=arc-20160816; b=yIj9eO86bkJ9Xkex4Nk78qnDWMuUfBYiTouhOs8mFDT6HWJ9XSMe8S/Et3e8jCO/HF 89kvCh1gyclnqBK3gatWYWuCy384zIEQ4OLbcc/pTBFr3m4Par0H+aNiiDsYuooUgkjZ S6dgTZlcHfd4M8pA2Wy59e/v8uIxE1JuWwvlMG8OV9i3a9V6Ky7mRlGJkAfXywbaBLXS 4qGF0M44XPunhE5kBv3qqwekz02iyXO6c6ByaQdAJ9OAy2Xf9Zi9gTPUDSbFoN5Y6QdV EcZpByZCF5YbsvK8gFhaqLyn6V6NqpDqI4+XRM/Fa2ZTuAbxZRxvdOyL9noeWsq78QEG rslw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yauLbyPHi6yHHqtV7VG0yfwhmsPqfj48qc+vaWsvCCw=; b=P79z5pusGT0uDNoR4OmrrG/GbsdRwGPC1V7fq+YQTjh6Smrn/SBac59cS2Wqq+GdIE 78Z7jf3FvAyEoufbb8cxQsBj6CMbqoRUGqnkwvcT6feciVl/M41g5zxM7T3yuvigZVzL Z8n9raq/If0X/qTDPE7oa8Wokn+t13bJ8rmOlxCI1MTMbmZAIGsohSXff2xPvxzlwBfB 7VWQS2eHMDQXa3BdYC2aeQj60mrZexygon6u1F+UHK4+a3MjWkGxZbN7veNhi0DKGKHf eXpYR8U6aAlma2ihmRdRRBbqxhpr02SoNkFhmVRj41c+ZGp1R1Nhw1DqL4iaI4DZloo4 GJ9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=b0OzIVwS; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y23-20020a056a001c9700b00571d38602bcsi175747pfw.295.2022.11.23.15.49.04; Wed, 23 Nov 2022 15:49:16 -0800 (PST) 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=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=b0OzIVwS; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229997AbiKWXcj (ORCPT + 99 others); Wed, 23 Nov 2022 18:32:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbiKWXcf (ORCPT ); Wed, 23 Nov 2022 18:32:35 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2107.outbound.protection.outlook.com [40.107.220.107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98DB2A44F; Wed, 23 Nov 2022 15:32:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J87FSUulNn5aGk9sSW7aB/qEjvxUord0FM608s/vLzWUT20CiU7iEhXtdijNbEuZThult1EecDaqP1+ruRdomJ54q3aNYy1kZ0mhLzf/98YXXvmI7Bzr5ve1UFryVpbluu0EwvwPPhTTJeQVRQb3uyxhckcNqSewPbihU81R6KvARAZkMYq2CuvaElBoNnhAu9sXs0Yja1y+QzsOXjLB05rHRTnY0JymDbbzwka+l2Ktvhvg2V8kIer5wXTDNGKt6IbQ0a/+nsaDS5GxmnC7Uz1V6VRT0x3BdHBdeXubKK+hhF8AnKOEGDAoiI6S5W1bWppVFoaitYLwLanncN7aLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yauLbyPHi6yHHqtV7VG0yfwhmsPqfj48qc+vaWsvCCw=; b=loA/16w7lmlv0ztnYwvH4lrl/zCHUcueNv3oQO8WqonBYQ3ZdYumpCFSOWhIZZqQ2IkKdWap5kfJGziUc3G6BoeocvUkRlM4rqAIN72iXWlPcQb2hcXiDn3cZToV/YtYxKJ283yoMVvX90ElzTqDs80S+i2MIhmAkc7KBA31theV/xTec6A8uiSfrce7F9S8Wflt5+UxH/9RwWMufBMY4IaIRDnDw7ypt3MWk3Pnun6ufKvcQYDJb3jy48VdRiFPnB/QwrQIE97y1Bu/xtdHRxnzHkgK4NhQ8Bhepo3drGi5NFmMpSoZ+zud6Kg5YlLPgTzMYh9ZFluZJdfS/8HX2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yauLbyPHi6yHHqtV7VG0yfwhmsPqfj48qc+vaWsvCCw=; b=b0OzIVwShSuiKBGHbthXsEh2asuBIdZwH5QBq40rsa8LAFDA897GV/sTWXwcuc0Lv8guHheoM1QyA+uV7IP4SMya69b5OMKCtJOdfjqc9YqI0Ai+7APWHxiaXFOB41ooiUxrWkxjRyvgmQF1xi6dDNLwCNOKxOcjxrAJsSbelqY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by CH0PR10MB4873.namprd10.prod.outlook.com (2603:10b6:610:c7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Wed, 23 Nov 2022 23:32:27 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c%4]) with mapi id 15.20.5834.015; Wed, 23 Nov 2022 23:32:27 +0000 From: Colin Foster To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Tony Lindgren , =?utf-8?q?Beno=C3=AEt_Cousson?= , soc@kernel.org, Olof Johansson , Arnd Bergmann , Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 1/2] dt-bindings: arm: omap: add phytec pcm-049 som and pcm-959 dev board Date: Wed, 23 Nov 2022 15:32:08 -0800 Message-Id: <20221123233209.1854806-2-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221123233209.1854806-1-colin.foster@in-advantage.com> References: <20221123233209.1854806-1-colin.foster@in-advantage.com> X-ClientProxiedBy: BY5PR13CA0025.namprd13.prod.outlook.com (2603:10b6:a03:180::38) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|CH0PR10MB4873:EE_ X-MS-Office365-Filtering-Correlation-Id: e048a9de-e10a-4991-3c14-08dacdaafaf7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KxkpPYDl0NnZxLbvcuu2Z+VKbDZEz5f1D0Urs049bauujWsJ4A/Pwp+kNy0FRwuEA2uoI6WaxN+yNJ8qbHRcl3rvgliFZNil93NCZ6ucr6BR3WOLco3bf+x0Ds0ol7E2GmpfK2aC4/q8iDPUhJdYbY+vO9JK+9Iyu+TrAoMDjhLIC/qX6GeV+noWll+X2oMr5mFnb8wJU+vTPmnGNHo2U9nMefYOFywesQesjGvQA4HGIvansH4HbLJwWhuTPnZw95c/MnbjR4XSxtLzAgwaGJl7bi/2NCAt87VwAb2duutPjJKDAuG8MQ5Tfz9ec343OEOW/OfrvVs1+5KNqJ8jZE3MVYpEas25dgIm3bZIbsrR4AtRygnC5ulNzPwX+O9eqS2sKoS37ud2hPUkt9f0jX3BxfenofTe4NQj+8CWOEo6Vh5QgzZH/KvyjWN3zJVYGOoqUL1fCsKKaulpwTiij/PuhmYtkw5NZ3+hkKMghTjzxcqfOiobqK2fbFD/5Eyfv2C3js1cDZ91GtpocHqBd/MAJHDVsn5dF9vQEaYZvy/3BVmW7uv/gWA/D2UHK5uM7UnX5VwyJ27G8dJ7a2VDyZJMjyHoTLishYWuaUpaT37w4cEUg6MpwXogYMgkmHoFysFcrDMWIEkcGUjOBAANfCkzizaO7MHjLez2WiC9EZFtnIa0o1Abl8ZrXCAtsqY5 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(366004)(39840400004)(376002)(346002)(136003)(451199015)(6666004)(41300700001)(478600001)(6486002)(66476007)(8676002)(316002)(1076003)(8936002)(26005)(66556008)(66946007)(4326008)(7416002)(186003)(5660300002)(36756003)(54906003)(44832011)(52116002)(6506007)(2616005)(2906002)(86362001)(6512007)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: leP8tLmJYsIK6+ECV93SMfQpT4x/bSPKUABw+nuW9ilU60o1cozLBOBy8y9aGCAjWEy/Iaby15srwV1QKHwTVqZjH3JFj8d+/nVm7QNNDkmvce1zgfWLsLeRwH6rSUXNXLTCA0p3RQVofqiieXGmMrIkfD79kve2+pZKnEOmdj/OlJM3GSY2o6jiXQcUnGEfba5j+sjPycx6pY1y1XlL0lXHA2eTKq3aJmvMAZjF/8M9OXJzDg2kD+DLSEXKWW9x3mw6vTQExnhI47kq1e049kUYR2XT35dwai16TJvAkFU77iwayxJeoG4g1BJy69DPHJ+M5M/gJyeJIW8MLDsBxbHmdoOYPF+sGk4NC1MT8GUMgRc85TMjzjtmVPsiQ5MbmrNStqF7D0PnMEMVBydK1sIFztJnNp6epmfW0mlVboMM/PDPbKUbdZaal5CvkHlhAl8V6KLSAbt8r2fqqx9r/dfoD15n5rxJ7MVUr7ln/fUCXu4paGQHUo6rkHm7GsjgTLlhRHGYhSm0wKH8deX9hbfTj44u1lF1RjggCmdAuexL0zZSsiD5jFoKPI5nB+ochWuFcQUR/4yg1s1I8TKo8hKvdpLHYou+wplkcnW6H9bZccJwb4JUhvPz0hq5wJ9LvWfIoeA6ysUQ23YRtfhrZ69hk1FgOqnjL3V4l6UpEuMzLCbinSsataYiRUAaY3Ix7QZN9lROPeROd/P5NGMYhbyi+BEDYUPRbVvJzS67E7yj1MhF8pF0ZVRf2rSQuJdPBacmQew3eVhdiHZAfGvbzgYRrwuEOQfCQ1zgnbpudvdL6Wliqn/Ki/r8O2dK911Lhtnu37fyTOC4bVddJgz9ttnGzR1d9DXjgx+cVstRjBXRFzDIWgQe6WUnb/r9VS9oA1ww8dePSlgXR2sq2nMn7vIZ4rJKTjmUTaKlLEbqoYTZhjAD7H96q03FVL8VEdZhRZYE0qYEHRXiU/up9RNl4ZeB3DZ8gmZRjoOaYQYwD2q5/hh0lYTp/nTRZs8JxsBBZql/ROsEEPYvshT+MDW3owfeXJRr1y4+Wgwuq1JyVLU+uZf/xn+rT2NDWzT7N+XQhxsjWxDLjmctWuO751FWdtYTFP7b18Po9l8N4WFUaFshOoW4xk++fcOPxDYhtEIIdONSbnnLc9GAgSkSRwEJmDcLLKeq7TDCyum721Jh8kiUq5aZ0/a4B53XQxYREkYC0Pf9FJNHKGb/Cxuk/PIJg34G22vRjY4vRYlhjjarLGmE6UrzRGvOYtPDLxRYyffIzZcR3f/M+LW4QBlQ5FiMenYG3OjXKkR/7IG3nS0fZbNebUlJYBqBhrWEVXq3Lpg3oN5eFal+y85mbkugcbdfKsE7wLXYMiu3JBWHNNMqhjeN0uSHZWdy7VWM359V793dhgX/3rIx6EinhFgr3vZkMzmViFsmPCvCHIO3ZOaJif5F6ph2uJEJf5kem2fB2GBv1veG9wvJIXbuJ/33nWHjCDNSeSCG82J7elVoZ9QUyoarfnYp3tAZE9bZvvDEoqqLebvFXOAM6wPwiXwxmRXxYz89TiZGRhJnxLQeTtB5YfbAm1wS8edtjw16LJQ8a6Pby8LCg6lBgcCpfoWPn8fAoA== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: e048a9de-e10a-4991-3c14-08dacdaafaf7 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2022 23:32:27.1390 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OVxJmbVfKdNA+S6KKLTCX1gKYxaasb/UgzNcTgwBGibGtibz6K7mRiexwbsCocheNpNGcM2r14z+oWqY13ddPjZoxIgJ+bRTzibvEchxC3I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB4873 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750332716091271742?= X-GMAIL-MSGID: =?utf-8?q?1750332716091271742?= Add documentation for additional OMAP SOMs and development platforms, provided by Phytec as the PCM-049 SOM and the PCM-959 development kit. Signed-off-by: Colin Foster Acked-by: Krzysztof Kozlowski --- v1->v2 * New patch --- Documentation/devicetree/bindings/arm/omap/omap.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index fa8b31660cad..0a28215dfa12 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt @@ -131,6 +131,9 @@ Boards (incomplete list of examples): - OMAP4 PandaBoard : Low cost community board compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4" +- OMAP4 PCM-959 : Commercial dev kit with PCM-049 SOM + compatible = "phytec,pcm959", "phytec,pcm049", "ti,omap4460", "ti,omap4430", "ti,omap4"; + - OMAP4 DuoVero with Parlor : Commercial expansion board with daughter board compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4"; From patchwork Wed Nov 23 23:32:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 25247 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3093547wrr; Wed, 23 Nov 2022 15:49:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf6qR0CmnW1xB9Hm7AGXUyqWN/sZZEgCEFc+0ovgna94LcXcO4DW94RJpDDe/Yw0H6+q2vhP X-Received: by 2002:a17:90a:ac07:b0:20a:f75d:b9af with SMTP id o7-20020a17090aac0700b0020af75db9afmr37765748pjq.222.1669247358326; Wed, 23 Nov 2022 15:49:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669247358; cv=pass; d=google.com; s=arc-20160816; b=B0YOikfQqU84jcD12YnL4xGqNZDKGgfHNpgz6f0yqffeSXX4c1OVs3aupomPOgjY6F 7qMVlJ3gb6rBmf6/sjpcfHsoq/phVDKcT6qLSJfNGTcnRD4oDWd1haTcIKxp1Zv1w24j t+u7VwkMR4TuHvJc/6V62z1hpHo8N2XAuDKiuzRhuvwzZypwpDWE+5vAzF2B57LxRRNL LiidTvxbNdp3LoZd8+RmwUDf1m15WV6GpvqlsWsp4QMKe2E7PPmGWZI3Hl1g6XoVI4vL tFv1Rhi81OjlzlmzO6IGXahTc8D5WeSHthR5u5WiPAhgWLedgNjA/IPhFoW9CtybsjdS AH4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sTqBk6937wKHSAfoK/1iSUgScwo3M+NYAU3SgNb+8KQ=; b=QuLDZTwkdUGxbzfNeDTV0bfaNNvSXyOaJKw2tpY2uyWZ5vkYVvW6o2xLDd7KpRP8yV cR01LWzdCD9dH2+FI1wjFWIiPL7nSI5p3tigUaGDmP5ug64xDCWBrZnb/rbCLTIUvU35 UVt5vCnRls1i1i+uePEyw8pj3m50aE7FYDJpzjs1dxpD3IxGDeSD+matwAZ1kzEaLrUj 3JUVTenXCJb1T3ylIb/pGJBT7WsXEK4BHLJuy2vrndOlYoAmWGunJ2hQ5sSfOxxJilJb nmXd9VgxegitNFU9g/bHad2U5m1DUyRL8yKx5hIcU5YHHDRBBe4zs6xP7FNZXtM+dfPu lsaA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=H3RImKaO; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a170903240700b001890b03d23asi926882plo.416.2022.11.23.15.49.06; Wed, 23 Nov 2022 15:49:18 -0800 (PST) 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=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=H3RImKaO; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbiKWXco (ORCPT + 99 others); Wed, 23 Nov 2022 18:32:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbiKWXch (ORCPT ); Wed, 23 Nov 2022 18:32:37 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2107.outbound.protection.outlook.com [40.107.220.107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22041E094; Wed, 23 Nov 2022 15:32:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DiQaIZws1X2+JjjGWFk8+4Xz8jZUDKby4T5ntihKSMHVkC7V5InNeIQxxcDzjrqiL6PHmJdwz+Oy+RT+7WmXkTk+zLeAExtCDBcUbCUtdyVzeVC4dxWOlQbPa/FiXXRvG6WOhYceDURgU0CoEmTmKTl3CVS7iMqds2qEU1hXR6VHyNZQycttIB7MrC1TvTeLrf6SnvfNwcl7bZOIEXJ2qA2w+mz49d3o8oSlr7UnMYM+MVlOi7NKDhOmNd+W7BHzI2c7KDI1CKfUmeumK9qaM4W5M9W3g2FINB1DSYj7noR3isjZiMmK3c1x4ugI14/9U1aIJ5p6/wfAfiOB71H0PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sTqBk6937wKHSAfoK/1iSUgScwo3M+NYAU3SgNb+8KQ=; b=NScncdQ/Xcn/lOq6WQ59OnzkyvKe84VKb6LiG6yV/0rdkJku92hUGqSnuQy+6PTX5ozIulNYPmeuF6R1NmffiZ3qVsLMP+6yRwyTDmR48RKVRO6JHZvuGHqGk0aqh4nwZxbUe8wTAuTi0lcaEbYpnAZPAKX3uA4ZomhQrRKprCdaKVc83zj6p78+FJAun6+ldpzxDwvYgKCxa0Qxh1bHvFIYkhpvcNP5KtKZr3eU8eEAQfHtnO86y1Vj6WuUEqtxvEqnPeZKp9oYtHJdH7b2Yyev5Iv0/QxBAQf9c2XcY2r5jUzlpOqVcrdLvg8X1FLu56QUjnAMbQ6koswMLVZXCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sTqBk6937wKHSAfoK/1iSUgScwo3M+NYAU3SgNb+8KQ=; b=H3RImKaO5a0XJZywq2SMQmtuER9Sl/D4tLszS6LUcs7EjYBWstxupSnDNp9qflwj9oVRWwPc3aLNoR/ORGE0kN0kEel6Tb41Px2nrEASr4Ah5b/GeBSC3MMMuXyfA9Trib4jbqP2FhdVwOqCg6mxVW38WDoa/6MVRf0eZYKXFnA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by CH0PR10MB4873.namprd10.prod.outlook.com (2603:10b6:610:c7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Wed, 23 Nov 2022 23:32:29 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c%4]) with mapi id 15.20.5834.015; Wed, 23 Nov 2022 23:32:29 +0000 From: Colin Foster To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Tony Lindgren , =?utf-8?q?Beno=C3=AEt_Cousson?= , soc@kernel.org, Olof Johansson , Arnd Bergmann , Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 2/2] arm: dts: omap4: pcm959: add initial support for phytec pcm959 Date: Wed, 23 Nov 2022 15:32:09 -0800 Message-Id: <20221123233209.1854806-3-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221123233209.1854806-1-colin.foster@in-advantage.com> References: <20221123233209.1854806-1-colin.foster@in-advantage.com> X-ClientProxiedBy: BY5PR13CA0025.namprd13.prod.outlook.com (2603:10b6:a03:180::38) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|CH0PR10MB4873:EE_ X-MS-Office365-Filtering-Correlation-Id: 00d2fd03-21d6-430c-b6a0-08dacdaafc49 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z0lzq+t5citey+KFmdowNDCNdQ15iG+9gyhhsRada8s4Lk/8T09aCcTCNBAU3KfuwWVByXKllwDgAvZIdPgXUahkxz6flWnrPa5BYI0cQYeJE3dLiku7AnFv2YNiTSxSgOKh3rjwRESpw6YCTYAKQYEH739ghByiXWymT8Cp/r3VD1TPdbDgpLfQFXfhl3vhZFCjCgSRUokGD3TL6OdLHeKLO4XEe7dQj2qZ7+Z9nD6v/DU30e5UieSdfGB7OyDsm9XTJmOHENS1YisMob7tYVxQERiSb6Gl4BCL6uy7WufzNI33iUIFL4d1UMoE9tRv610Qef/eivtK1YBd9xf8AJpVAGAwi8pM85PZKoC+EsPBpDLsPjxUPmftCXGFBMYqi3TB3DDlHUX7gjOVM7mVOCjY6pFf3d7lUIcvAfPWENFwS99zSccnN3bLesg7xgKZr278kU5NZMRRh0B0XJcVSS1snOvT5KWfMInwRgb0S1nrO/p/zYscrjj+czJzx9AK9sn49valGy+b5Vsix+NyIP9/KtKepLSQpFjeBlkmZbv60TCi4oKtsY9zstTQZiJIEIc2OfB+XJGXpyBuMIWB+KWvVkU1XQATyJO7mv6BNNCgY9V99HgEdz6Wwi/RIW8sdmpJuXNIO6gIqLSfNuqO0yntEPzcaZQ9IWNfDi83HtonNI9N3uHR6JmmIqrsBiZx X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(366004)(39840400004)(376002)(346002)(136003)(451199015)(6666004)(41300700001)(478600001)(6486002)(66476007)(30864003)(8676002)(316002)(1076003)(8936002)(26005)(66556008)(66946007)(4326008)(7416002)(186003)(5660300002)(36756003)(54906003)(44832011)(52116002)(6506007)(83380400001)(2616005)(2906002)(86362001)(6512007)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TeK1FlvodET2JPggP7xWomoIbtxGhKMcgE3VLB5O61EG/yfWvnKeWfrj3qIs5ED4vItcpqugausvJkwZyhGXtS8wi7gDYpFIEK1Jf9rv5OV4nrqPqgvIrdI5PT90xTbUFDLf2GZA5LOpy4f294RQQ+XJQrrWO6HCDGnLiie05nauFap3pv01yo5m6o8L6DRYjZsNKayk2P0q5r2iswO8qRURO0DIptI3X4mHP5TRP4L9IuZf1B3LfzKOQlcSRBTd/LMNjv9b1mS4afqKKyNMTK2xX0TKjwHxQZ5y/t9dQPQcdZgALE+d9afWINisax5CcnFRIr0/jzLKYvPvhDZtWQIXHzlAXPxGQvloVkmMu9SalkV5AabwbhZ6O4bPpMKJL+KPHh6EZkTCH4iMJaOnbe46L72PORORUmoRa9Z8qykuyUINdSNsKd7XwpFTG6+9MyULZEA/+AfLez39xw0Cdg49QLBEwGamIhbWDDSHRiW+iRhzSzCKXFiWsCTRAO5OhSn8wPwhm1yJBUHyLPa8B8PjDlesjl8o/sN+516ic6PyLSlsglNGAfxawWP9k+jKA+PnVQUdbHzFPcgnPgTBRDzKdHvCD0nazni4OD4giGLwNhs1A6OyEylb8i7Kignavn+T12jqXkzfsnxWFiJe73yaf+PC+hGYeFKoDpnOxVi0rLUgPEoqCO2wUjsc4M3Hq4rKrCw17WN7337NCTqL3JcEcgTmjlr9rH9TE63MBK5E4fZlKC1OpdzCzKFK5mkE72N6tB3kDnHZPJrFECSvhnhyajlCg74hRPqrQDl0SGY8zf75KcwsZ28SeE7pcYmVSarolXwTBPgjgOsFOQx0/BZhLCrYgzFg54QZ7kyHOlm3bh9g9rCS71xU1uQCxh/VqnfPNcj5mc9T0L6IWE9K2VGCtDXM2TPbEg8b8baCTxrp7J79DTXcqvPa/fUQJ6AIhYGo+3bpFGOgN8FV4qY9BPFMMsgV+Kc3Z42PrN8+5scDkZ2j6cQLjjanjtTud3U5dX/jMi3Jjn/78rFJSzm99rXr2YKf0+WooCz9mDsruE22EXlJyUpnANl+GboQKkxQoI7x20kdK9d2jPsU3mL4a+C6nkGv2m1wM2a4COx/fkgMAB7TqjrrDDhglxsc0J5JwgmPhIhCVBO4aXfIv6dbXjJZpYY9SHd8TRrHh0hWIW2WlJv5lAElhAtjZB4mf9cLhhM06Z2z2VYwVYHEy5/1ccHKbxkCKts/BzFw5AkDXS+0++db2ZFBOGjOoh6u8MUztO9+UKLFUQMpjWso9pFDaH2fcqje4hkBDyJs1HaX7NELQOEiJrsjl18Om2Nq9EBhPuGAZl9kzkuZGc1/NyF3v4iuio/v0mGWkR1IEMpPmbsEF4OnYZ3DZSfU43G+jyUJwrt4djTbVdZ8QF0CsLVJu5vEI1jdnpA4sQm/yAED+BnkFwxAWbdh9PV6ECKWLiTz0CaMQ27BzCt55BytLjehlwrEtdGbFi+7Zja+FOFUrJLjV0u1Sr+Xe1a18870r2et3hM/Ugvi67b7+Zeiv7DrlM1jqywis4nxyHSQc+/a/QzlfeDUrzDG/O2oUxO7RK0KqP0q66yVRO/+IzvYGDTgwQ== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00d2fd03-21d6-430c-b6a0-08dacdaafc49 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2022 23:32:28.9982 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +TAXN0GvNtYl6H1AiNa1b31gArknVLJfNpHmjjjFoJdHQBUNswDRSyKILLgnj4IWvqbHE2p8i9NK0tM3cbMuo1ZnN4QQRuJNvTOzgYvKdSg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB4873 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750332718089129907?= X-GMAIL-MSGID: =?utf-8?q?1750332718089129907?= The Phytec PCM-959 is a development platform for the Phytec PCM-049 SOM. Add initial functionality for the board. The verified interfaces and peripherals are listed below for the SOM (PCM-049) and the dev board (PCM-959) The omap2plus_defconfig was used for testing. Only the On-board LEDs required CONFIG_LEDS_PCA9532 addition. PCM-049: i2c1 * EEPROM at 0x50 * TMP102 (hwmon) at 0x4b twl6030 GPMC * Ethernet * Flash Serial (ttyS2 console) PCM959: MMC1 On-board LEDs (with CONFIG_LEDS_PCA9532) Signed-off-by: Colin Foster --- v1->v2 * Almost everything moved to the SOM (PCM049) * Fix where omap_pmx_wkup were actually getting applied to omap_pmx_core. * Use hyphens instead of underscores for names * Remove unnecessary entries of "status=okay" * Use generic "regulator" and "led" names * add compatible strings for the dev board and SOM --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap4-phytec-pcm-049.dtsi | 412 ++++++++++++++++++++ arch/arm/boot/dts/omap4-phytec-pcm-959.dts | 48 +++ 3 files changed, 461 insertions(+) create mode 100644 arch/arm/boot/dts/omap4-phytec-pcm-049.dtsi create mode 100644 arch/arm/boot/dts/omap4-phytec-pcm-959.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 6aa7dc4db2fc..ae8338cb5bb1 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -968,6 +968,7 @@ dtb-$(CONFIG_ARCH_OMAP4) += \ omap4-panda.dtb \ omap4-panda-a4.dtb \ omap4-panda-es.dtb \ + omap4-phytec-pcm-959.dtb \ omap4-sdp.dtb \ omap4-sdp-es23plus.dtb \ omap4-var-dvk-om44.dtb \ diff --git a/arch/arm/boot/dts/omap4-phytec-pcm-049.dtsi b/arch/arm/boot/dts/omap4-phytec-pcm-049.dtsi new file mode 100644 index 000000000000..314b37e51082 --- /dev/null +++ b/arch/arm/boot/dts/omap4-phytec-pcm-049.dtsi @@ -0,0 +1,412 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2022 Innovative Advantage, Inc. + */ +#include + +/ { + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1 GB */ + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dsp_memory_region: dsp-memory@98000000 { + compatible = "shared-dma-pool"; + reg = <0x98000000 0x800000>; + reusable; + status = "okay"; + }; + + ipu_memory_region: ipu-memory@98800000 { + compatible = "shared-dma-pool"; + reg = <0x98800000 0x7000000>; + reusable; + status = "okay"; + }; + }; + + chosen { + stdout-path = &uart3; + }; + + leds: leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = < + &led_gpio_pins + >; + + led-0 { + label = "modul:red:status1"; + gpios = <&gpio5 0x18 GPIO_ACTIVE_HIGH>; /* GPIO 152 */ + linux,default-trigger = "heartbeat"; + }; + + led-1 { + label = "modul:green:status2"; + gpios = <&gpio5 0x19 GPIO_ACTIVE_HIGH>; /* GPIO 153 */ + linux,default-trigger = "mmc0"; + }; + }; +}; + +&gpio1_target { + ti,no-reset-on-init; +}; + +&omap4_pmx_core { + pinctrl-names = "default"; + pinctrl-0 = < + &tps62361_pins + >; + + i2c1_pins: pinmux-i2c1-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */ + OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */ + >; + }; + + i2c3_pins: pinmux-i2c3-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x12a, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */ + OMAP4_IOPAD(0x12c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */ + >; + }; + + i2c4_pins: pinmux-i2c4-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x12e, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */ + OMAP4_IOPAD(0x130, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */ + >; + }; + + uart1_pins: pinmux_uart1_pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x126, PIN_INPUT_PULLUP | MUX_MODE1) /* uart1_rx */ + OMAP4_IOPAD(0x128, PIN_INPUT_PULLUP | MUX_MODE1) /* uart1_tx */ + >; + }; + + uart2_pins: pinmux-uart2-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts */ + OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0) /* uart2_rts */ + OMAP4_IOPAD(0x11c, PIN_INPUT | MUX_MODE0) /* uart2_rx */ + OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */ + >; + }; + + uart3_pins: pinmux-uart3-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x140, PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_cts */ + OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE0) /* uart3_rts */ + OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0) /* uart3_rx */ + OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0) /* uart3_tx */ + >; + }; + + led_gpio_pins: pinmux-leds-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x156, PIN_OUTPUT | MUX_MODE3) /* gpio_152 */ + OMAP4_IOPAD(0x158, PIN_OUTPUT | MUX_MODE3) /* gpio_153 */ + >; + }; + + pinctrl_tempsense: pinmux-pinctrl-tempsense-pins{ + pinctrl-single,pins = < + OMAP4_IOPAD(0x154, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio_151 */ + >; + }; + + gpmc_pins: gpmc-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x40, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad0 */ + OMAP4_IOPAD(0x42, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad1 */ + OMAP4_IOPAD(0x44, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad2 */ + OMAP4_IOPAD(0x46, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad3 */ + OMAP4_IOPAD(0x48, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad4 */ + OMAP4_IOPAD(0x4a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad5 */ + OMAP4_IOPAD(0x4c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad6 */ + OMAP4_IOPAD(0x4e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad7 */ + OMAP4_IOPAD(0x50, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad8 */ + OMAP4_IOPAD(0x52, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad9 */ + OMAP4_IOPAD(0x54, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad10 */ + OMAP4_IOPAD(0x56, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad11 */ + OMAP4_IOPAD(0x58, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad12 */ + OMAP4_IOPAD(0x5a, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad13 */ + OMAP4_IOPAD(0x5c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad14 */ + OMAP4_IOPAD(0x5e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad15 */ + + OMAP4_IOPAD(0x60, PIN_OUTPUT | MUX_MODE0) /* gpmc_a16 */ + OMAP4_IOPAD(0x62, PIN_OUTPUT | MUX_MODE0) /* gpmc_a17 */ + OMAP4_IOPAD(0x64, PIN_OUTPUT | MUX_MODE0) /* gpmc_a18 */ + OMAP4_IOPAD(0x66, PIN_OUTPUT | MUX_MODE0) /* gpmc_a19 */ + OMAP4_IOPAD(0x68, PIN_OUTPUT | MUX_MODE0) /* gpmc_a20 */ + OMAP4_IOPAD(0x6a, PIN_OUTPUT | MUX_MODE0) /* gpmc_a21 */ + OMAP4_IOPAD(0x6c, PIN_OUTPUT | MUX_MODE0) /* gpmc_a22 */ + OMAP4_IOPAD(0x6e, PIN_OUTPUT | MUX_MODE0) /* gpmc_a23 */ + + OMAP4_IOPAD(0x82, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* gpmc_noe */ + OMAP4_IOPAD(0x84, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* gpmc_nwe */ + + OMAP4_IOPAD(0x7c, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* gpmc_nwp */ + OMAP4_IOPAD(0x80, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* gpmc_nadv_ale */ + OMAP4_IOPAD(0x86, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* gpmc_nbe0_cle */ + OMAP4_IOPAD(0x8a, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0 */ + OMAP4_IOPAD(0x8c, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait1 */ + + OMAP4_IOPAD(0x74, PIN_OUTPUT_PULLUP | MUX_MODE0) /* gpmc_ncs0 */ + OMAP4_IOPAD(0x76, PIN_OUTPUT_PULLUP | MUX_MODE0) /* gpmc_ncs1 */ + OMAP4_IOPAD(0x92, PIN_OUTPUT_PULLUP | MUX_MODE0) /* gpmc_ncs5 */ + >; + }; + + ethernet_pins: ethernet-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x114, PIN_INPUT | MUX_MODE3) /* gpio_121 */ + >; + }; + + tps62361_pins: pinmux-tps62361-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x19c, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpio_182 */ + >; + }; + + mmc1_pins: pinmux-mmc1-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x0e2, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk */ + OMAP4_IOPAD(0x0e4, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd */ + OMAP4_IOPAD(0x0e6, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0 */ + OMAP4_IOPAD(0x0e8, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1 */ + OMAP4_IOPAD(0x0ea, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2 */ + OMAP4_IOPAD(0x0ec, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3 */ + >; + }; +}; + +&omap4_pmx_wkup { + pinctrl-names = "default"; + pinctrl-0= < + &smartreflex_i2c_pins + &fref_xtal_in_pins + &fref_clk3_out_pins + &sys_pins + >; + + ethernet_wkgpio_pins: pinmux-ethernet-wkup-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x66, PIN_OUTPUT | MUX_MODE3) /* gpio_wk29 */ + >; + }; + + smartreflex_i2c_pins: pinmux-smartreflex-i2c-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x4a, PIN_INPUT_PULLUP | MUX_MODE0) /* sr_scl */ + OMAP4_IOPAD(0x4c, PIN_INPUT_PULLUP | MUX_MODE0) /* sr_sda */ + >; + }; + + fref_xtal_in_pins: pinmux-fref-xtal-in-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x4e, PIN_OUTPUT | MUX_MODE0) /* fref_xtal_in */ + >; + }; + + fref_clk3_out_pins: pinmux-usb-refclk-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x58, PIN_OUTPUT | MUX_MODE0) /* fref_clk3_out */ + >; + }; + + sys_pins: pinmux-sys-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x5e, PIN_INPUT | MUX_MODE0) /* sys_32k */ + OMAP4_IOPAD(0x60, PIN_OUTPUT | MUX_MODE0) /* sys_nrespwron */ + OMAP4_IOPAD(0x62, PIN_OUTPUT | MUX_MODE0) /* sys_nreswarm */ + OMAP4_IOPAD(0x64, PIN_OUTPUT_PULLUP | MUX_MODE0) /* sys_pwr_req */ + OMAP4_IOPAD(0x68, PIN_INPUT | MUX_MODE0) /* sys_boot6 */ + OMAP4_IOPAD(0x6a, PIN_INPUT | MUX_MODE0) /* sys_boot7 */ + >; + }; +}; + +&i2c1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + + clock-frequency = <400000>; + + twl: twl@48 { + compatible = "ti,twl6030"; + reg = <0x48>; + interrupts = ; /* IRQ_SYS_1N cascaded to gic */ + }; + + core_vdd_reg: regulator@60 { + compatible = "ti,tps62361"; + reg = <0x60>; + + regulator-name = "tps62361-vout"; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1500000>; + regulator-coupled-max-spread = <300000>; + regulator-max-step-microvolt = <100000>; + regulator-boot-on; + regulator-always-on; + ti,vsel0-gpio = <&gpio5 22 GPIO_ACTIVE_HIGH>; + ti,vsel0-state-high; + }; + + temperature-sensor@4b { + compatible = "ti,tmp102"; + reg = <0x4b>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_tempsense>; + interrupt-parent = <&gpio5>; + interrupts = <23 IRQ_TYPE_LEVEL_LOW>; + #thermal-sensor-cells = <1>; + }; + + eeprom@50 { + compatible = "atmel,24c32"; + reg = <0x50>; + }; +}; + +#include "twl6030.dtsi" +#include "twl6030_omap4.dtsi" + +&i2c2 { + status = "disabled"; +}; + +&i2c3 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins>; + status = "okay"; + + clock-frequency = <100000>; +}; + +&i2c4 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c4_pins>; + status = "disabled"; + + clock-frequency = <400000>; +}; + +&vmmc { + ti,retain-on-reset; +}; + +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + + vmmc-supply = <&vmmc>; + bus-width = <4>; + status = "okay"; +}; + +&mmc2 { + status = "disabled"; +}; + +&mmc3 { + status = "disabled"; +}; + +&mmc4 { + status = "disabled"; +}; + +&mmc5 { + status = "disabled"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pins>; + status = "okay"; +}; + +&uart4 { + status = "disabled"; +}; + +&elm { + status = "okay"; +}; + +#include "omap-gpmc-smsc9221.dtsi" + +&gpmc { + ranges = <5 0 0x2c000000 0x01000000>, + <0 0 0x08000000 0x01000000>; + pinctrl-names = "default"; + pinctrl-0 = < + &gpmc_pins + >; + status = "okay"; + + nandflash: nand@0,0 { + compatible = "ti,omap2-nand"; + reg = <0 0 4>; + interrupt-parent = <&gpmc>; + rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; + nand-bus-width = <16>; + ti,nand-ecc-opt = "bch8"; + ti,elm-id=<&elm>; + linux,mtd-name = "micron,nand"; + gpmc,device-nand = "true"; + gpmc,device-width = <1>; + + gpmc,sync-clk-ps = <0>; + gpmc,cs-on-ns = <0>; + gpmc,cs-rd-off-ns = <44>; + gpmc,cs-wr-off-ns = <44>; + gpmc,adv-rd-off-ns = <34>; + gpmc,adv-wr-off-ns = <44>; + gpmc,we-off-ns = <40>; + gpmc,oe-off-ns = <54>; + gpmc,access-ns = <64>; + gpmc,rd-cycle-ns = <82>; + gpmc,wr-cycle-ns = <82>; + gpmc,wr-access-ns = <40>; + gpmc,wr-data-mux-bus-ns = <0>; + + #address-cells = <1>; + #size-cells = <1>; + }; + + ethernet@gpmc { + reg = <5 0 0xff>; + + pinctrl-names = "default"; + pinctrl-0 = < + ðernet_pins + ðernet_wkgpio_pins + >; + + /* Either GPIO 103 or GPIO 121. Use 121 to match the reference design */ + interrupt-parent = <&gpio4>; + interrupts = <25 IRQ_TYPE_LEVEL_LOW>; + }; +}; diff --git a/arch/arm/boot/dts/omap4-phytec-pcm-959.dts b/arch/arm/boot/dts/omap4-phytec-pcm-959.dts new file mode 100644 index 000000000000..f323d64660d7 --- /dev/null +++ b/arch/arm/boot/dts/omap4-phytec-pcm-959.dts @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2022 Innovative Advantage, Inc. + */ +/dts-v1/; + +#include +#include "omap4460.dtsi" +#include "omap4-phytec-pcm-049.dtsi" + +/ { + model = "Phytec PCM-959 Eval Board"; + compatible = "phytec,pcm959", "phytec,pcm049", "ti,omap4460", "ti,omap4430", "ti,omap4"; +}; + +&i2c4 { + status = "okay"; + + leddim: led@62 { + compatible = "nxp,pca9533"; + reg = <0x62>; + + led-1 { + label = "board:red:free_use1"; + linux,default-trigger = "none"; + type = ; + }; + + led-2 { + label = "board:yellow:free_use2"; + linux,default-trigger = "none"; + type = ; + }; + + led-3 { + label = "board:yellow:free_use3"; + linux,default-trigger = "none"; + type = ; + }; + + led-4 { + label = "board:green:free_use4"; + linux,default-trigger = "none"; + type = ; + }; + }; +}; +