Received: by 10.223.185.116 with SMTP id b49csp1041033wrg; Wed, 21 Feb 2018 11:03:17 -0800 (PST) X-Google-Smtp-Source: AH8x226TkSL0GM0UZ5Ml0n+V9RpwuAzjCPfPxv8H4fH4ujUCRBMVNwHXHiZQ1JRjTerwQ2x4uxIW X-Received: by 10.101.85.15 with SMTP id f15mr3455723pgr.153.1519239797405; Wed, 21 Feb 2018 11:03:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239797; cv=none; d=google.com; s=arc-20160816; b=NfWgnA4PJxAqwDnUqp0z1+GWTC5RAPdxS9d+7IvkBALTkEINCkFWJGDFgbxGR+3ZWh eR/nSBb4KVO5qy9GzE4NP4rOXFq5prpXWk8RIo6iZVpYlRyBJOSrgKYGf+WFvQe6idmC Fxc7i0K2IIcE4K+D4l4+hzOpGyB27smCtkIz1dLIVLl6hKDc9nMtdK5qjk+hx/Ce9F0k CG73mHnT+vyw/abrlb+whTQglxOe6P8FFGSbqrx3JmirJtZ5yOUzZn6tryRDmF5Xa+uq 8IPByiLx9I7cekUBVCWSjBXkDTLIf0a2Jniv3DKVgX+o7d7dc0x4a6pRy1ZkgE1PNNeW 54TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=QcdtKuWi+7QJMQIgBldCy1FjhrDdcM8kbAnl58atcGo=; b=I7mABBTYDTT9z2VFfQkBp8ro8O7d+WUJGeKholT/NyCGsT06aW2toiFEHBZlClRPDm b6b6HiBhdUcFYDvQ179vCGYeTQyQqogQMh0ZlHJIxZyL4G5pPfRhHA6/70P9UdyyTOUl RohCxB8mCg5aX4DqWdZMHmNZH6++5ug/oPcyboTqaTELmH5KSrvT/fVNqVxUUsmBFflJ arp+v98HzMArnOXg+WWA9FRoREdnBljTrhcOxQ+RFG8NE/fK7Z13+EBF7HmuGsuNrqb/ /lBT3O+FUAKqVvRMyEKrNcJYR5qohdw/XbyL0ZYZuuZweNJPg/P6QAaiKck5UbEpIACi xITA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n27si493049pfg.102.2018.02.21.11.03.02; Wed, 21 Feb 2018 11:03:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934213AbeBUQSC (ORCPT + 99 others); Wed, 21 Feb 2018 11:18:02 -0500 Received: from mga05.intel.com ([192.55.52.43]:1806 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753209AbeBUQQT (ORCPT ); Wed, 21 Feb 2018 11:16:19 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2018 08:16:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,543,1511856000"; d="scan'208";a="29617845" Received: from maru.jf.intel.com ([10.54.51.80]) by orsmga003.jf.intel.com with ESMTP; 21 Feb 2018 08:16:18 -0800 From: Jae Hyun Yoo To: joel@jms.id.au, andrew@aj.id.au, arnd@arndb.de, gregkh@linuxfoundation.org, jdelvare@suse.com, linux@roeck-us.net, benh@kernel.crashing.org, andrew@lunn.ch Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org, Jae Hyun Yoo Subject: [PATCH v2 3/8] [PATCH 3/8] ARM: dts: aspeed: peci: Add PECI node Date: Wed, 21 Feb 2018 08:16:01 -0800 Message-Id: <20180221161606.32247-4-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180221161606.32247-1-jae.hyun.yoo@linux.intel.com> References: <20180221161606.32247-1-jae.hyun.yoo@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds PECI bus/adapter node of AST24xx/AST25xx into aspeed-g4 and aspeed-g5. Signed-off-by: Jae Hyun Yoo --- arch/arm/boot/dts/aspeed-g4.dtsi | 25 +++++++++++++++++++++++++ arch/arm/boot/dts/aspeed-g5.dtsi | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index b0d8431a3700..077b4d6795b8 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -29,6 +29,7 @@ serial3 = &uart4; serial4 = &uart5; serial5 = &vuart; + peci0 = &peci0; }; cpus { @@ -250,6 +251,13 @@ }; }; + peci: peci@1e78b000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1e78b000 0x60>; + }; + uart2: serial@1e78d000 { compatible = "ns16550a"; reg = <0x1e78d000 0x20>; @@ -290,6 +298,23 @@ }; }; +&peci { + peci0: peci-bus@0 { + compatible = "aspeed,ast2400-peci"; + reg = <0x0 0x60>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <15>; + clocks = <&syscon ASPEED_CLK_GATE_REFCLK>; + clock-frequency = <24000000>; + msg-timing-nego = <1>; + addr-timing-nego = <1>; + rd-sampling-point = <8>; + cmd-timeout-ms = <1000>; + status = "disabled"; + }; +}; + &i2c { i2c_ic: interrupt-controller@0 { #interrupt-cells = <1>; diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 40de3b66c33f..5d3b5e177a32 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -29,6 +29,7 @@ serial3 = &uart4; serial4 = &uart5; serial5 = &vuart; + peci0 = &peci0; }; cpus { @@ -301,6 +302,13 @@ }; }; + peci: peci@1e78b000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1e78b000 0x60>; + }; + uart2: serial@1e78d000 { compatible = "ns16550a"; reg = <0x1e78d000 0x20>; @@ -341,6 +349,23 @@ }; }; +&peci { + peci0: peci-bus@0 { + compatible = "aspeed,ast2500-peci"; + reg = <0x0 0x60>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <15>; + clocks = <&syscon ASPEED_CLK_GATE_REFCLK>; + clock-frequency = <24000000>; + msg-timing-nego = <1>; + addr-timing-nego = <1>; + rd-sampling-point = <8>; + cmd-timeout-ms = <1000>; + status = "disabled"; + }; +}; + &i2c { i2c_ic: interrupt-controller@0 { #interrupt-cells = <1>; -- 2.16.1