From patchwork Thu Dec 13 19:53:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijay Khemka X-Patchwork-Id: 10729729 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 9B9A214E2 for ; Thu, 13 Dec 2018 19:54:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 876A12C934 for ; Thu, 13 Dec 2018 19:54:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A91C2C95D; Thu, 13 Dec 2018 19:54:34 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham 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 28D2F2C947 for ; Thu, 13 Dec 2018 19:54:34 +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=X2fE4135sGSqj/4fIejo4NODBYOKKM7FPLgj/sg4qn8=; b=QDTl7AyGaV/BK9 tYp/JTTMvl2nQrnfBwbVfdcaNASqLi/otc1xDNdcACrhwuiBRVZ+iKgrlsNcug1JnLeoMZYpqjidY ijL1+FvnRyoxqysugyt/LODsWtFpcC5OvJwhIchD9T2dX/4jsQAYJhy9FUH5wdpfauSyH1D+pT8GE ohNlA+IK//yhMmJvaMuRIoJBJvFaoKuTsBTENUJlJ1IPhs1kf0Ub3/Vu6RwQpkPLSyuu8ist0Qm4V s1ftT1E9ZT5kFWEovwW6Ez/nAKhhGGl4nlmkuA2Ur6gmMDaRXkHA+I4rig4FUUn1dfwG8wO/Gelux WDcBbpp6qHLrinckbBSw==; 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 1gXX44-0008AE-CJ; Thu, 13 Dec 2018 19:54:32 +0000 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXX3u-0007uC-GK for linux-arm-kernel@lists.infradead.org; Thu, 13 Dec 2018 19:54:27 +0000 Received: from pps.filterd (m0148460.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBDJmwPN028496 for ; Thu, 13 Dec 2018 11:54:11 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=df7od6Rx5dZL0YQ90r7hJTm0FUuwHXxd73YdHZIQlww=; b=p2W70hAzNS+aghVNqCGr9p/6TaaYRr+LxvGR63XRG/0a5hwKERcx0dMtiAoDg7UYbmUL dIf7Ydwhs4BZynCC95p8IV96vtps3dMaZD6VprdiIAWyc1WJHpfiPvwiKOPiPYASepmb r8qXxBe4nA6S4om7gYtdnbr9UZ4HCzITuIw= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2pbu0p8rsq-10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 13 Dec 2018 11:54:11 -0800 Received: from mx-out.facebook.com (2620:10d:c0a1:3::13) by mail.thefacebook.com (2620:10d:c021:18::173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Thu, 13 Dec 2018 11:53:28 -0800 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id 579344EBD9BA; Thu, 13 Dec 2018 11:53:23 -0800 (PST) Smtp-Origin-Hostprefix: devvm From: Vijay Khemka Smtp-Origin-Hostname: devvm4117.prn2.facebook.com To: Rob Herring , Mark Rutland , Joel Stanley , Andrew Jeffery , , , , Smtp-Origin-Cluster: prn2c23 Subject: [PATCH 4/4] ARM: dts: aspeed: Add lpc ctrl for Facebook Date: Thu, 13 Dec 2018 11:53:19 -0800 Message-ID: <20181213195319.1333402-4-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181213195319.1333402-1-vijaykhemka@fb.com> References: <20181213195319.1333402-1-vijaykhemka@fb.com> X-FB-Internal: Safe MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-12-13_03:, , signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181213_115423_197175_577BB5CB X-CRM114-Status: GOOD ( 13.44 ) 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: "openbmc @ lists . ozlabs . org" , vijaykhemka@fb.com 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 Added lpc ctrl device to enable LPC clock in Facebook Tiogapass device tree. Signed-off-by: Vijay Khemka --- .../boot/dts/aspeed-bmc-facebook-tiogapass.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts index b99751b3e080..084110007f5d 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts @@ -22,6 +22,17 @@ reg = <0x80000000 0x20000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + flash_memory: region@98000000 { + no-map; + reg = <0x98000000 0x00001000>; /* 4K */ + }; + }; + iio-hwmon { compatible = "iio-hwmon"; oemname0 = "MB_P3V3"; @@ -62,6 +73,12 @@ }; }; +&lpc_ctrl { + status = "okay"; + memory-region = <&flash_memory>; + flash = <&spi1>; +}; + &uart1 { // Host Console status = "okay";