Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1041279imu; Tue, 11 Dec 2018 11:40:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/XYmJQhnQzcFJ/2bPFgtZyAQq3JObmGI2F5Jt64jnpBIE88lsXa8a6w5ejcagWcGcMDHBbq X-Received: by 2002:a17:902:ac1:: with SMTP id 59mr16921396plp.36.1544557249921; Tue, 11 Dec 2018 11:40:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544557249; cv=none; d=google.com; s=arc-20160816; b=sw0aiRDTYN9QAitrEjJp37dcm4zcngM/V/Yh3jXohVZOnwQQP3hJGPHpIzEJHuMoj8 5NvVTf5KyD702Ftuwm1guj/4DvF91/Nq6ooUXnTWuCijqDUoZMk4K9o90TNv70F5ZiYq dqnKo6AOdjO0jaRtGoSWPJDgOk3qcl3AoE/vxbzlabfYe/rh0dIX8CaDy07jtY8vzmJ8 dhEktZtTf+rMNt02mizkwZYm1xi1f4dfXsRQFOOdpqTtss6BM40Qypxd+KgbZX78sUUH huoAcgP49Q05npLHSK+h5+lxjAJkvG8Avxpw7sifIEHXjryAe8Mgo9O6WGzEtOY/BSnM UHeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject :smtp-origin-cluster:cc:to:smtp-origin-hostname:from :smtp-origin-hostprefix:dkim-signature; bh=9S7Huczn8dJSngKp1fJ/ZoCzFYxIA5gUIBVyYjRoTLU=; b=bAo8OjidcN21mxnRsJl39rU1Zp15dGcB8J7gFzV2DhmzpX4Qe89bStqf8BxpoQKhLI x/nC8Jatc98sjwGwOGR46CqlZ4gy/aahJfdnO+CjLaZYBNHEI7my16Pj0V4w9uCQWa6C 0fiTa2rK26tRAioqa+9xSr+0MG1QoMR6/bjtn5gKOk8EXEhgEssfq4AJLb3qEVXv0HwS g1QFFFmOAxeOAAk/enqUvfIZXg/s1SXWpuRAtQSkJSvnQYEAeeWYVU3ZCZONrgKFDfXj jo8BO+AaSXhlAAxLKxyEz2SJIvKo6jjPOLLSzRUDSLj9QRoc5zgigq9DYkQYmz3m7Jh5 ws1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=dJBFhvsH; 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 z129si13479913pfz.13.2018.12.11.11.40.34; Tue, 11 Dec 2018 11:40:49 -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=dJBFhvsH; 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 S1726248AbeLKTjJ (ORCPT + 99 others); Tue, 11 Dec 2018 14:39:09 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:48206 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbeLKTjI (ORCPT ); Tue, 11 Dec 2018 14:39:08 -0500 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBBJblkw021454 for ; Tue, 11 Dec 2018 11:39:08 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=facebook; bh=9S7Huczn8dJSngKp1fJ/ZoCzFYxIA5gUIBVyYjRoTLU=; b=dJBFhvsH+/X8/JNDz3jo5dsxT25GjmJucY62UPraURW1bMxXBCGH81WBwGMZkBar7LjI yFLx3lucCuXDsIxbTXRwc3UoeUk9xAXHjErbeOZx37v8r1RqKTaWNGWtBL9k9Wi5pD6x w8VIy7PQizQeAMU/KVJKGHDxktuNgFvBGKI= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2paj6agdyh-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 11 Dec 2018 11:39:08 -0800 Received: from mx-out.facebook.com (2620:10d:c081:10::13) by mail.thefacebook.com (2620:10d:c081:35::129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Tue, 11 Dec 2018 11:37:25 -0800 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id 8D41B4C791F0; Tue, 11 Dec 2018 11:37:21 -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 v3 1/2] ARM: dts: aspeed: Add KCS & lpc ctrl for Facebook Date: Tue, 11 Dec 2018 11:37:18 -0800 Message-ID: <20181211193719.2232084-1-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 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-11_06:,, 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 kcs device and lpc ctrl device to enable LPC clock in Facebook Tiogapass device tree. Signed-off-by: Vijay Khemka --- .../dts/aspeed-bmc-facebook-tiogapass.dts | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts index d9d7f208788a..9544fa2c1822 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts @@ -21,6 +21,18 @@ memory@80000000 { reg = <0x80000000 0x20000000>; }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + flash_memory: region@98000000 { + no-map; + reg = <0x98000000 0x04000000>; /* 64M */ + }; + }; + iio-hwmon { compatible = "iio-hwmon"; oemname0 = "MB_P3V3"; @@ -62,6 +74,12 @@ }; }; +&lpc_ctrl { + status = "okay"; + memory-region = <&flash_memory>; + flash = <&spi1>; +}; + &uart1 { // Host Console status = "okay"; @@ -75,6 +93,18 @@ status = "okay"; }; +&kcs2 { + // BMC KCS channel 2 + status = "okay"; + kcs_addr = <0xca8>; +}; + +&kcs3 { + // BMC KCS channel 3 + status = "okay"; + kcs_addr = <0xca2>; +}; + &mac0 { status = "okay"; -- 2.17.1