Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3076496imu; Mon, 17 Dec 2018 12:54:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/WhMRsRKtG4GANDGSXaP2REsb+qKyAj9lPNTBgUykpers7ERdwAl0+A3pAbLMo/+J+KUKxK X-Received: by 2002:a63:42c1:: with SMTP id p184mr13308360pga.202.1545080050991; Mon, 17 Dec 2018 12:54:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545080050; cv=none; d=google.com; s=arc-20160816; b=Aso1LFWTXv7SHVvfGP0y1+cM/UDSwiaUCtwfuafZAAQH2X644/HLgRUe8HQ2Chtg/I QMge1udMSKXFD62LNoiitoAvT7eyrmBCUTQ2NXbeb9shNXnszBDA32MskGiJa/J/XEku TgKJkezMMhw4O2yf7ZKzrcc17V5Vbv0VISw3n9ACG4pHgmmXRlwDGf8HP/tetsqNeD43 PLIy3lz3liRwfVTYoV2z/yiKwUodhWJizhuOSlizeCfokTXcTxULLyvlHBcETT16elI2 GuTy95I5eaZBiXJbRTk3wqPOyrhO6Y75P96Pq8VV+mJGqRJHW54bjoHuY4cx4lyvgl3k hWWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:smtp-origin-cluster:cc:to :smtp-origin-hostname:from:smtp-origin-hostprefix:dkim-signature; bh=yvw7AtsoTE2YxwaSB255LKOsEJAqEUpaPlkV5KitJaI=; b=Q8O/5xmz/F97PhsFH/z7rBjWNeNoBVrAaeYzpdpgn+INPRhv0jvT+Q6knP2Ws86uxn ic+siqLTg3z0xOds6IOfjuMd+gN/q5muQnNw/2ftT0totA034hElDK7gxNVFDHEmbGVY BbX+s6jnHackdJkXaQ/WNbmQczdoeZ9siHaP41aMRmrXJO0NscUWvBvloWljLtvDKLJy Hp/tLr3AYFYxz9r+ctDPpHLbhFP72QGDc+OJ1L4I3q5InhMRHjFdXAMhEje/WvVRRqQt /xptGIzIFsljL4OvP6pVFsItBAd5CIqHxhinJmJvVu2GW+tWBicCHrrRSzZRzhEaIzu4 /FwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=abqWKZiy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c65si12307031pfa.148.2018.12.17.12.53.56; Mon, 17 Dec 2018 12:54:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=abqWKZiy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389426AbeLQUEf (ORCPT + 99 others); Mon, 17 Dec 2018 15:04:35 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:49246 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389408AbeLQUEd (ORCPT ); Mon, 17 Dec 2018 15:04:33 -0500 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBHJxddv006564 for ; Mon, 17 Dec 2018 12:04:33 -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=yvw7AtsoTE2YxwaSB255LKOsEJAqEUpaPlkV5KitJaI=; b=abqWKZiyvRWmJV+mYnqF9DMTB4BEWivM4MRCipft315mPlZ9KFNJWpPDA+pw4DWJb3FA zIOsMRFq9sI0M0YHgj3SoS4bqnLGm/Ypo7mRpx075KzZXkvpoYAoDtcfPA4GDPYJygkP qg8u6DPqLFmYn+bTD7fZxWX3ojmPUYtpM1U= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2pegmwrh06-10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 17 Dec 2018 12:04:33 -0800 Received: from mx-out.facebook.com (2620:10d:c0a1:3::13) by mail.thefacebook.com (2620:10d:c021:18::175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Mon, 17 Dec 2018 12:04:20 -0800 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id 094BD57DAE11; Mon, 17 Dec 2018 12:04:17 -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 , , , , CC: , "openbmc @ lists . ozlabs . org" Smtp-Origin-Cluster: prn2c23 Subject: [PATCH v2 4/4] ARM: dts: aspeed: Add lpc ctrl for Facebook Date: Mon, 17 Dec 2018 12:04:05 -0800 Message-ID: <20181217200405.2904551-4-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181217200405.2904551-1-vijaykhemka@fb.com> References: <20181217200405.2904551-1-vijaykhemka@fb.com> X-FB-Internal: Safe MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-12-17_07:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 73e58a821613..ef7875b54562 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"; io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, @@ -54,6 +65,12 @@ }; }; +&lpc_ctrl { + status = "okay"; + memory-region = <&flash_memory>; + flash = <&spi1>; +}; + &uart1 { // Host Console status = "okay"; -- 2.17.1