From patchwork Thu Sep 13 20:37:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10600451 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 0D39A14BD for ; Fri, 14 Sep 2018 08:48:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA2C82A0B0 for ; Fri, 14 Sep 2018 08:48:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB81A2A151; Fri, 14 Sep 2018 08:48:06 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_PAST_12_24,DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=unavailable 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 2A5412A0B0 for ; Fri, 14 Sep 2018 08:48:06 +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:References:In-Reply-To: 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: List-Owner; bh=Ed/3Y+7tJCDY2wdBD68KCj8lcTMFaKWYsgugz4SL/as=; b=hGYpdz3zLeHziV sS4/uXyhvBwx0WbahvnyRlZ3igcKp6otItMyXN4gLUEzRXEoZOvbKH2B5Cri76idlTXAef87cgS98 vwKu3LleRl9/BFayL0QMooUkqx7NrsXEmv+2ZIVazCpXiETQvYFGNp2cdMgsyc9VoKbMiZO3AwsTH H7r7IaPHGGXQwLGXXnFA5nyx2VOejDvXOHDp7EX5eH+TJ0I51Ln04JojHlpqlQYbFlvL4yW70tcif jtF2LiLGP8an01IOYWWiPXVEqYeQezQLTLCUnmtZc3JKjh4Q7Jdo19u0bKnnHeEN0VtWP0DIO7c6k XEm9ssTEbtm0kUaLtk2Q==; 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 1g0jlZ-0000KE-AA; Fri, 14 Sep 2018 08:47:53 +0000 Received: from mail-db5eur01on0061.outbound.protection.outlook.com ([104.47.2.61] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0jhT-0005nV-EZ for linux-arm-kernel@lists.infradead.org; Fri, 14 Sep 2018 08:43:41 +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=FJxBVkwijO8ByalK54jT/Jq1f2jwlSlaW6F9HsEftq4=; b=UG83KXmRY190tecxHafG27Vt3RGC8Q4p5zoR9KOeO9IzmB0pxMn7L0Qc9BMWacOJFwMZiKfCXRBB5rQJQ81vxjmMkeQz64gfDR+roB9gBkseRXiRqmva/iDXkKohjr55N90aa7BhzWpuC01TIrtk7cxwh3P+zxzIWon6Pb1OVsw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; Received: from uefi-OptiPlex-790.ap.freescale.net (14.143.30.134) by VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.19; Fri, 14 Sep 2018 08:43:21 +0000 From: Vabhav Sharma To: sudeep.holla@arm.com, oss@buserror.net, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, sboyd@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel-owner@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, gregkh@linuxfoundation.org, arnd@arndb.de, kstewart@linuxfoundation.org, yamada.masahiro@socionext.com Subject: [PATCH v2 5/5] arm64: dts: add LX2160ARDB board support Date: Fri, 14 Sep 2018 02:07:55 +0530 Message-Id: <1536871075-3732-6-git-send-email-vabhav.sharma@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1536871075-3732-1-git-send-email-vabhav.sharma@nxp.com> References: <1536871075-3732-1-git-send-email-vabhav.sharma@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: PN1PR0101CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::23) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e7da8e70-f43e-43a0-c710-08d61a1e22fc X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4800; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4800; 3:9Lav2V0jF78dSs69EFRCONIUGV9XRJ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Ww3UuF6ww83fBGwHv4MvzZ1DuNlGq4HRowXKLygGZM5xASt6AUBd/mimlgq/4tbgD2qzpmfGAc59EDLAmQpdWrnmJJvq8ZFvnQ2NsDxtLa+YbPuPoJIHDGx8jf2cGACPA3dWYdaxhqw/kkOu22L7s1VMPfnFbsAWVpWDYJ4/ptX6/WtAsCdgmnUTfFdelTcWUDGmK5ydYJV0l2TXpMnFnkgs/b0z+EEphDRnbm7/eSgJG993G0D/Vd9UWTnMWPcZ9wXAUaJEJdqJeeYrBBfDNKNUjL31riIp1eOxhbPWv3FD487vezfl6MzQ2P; 4:XeiX+F8MJl4j0ZJ8KBfvIwxUPd7nkbuV45W6Aw4mUwnig/HaMNkPB/te3QuuRnnDRRVz+gaX3IDykpCbbjeLKOCYWbYwGVtemy/J2GLYgv75pxvZnp7Rns+vx6zDDKRccNiiYBECf+aO9CwMKtGvL7dY9BOzrcsUF1oNV5rYPR+T6vVzZeByHSnm7UecSkNWi9FhTE9p4tj/u/ooz8BZ7FlLEhn/O0te/HD5SlJYnD67GRS3t7x3nVWlknpwFGHN0BkK3aen7HvGARlwxu38tqYHZlfSSy58Mylw2LgPLmNW7P9Z7dgbtkLf2AhedI58 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)(8121501046)(5005006)(823301075)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699050); SRVR:VI1PR04MB4800; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4800; X-Forefront-PRVS: 07954CC105 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(396003)(376002)(136003)(39860400002)(366004)(199004)(189003)(7416002)(305945005)(7736002)(51416003)(2906002)(76176011)(4326008)(25786009)(36756003)(68736007)(52116002)(54906003)(478600001)(47776003)(81156014)(81166006)(8936002)(6506007)(386003)(55236004)(6486002)(50226002)(5009440100003)(86362001)(66066001)(6512007)(16526019)(105586002)(2616005)(956004)(11346002)(186003)(486006)(476003)(6666003)(44832011)(16586007)(8676002)(316002)(6116002)(3846002)(53936002)(106356001)(48376002)(446003)(26005)(50466002)(97736004)(5660300001)(110426005)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4800; H:uefi-OptiPlex-790.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; VI1PR04MB4800; 23:Xg/snD2qTaOCe6NHBSvduPnRRvP8mQKLqdztemOMq?= 9VJSuIZ0iURsRnjgDkU8KHRdI2ZXeUx4/IlJxuRwEzhh1OFdEF/ObH81Li7KXeh/IWWbWjJT9pFOnCaWYghfioSMtUssT6hBu/pu4oI6ubHLUaGqgk9mZIoYc5bbzpjOXDJb4eQDkhvGAkHgA1iiFJX3LFwkbHoZH8skbFITOU/oi8cWpPXugA9qZjHrZ9t4dP/Ttwkzpiw3JK+1wrX9RrCCqwc9xPj1t7/LbVbAm2RWSpcSpuZ+pKK1iSXgtRVLec6nczShVev8Gm8Kg6EAEZ4aLFScguBPN/ftbNE+cvrPMCgs2d4I+N6GqilNkiLsHA6u61Iatr1VDCzhwlH1JJTwU1GJ7ebYPW0/I4qGZNnYg+X3OhWt87a2vpztYXsTEUFgP1QLMCFCeaGOE6E9PJ5zcCxHZ+kl5hPKJplf45WlZGfVygzeA7Jmlk1v6VXeyK/5HwcXwglU8+JbAzqJIdKxAeIST86Bo+R8ODGfp4bwNiEzQbrNSACCsMtE6yLi5Nm+pe5aFGO1QuV48k24umNnxf/kmU+qC6n7ZhXxPdTd+2VdzfD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kLl1YAmG8hdmsxt7WuDcw6M= X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4800; 6:dIVELwb+kY3uacrlNksLCuJluq0BKzQPJ3tjg+KBICC7H3vz+JkK2/M3dCVGubsrNLwoctrzfHSKp9wgTdDPu6i/yhC/zPrnfkSBuf3/YsgWXQDq9seqol+1xZkeKgybqSJUhLbkCayjwQhgV65s6wjfOr7vhVdNj328zwhwJM8YYXUBUsuyl1i70Z3PeDYE7kAc+tGj6H4iT+0ZScGBhTjpmWJgeHLSFS1hScCzNzwVm+F0TRZsqPHDpHsGEGLMkf1jYCnKZkusmuLA3nuCTwUv/V4vHfdup6pBz+AnhmO3tVjUC4UOdy4Umiy5iuUwM8Mnx8JhZOxCKwXZ5t9YE6E83vKTer7toMAdJDE7B7Aphvein+si+7nN45vHVkWbC7cX0/0NNY0BY1bMKYA/zWtjbuCe97hRWv3zy6vawLQNQ5v82LWr1GgQuKcACBtSMYzKFn4G5TUkwPSsvJ5YeQ==; 5:R3ZpHp9+xCnqC03V4Unz0Qj/ppQ8P/wTGo4t75pizRcYFw+VXrls5lzyTXULkAjUNWD6fqQHM1L6uJcOhwXaFpQXRNpGj59xyVWqB+mk2sge//91j24delRzlTZfld5gpSdTF23pNuQvystcbbfAyWm7QlhnrChGakVwKvlVN/k=; 7:6h2eWC9yYbkIdLHOddVZ3cX/rbCtlbGIiRyGEvFa953rCgJhPkXWRkxdjRn3B/JQmWW1JCuUaU/uAniXYFCZCqqp02UC5SDl1qylg4Avf1z8NT2ssoWWl49s6ambv99IFOhSav/d8R0+zR3w+vJxHAQHiUBKAJFjp1rpFbsqHPnYlQTyJrtUFqdLHL/NQeDbhzx5sjq5HFfv5/dbXHPMSBpS4PNLyKYDx7cEY1wShtqhuxoEUouQ44TaLIhnMn2k SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 08:43:21.0111 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7da8e70-f43e-43a0-c710-08d61a1e22fc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4800 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180914_014339_683053_F94050F6 X-CRM114-Status: GOOD ( 13.21 ) 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: udit.kumar@nxp.com, Priyanka Jain , linux@armlinux.org.uk, V.Sethi@nxp.com, 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 LX2160A reference design board (RDB) is a high-performance computing, evaluation, and development platform with LX2160A SoC. Signed-off-by: Priyanka Jain Signed-off-by: Sriram Dash Signed-off-by: Vabhav Sharma --- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 88 +++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 86e18ad..445b72b 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -13,3 +13,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb 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 diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts new file mode 100644 index 0000000..1bbe663 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -0,0 +1,88 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160ARDB +// +// Copyright 2018 NXP + +/dts-v1/; + +#include "fsl-lx2160a.dtsi" + +/ { + model = "NXP Layerscape LX2160ARDB"; + compatible = "fsl,lx2160a-rdb", "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 = <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>; + }; + }; + }; +}; + +&i2c4 { + status = "okay"; + + rtc@51 { + compatible = "nxp,pcf2129"; + reg = <0x51>; + // IRQ10_B + interrupts = <0 150 0x4>; + }; + +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + +&crypto { + status = "okay"; +};