From patchwork Fri Oct 5 08:10:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Bansal X-Patchwork-Id: 10627287 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 99E271926 for ; Fri, 5 Oct 2018 02:40:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FE48293C8 for ; Fri, 5 Oct 2018 02:40:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DBB52957A; Fri, 5 Oct 2018 02:40:12 +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 8127C293C8 for ; Fri, 5 Oct 2018 02:40:11 +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=dUm3Wq8fOXRFou+n6/5aMAIhAbdL6S3N23qRAaDenoM=; b=fjKLfTPtr03oC4 MBWLPvwv2oSLF9AYdeopRLfqHZ11DRqIQ9rzgwBr6ZIvTo0wP9P5OlXI6KlQOt+kvXK7bAO0nhu42 0URlOcN/YCxsEDH3/z3aQWipI0060JHXHOE26J3m89YqjSGl6P0K0g/EG+x5heUuJbd0SnxqvurQg w2f85MjprJmkMSkuMyBbQdt/fjRy0OYDtUp3OQWrQnly2x+fwlWDox00bCeSI9KWV4DpsOGfZjGsw CzYiigfLssVE5XNIwwE1pS2oZn8DFeQi+09a4bFEyxUjOIL1ETiymsGdP3rynUvYdmbqsqymVnwae iXsG8KFIELhDXM+keeWQ==; 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 1g8G24-000697-5B; Fri, 05 Oct 2018 02:40:00 +0000 Received: from mail-he1eur01on0043.outbound.protection.outlook.com ([104.47.0.43] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8G1w-00067s-6S for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 02:39:55 +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=O1rUg2wy7fKFnr+jZNHU7IhhkNnnrjmSZnkxuerBIxo=; b=r+9IfsVPSlBJp+Ay9eN6Il7z/JEK731oulMEB7XW9DZYdF1eRTlT3Q/ZSwKn8oho63naNTG5ctF2qvwGGOJyyvT+6kmbSFVlnDhf7NaVOEUhW1U17YqIQe4034+3O2uto6JcV/LlKCnhYPF9Rf07+FXmRcFCsKBDIvRwiZN6Kms= 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.1207.18; Fri, 5 Oct 2018 02:39:34 +0000 From: Pankaj Bansal To: linux-arm-kernel@lists.infradead.org, Shawn Guo , Li Yang Subject: [PATCH v2] arm64: dts: add LX2160AQDS board support Date: Fri, 5 Oct 2018 13:40:53 +0530 Message-Id: <20181005081053.27105-1-pankaj.bansal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180921141720.19159-1-pankaj.bansal@nxp.com> References: <20180921141720.19159-1-pankaj.bansal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BMXPR01CA0043.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::29) To AM6PR0402MB3318.eurprd04.prod.outlook.com (2603:10a6:209:5::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b893ce37-8e98-41ba-183b-08d62a6bca36 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR0402MB3318; X-Microsoft-Exchange-Diagnostics: 1; AM6PR0402MB3318; 3:ModXCbOkoUu5b7lrQAPzfYq4HVGRPnPOG9EW9idPVMA2aUj5neo2rUgEC+jB2fods5tdwm7YewkeaS+LXpPv1ygkM3J6fftxNoGpUT7/h3W52ayAnEp17m/NVc91YkDQpclJSD66DqE9hkNlT1Os9UKwn/JpSJ0rQ6M0jSiQLHWSNrLvT8YbgUvyz81NEa2fd2mYA4tI8nPhMfy8rlhUHnLOscibHztxJj71peh+puES411YXHDtxv78vYOKE1cC; 25:nUOZUw7TMxUieynesCbxBhp+qHl7ALVX4R4KDZhBevkuFbimH3m7ZHdZYQIvztE9+mltXtLIrTxPpDFwyuv1Dqp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1VASS; 4:JPDc5r9E0RX2aQKefSotoWA1V9RkAHfcYPnUYdlqGU7YhsRyviTaHrzGFb5iTFsVMVKNPexkTf9XAOW6pmrhU9lz/v+wW4zDDszvQzZWxbEa+giGJTC4u8Jt3Qd2QA23l+ghHls47w2AbYtHpNYL6y0FHZNXZ1B0Hq0y48qE67d/dhEr4vautiXoiStWpPdDR7YGTNx1p3+GRcRIzVbHiozI2iKJxxLS0Yp7KH68hFox9z5YAKrJ/DoPaxMP833cq4mtsamVSsdysK/KoBjo4NLcJEJybk5zXxFeMKbJS4HW88z5FB5QGduUuhTTXca/ 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)(3002001)(10201501046)(3231355)(944501410)(52105095)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(201708071742011)(7699051); SRVR:AM6PR0402MB3318; BCL:0; PCL:0; RULEID:; SRVR:AM6PR0402MB3318; X-Forefront-PRVS: 0816F1D86E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(346002)(39860400002)(376002)(189003)(199004)(305945005)(956004)(2616005)(81156014)(54906003)(110136005)(11346002)(446003)(5660300001)(50226002)(97736004)(4326008)(7736002)(476003)(8676002)(81166006)(16526019)(8936002)(1076002)(6116002)(3846002)(5009440100003)(6636002)(53936002)(6666003)(44832011)(316002)(186003)(486006)(47776003)(6512007)(16586007)(478600001)(66066001)(6486002)(86362001)(105586002)(6506007)(386003)(2906002)(52116002)(48376002)(68736007)(50466002)(106356001)(76176011)(25786009)(6306002)(51416003)(26005)(966005)(36756003)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3318; H:uefi-workstation-2.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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:bjPnm6j8g7nqIVnZ9vGEnL/8W29arZ0rqPKq3tW?= wWnMXeAmFt9MEzuRWiBBe3GbvDypKayMvP0kWSwGgzA7fy/l157l+awO/CnlXzNGji1/aWRjTThNy8PB7RtvLdKYBlUyYgf+5NUWamPhWR6XR4dALFENweHitKOaLNOBhZstPOl57W0s4o1PcOPwcqVybu6TEf4kMYEBFmpZ0vC1Sem1tgldtYzinBgGEijBRl1L2C2IsT/GKKskjV0bQw8AzANmYgi/V+8Yxm7bPIMuVsZxBEvr3bZyBq6VSXNtBoT4spHKlmlnIOMhLQglpMxiFuZn9ckyRi1yzR1quYvo6MldeA3w3qesyC3H5N0LFor3c1z/PvtWE4WZUdxsMYVcmYibwkdA+7mUOFxhTXSDF1vddgT4ejHAMqkpz3+RsYzsEcwgZutn7V2HiXZL9i3++aDT2f7Q7OOQ7jOb8OusR4OV5DjJi5OYK3fXnTDIvb7YH8msqj5jKVmlSHwrY9d2uRsMiMD3fh3fegnT+ZHTFUBecQu75camEO9w0YOLgKDwarlE3wba2HvlD/fQoRpTas/ejnG4UhTPy8eG0eXkdwHAPv3h2U0AWJXZpEgauyk/EPQsUTTS98njENwN8uvelgihidWAbKh0B2YvA3g2Op+yxaScO5Y0s252OCAbmuIbP9ox/qnyG5pzUG5hYk6cYrdZWHasor8Yy7UtjeFY23xWIA8WZfx9XzNfZH4go7mRlQeJF5A7XABwj5atkqNdj2fyQ/6VPs/qAhvaw3QhUpUkCBpN/n52+NrTNm4nnqtAlIURqduNA4gu/B7AZ5gf7dUEGoIdZhfKrvcWx1QTeqScDCMU4DI5ne9hKbRY3QtRsYPiO1Vt0rMLNc28HParaRsukZp787we4FPoeO2VUPahK3Bi1wHcuHJmjgbFh2UBZYNWmZFsfu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CxleNE3kfKjUnHviWq/6TDHT1QrTc23aAhNQgg/ftvmDgI1M+gQu4+vjVoa2KIACucceKk9/4tQXwo4zthnGaUFaZ3rU4GiHmvTghMG/7QzSkFsclBIltOS4cu+3OtnG1NHq0+0WUuiP/OepCbJqKUlsgWhxHmF+Wy7uPw8hGmsjn1Mo9Oz5qk+BtyHjRENhe5CkwZwag==; 5:FHVjypDN3AYpFIjsnVadrKhPeJe3kLKAM0YjmkKmQqsq25xeTsRxd1OJBJom84V2Zr3EsE3y//0CUnXg43cxejxbkMV/DqSjhKEuRdkc/ivaJEOg0V+g6cQfgh7orsUg5M7VvFNV/0QQpJxqwnKUFQ69uRJa4KSCZQ7nm37WNXo=; 7:FIj37bra3dMUIa4cW9iy6EBAHrYmvYIOqGab1EQOXxmJfqtjj5Ky2bDxNTZotAkMNMRp2pJvgSKDmzG98C8OYiBtRgAx5M69SfPac1eYT3LYXGdJUpDSY2aD5/p0vfMA3EASNqKyFMKDMW7mpQ/Uf6QvOUbAM5j7sfHYH5PGQCTQvNxBe1rXxhqgK6LPPn/9A1EqgjWezbbnR2sbXfCTYSX8trCAddMiUDU1Np/Xe3zwAxO/Ep7gcX5GaPOdVvVX SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2018 02:39:34.4569 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b893ce37-8e98-41ba-183b-08d62a6bca36 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-20181004_193952_418292_1BE0B1DC X-CRM114-Status: GOOD ( 13.09 ) 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: V2: - Sorted the nodes alphabetically - Sorted the files' in Makefile alphabetically - Added newline between property list and sub nodes - Added and defined vcc-supply property to temperature sensor node in device tree This patch is dependent on below patches [1] https://lore.kernel.org/patchwork/patch/995430/ [2] https://lore.kernel.org/patchwork/patch/995433/ [3] https://lore.kernel.org/patchwork/patch/995434/ arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/fsl-lx2160a-qds.dts | 100 +++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 445b72bd5a36..46b1479b7a6b 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -13,4 +13,5 @@ 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-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.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..e1df5758c3e4 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts @@ -0,0 +1,100 @@ +// 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"; + }; + + sb_3v3: regulator-fixed { + compatible = "regulator-fixed"; + regulator-name = "fixed-3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; +}; + +&crypto { + 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>; + vcc-supply = <&sb_3v3>; + }; + + temperature-sensor@4d { + compatible = "nxp,sa56004"; + reg = <0x4d>; + vcc-supply = <&sb_3v3>; + }; + + rtc@51 { + compatible = "nxp,pcf2129"; + reg = <0x51>; + }; + }; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; +