From patchwork Fri Sep 21 14:17:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Bansal X-Patchwork-Id: 10609337 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 468881390 for ; Fri, 21 Sep 2018 08:46:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35B5B2DDA6 for ; Fri, 21 Sep 2018 08:46:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A0A82DDAB; Fri, 21 Sep 2018 08:46:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_03_06,DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AA6A32DDA6 for ; Fri, 21 Sep 2018 08:46:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=KEJ3hxG0LM44hrylAvmMohagIS7zUyn44qL0Z/rKn7Q=; b=cn8nxfRXITNPz/ mZ0R1l9HgNfsa798Y0P15y6iw0qNk22XdX8DR8fQaxziy2yYHgvjzvK39I/+MVoCTkpK0O7nVEm68 40aYmWx4Zmm50BPWQa6+Yc2FoX08/vN8r8LeaH90bu5IZsg04WOPycUMt+Iqj1TqUVC8CeUuOLNyM 26lr9bdScPX2cqajn74Cowh5zt9/Uk/dU8V3KkfgR08JW3gf8SPSbuwQ29Yc+4IphuEV0ZqmZFPG1 I5xQlV509Bh9V1urhUBgEBOq1P9CRdZz9C3lMEbQhtIB5UwPXkvhWYpmIwBudrLCL6oMLnl2YHHPj MZDSRPw7pZxi1nEqUU1w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g3H4d-0000QE-DX; Fri, 21 Sep 2018 08:46:03 +0000 Received: from mail-ve1eur02on0615.outbound.protection.outlook.com ([2a01:111:f400:fe06::615] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g3H4X-0000Pa-2s for linux-arm-kernel@lists.infradead.org; Fri, 21 Sep 2018 08:45:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rfMevrj2abzek4cuIIEk5yRpY1BHhkCShGYPUM2f/iE=; b=tJ/dC/huH0La9KAcsJFZwwLJt0wGiqEGZulaMjGPJdMChcr5/CJP1oW+o3/IYhO4enUFrV4QWx2Ttn5ElTYwstMYjxE8T3koDegq3ZfS6jfDnNe1dnTIKVAc1NRDNJkteN1nqF8nbSQFJUJz0OCK3+hiY7K82VFLnP4sg4TasbA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@nxp.com; Received: from uefi-workstation-2.ap.freescale.net (14.143.30.134) by AM6PR0402MB3318.eurprd04.prod.outlook.com (2603:10a6:209:5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Fri, 21 Sep 2018 08:45:37 +0000 From: Pankaj Bansal To: linux-arm-kernel@lists.infradead.org, Shawn Guo , Li Yang Subject: [PATCH] arm64: dts: add LX2160AQDS board support Date: Fri, 21 Sep 2018 19:47:20 +0530 Message-Id: <20180921141720.19159-1-pankaj.bansal@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: OSBPR01CA0047.jpnprd01.prod.outlook.com (2603:1096:603:1e::35) To AM6PR0402MB3318.eurprd04.prod.outlook.com (2603:10a6:209:5::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1e1f9c09-439a-4129-13fb-08d61f9e9d29 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR0402MB3318; X-Microsoft-Exchange-Diagnostics: 1; AM6PR0402MB3318; 3:lkAnN5/i7uGEIYMtYTE8/wbqL2nJRUGtBIxqVJyXVVfWtqxRZjOoaHOj9LfnoMXzuJBkbBd8OFV7uOD+eLoLrw1r5iNDKQx/v6S/LyfvfibzkEZSe0/NZYcBisK7oXirkTxdkyodWNQ01MXLmg027Z3uk5voxkT2PS5Qtdax+jHD3AyC1smMXxOLEblG/qH0kEkT/Oia2+rGqXEAbsMWgKAQ5GbPeKHMcR7RvQUZFIz0AzkfzBRD+gtsTOAFDpgQ; 25:fojULfEHoj6TkEl7Mu4Py9rUJ1KHon17nLknnoOBohderAnNXIN/WDALIG+ekgoAdPPAY3W5OdP+R75bRz8SNmM5j3u7Hbk2WQwbrOnzw62BWIp3Xp/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RydNmnHj7Zn3Ft2MxeyRvn+MYkl4LnCNxoM63Z8dLb2vx0r64L2otiicxHW2p9irSkYiCHv2a3REUa+DzMcTGGRuWS3TYkW6dpqEiGb7p/NLAvMxoeh/FfzH4pp5zXthkKboM+qpEGxND7Tct8/X7mqS64c4vYcXTfC+onusGWa8jpB1WoTCsJkrnj7PomQICQ0AnJQlsq4au/SQyDgyQCJiJSi0H7OFvHmOZuk5ncditlhIVPqoUMTqO8b6xCysLzoj2Ed4/E9bJNeU7Nb+7l/1jG76k9Q5KoT+jefhWXx X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:AM6PR0402MB3318; BCL:0; PCL:0; RULEID:; SRVR:AM6PR0402MB3318; X-Forefront-PRVS: 0802ADD973 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(396003)(39860400002)(136003)(199004)(189003)(7736002)(44832011)(53936002)(86362001)(54906003)(55236004)(386003)(110136005)(6506007)(5009440100003)(486006)(478600001)(6116002)(16586007)(3846002)(476003)(1076002)(966005)(305945005)(316002)(956004)(16526019)(186003)(50466002)(8676002)(2616005)(1857600001)(26005)(51416003)(52116002)(48376002)(8936002)(47776003)(50226002)(25786009)(5660300001)(68736007)(6666003)(97736004)(6636002)(6306002)(4326008)(106356001)(36756003)(105586002)(6486002)(66066001)(81166006)(6512007)(2906002)(81156014)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3318; H:uefi-workstation-2.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR0402MB3318; 23:pKppbT+QICCDCftu3LsUexvBwVXrU65OpMhRkO6?= CHIZly/23S/49JYRGFNvNE2fXSZGPyVa7kg+QKSiicpsSAkeFKmIcfw9EYNwyGMq7qJ8V7gNe+65c1H9F45E47c7Y4L0ZElJKb+BBt7hTC74t36fzEN1OBW6gph2iJGuvU6hoNM3KCsQBwXO95pvlSwrBZGmc00bkqYR9FoZsZDrmuNxUmPpcaZDGwFYqq2Dd3NYeOpQvh9sHfYeJGCcxD95wnrOFjCMHl70IGo+xPlrqJ8IYrygujo5vGJLie3US8n9XxifPuo1tpsA0CwOTvnxCf0UfAudRNZ1YX2R1dZn+aktOCCwi87ukffm0lUunzYcGYZsViiquUhuTmbd461p3rObat4FmrkSIlmp/CO6KzeQYeiUpi7AitFzdlSLKk3N+0c/htvttuQRJ+OZcGeMWBIsKE1NKALv59CyXO7Q3WXmKBf+BI1J5x2fcGjjHu8T9Dx3FueYRfYLJCU3ek+uJY1rF3yc5yzorgVHnvdCLH+UCxUEetDVHvkYstM+YGFS8kYRrZeglWYygg+LfPB2qoDYnNO7LZQu7SBN2SvQWhHDjQGjJeftLV86t7+o9C9lyMkCsQBm9oaup+yvOXIfeYzU4OFGidKBDPCSbS6gpFmkmgSs1dcxki9H03gIKt/E5cprwABKF4rb7sB2Smeo+2E3Hescz56UDFjcZPJGZiLodn+A26zjg7FHz4Ys64q8x2jbERr/9V3zeaix8FEMPqeJCDaWfRgXdgTBDFUf+gSykCW5U3jv0cijh6inz+asWMej+4bUrNIHEwv/8goqZU++d5sfIDjB0/zLee8P1MDpUn34Vpq0OtwCun2F5N4wqwp7/3Q5zFbmxlJAybfF/7mQ4NeM8/is+z1zI+LAjDLSx5X6DrRcjysOlc6wt+bIMsd6di2CCOfBkGmgrphNTA0X20cWJlnT9oBpCw7CwGdaZd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rKqiQc7PsJJryNexvU+IYe+u+J3kLjgWGl+szSb7hRd3djU8Lg3Bntw09m/VPOFc/Wv67w1eeDXials/s9EB8ztSdqS4frT3GeGcovku8ICaWNcb3Hof8HX/h/jhJM81kODH4D2woxB3fyCUuouM+REK4UF9VDqaA==; 5:NVt1izJYWKKnUAP3JqYuakfbm/HIjSPINF/6fhrE4OCEHcdQKJcaarL9kYzm0TsIPVYrEShvw2pEvfHf1QE1Vv7j9RvKX1YNxSqAmxvC3E3CQ9hKJg6Il7+UO0k8fUZ56a+7WG79S0TbZWrsUH19GgUkZMtBibZRFeipiivNubE=; 7:sKEts1zqVZF3d6DIzzpa73Q4RlM19TIXTKSbrwvqpViNMg0bEUDMz2dc8W9OVx5rgz+Lrz54a4qSUlLEMWX5/ShxlqbeyAxsxYcd9jOHqTYZvBoAqwIzi83KNcJcYOzbDt6hwoiHBVIqdxRBn1Tz72oVS/ykwZrRnOZHnPNnvBp4wj2Mse8Euqn7PIr8fSLdiMaVhZxV9b3A2gHAdHPlFNz71vFf63ORiyStJyOl/+5ZioZDJ82EDhPwToQmcsgH SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 08:45:37.4489 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e1f9c09-439a-4129-13fb-08d61f9e9d29 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3318 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180921_014557_605637_4B019691 X-CRM114-Status: GOOD ( 12.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Yogesh Narayan Gaur , Pankaj Bansal , Rob Herring , Vabhav Sharma , Sriram Dash Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor. Signed-off-by: Sriram Dash Signed-off-by: Pankaj Bansal --- Notes: This patch is dependent on [1] and [2] [1] https://lore.kernel.org/patchwork/patch/985935/ [2] https://lore.kernel.org/patchwork/patch/985938/ arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/fsl-lx2160a-qds.dts | 88 ++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 445b72bd5a36..ae80fc5c45f7 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -14,3 +14,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file mode 100644 index 000000000000..5cf2fe279f73 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts @@ -0,0 +1,88 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160AQDS +// +// Copyright 2018 NXP + +/dts-v1/; + +#include "fsl-lx2160a.dtsi" + +/ { + model = "NXP Layerscape LX2160AQDS"; + compatible = "fsl,lx2160a-qds", "fsl,lx2160a"; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + i2c-mux@77 { + compatible = "nxp,pca9547"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + power-monitor@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <500>; + }; + + power-monitor@41 { + compatible = "ti,ina220"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + }; + + i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + }; + + temperature-sensor@4d { + compatible = "nxp,sa56004"; + reg = <0x4d>; + }; + + rtc@51 { + compatible = "nxp,pcf2129"; + reg = <0x51>; + }; + }; + }; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + +&crypto { + status = "okay"; +}; +