From patchwork Mon Apr 30 15:15:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 134708 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3887594lji; Mon, 30 Apr 2018 08:19:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoDnliU6gL2EWctfA1ST1UpwuZkh1hvTJxYhNEStlgkH0xwimXodpWVz/VHAucqaXIT6cjd X-Received: by 2002:a63:2647:: with SMTP id m68-v6mr10439218pgm.56.1525101573910; Mon, 30 Apr 2018 08:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525101573; cv=none; d=google.com; s=arc-20160816; b=J9Ek2F2gzlYLWJmsntd/v+OnwtYHI179rcAvOxFal+7Br8XOCj+I6FyXSaipECLKrL RqpE7VwWht5h1pgPQCNExuVuVS8HUlZHCqGrZHUdlpw+aTGmz+dlJ+b+c1N8RJUKHmRT aKCrRUZ92vqL2atxL4QdFqqggdQ45LJCp1vNPMwTmhmFF+hpE8W0XMuIoYtmbNJ9z7NA r+NvXHpl8RRCUNli5maPp7B50QtExdnp2p2RbqUH6RB4NTcnQySNpLCe4h7I4ANeAjsr g6umxvaguiiNpnV00G0X+wOGCOvp5KZHM1NkX2kTrHYLob2DAtjlkHHiJteC5ZQ1Z/AN zEkQ== 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:cc:to:from:arc-authentication-results; bh=C3CK1Q/Y81SKTrq94SSHtv9n5AZ0egwjno1DnaXMSqo=; b=DzX4EWa01tD1bD2cBTn2BTpjzPoIUDd5Y91qRAyM0RFOBULjIV9/YPHyVqvmaqgjQb PFFLavpwmofuo0vnTNUTqF4H4yYiM/LoBQzWuJw3KEg/qeSUfkz4t0isHV1ohSzBpnSw eqtvWPP+2hbXjHMjJVwn3VZ4Up66fNbhBkfhigfQAtIP0TloKmKQI9evE6a9n/VkW8k3 C5IAjDJ+tyc0iW2wq94B8qpPrbwP+l4yi6Zg/x12k2yk8ZyM7PWuBk7xDrU0HBgrQtnh XRe2SGkV0nm5fyr8ogyFWRsBzD/AsouZ6lkTXTer6fhH7BW/UmHMVEfYMPpEOMXa5VqW y1wQ== 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 t66-v6si6349044pgb.178.2018.04.30.08.19.33; Mon, 30 Apr 2018 08:19:33 -0700 (PDT) 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 S1754620AbeD3PTa (ORCPT + 29 others); Mon, 30 Apr 2018 11:19:30 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54115 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752382AbeD3PT0 (ORCPT ); Mon, 30 Apr 2018 11:19:26 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 167C72F1F545; Mon, 30 Apr 2018 23:19:18 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.361.1; Mon, 30 Apr 2018 23:19:12 +0800 From: John Garry To: CC: , , , , John Garry Subject: [PATCH 2/3] arm64: dts: hisi: Enable Hisi LPC node for hip06 Date: Mon, 30 Apr 2018 23:15:41 +0800 Message-ID: <1525101342-27120-3-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525101342-27120-1-git-send-email-john.garry@huawei.com> References: <1525101342-27120-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch enables the HiSi LPC node for hip06, with IPMI and UART child devices. Signed-off-by: John Garry --- arch/arm64/boot/dts/hisilicon/hip06-d03.dts | 8 ++++++++ arch/arm64/boot/dts/hisilicon/hip06.dtsi | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hip06-d03.dts b/arch/arm64/boot/dts/hisilicon/hip06-d03.dts index 9af6330..8ea1335 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06-d03.dts +++ b/arch/arm64/boot/dts/hisilicon/hip06-d03.dts @@ -25,6 +25,14 @@ chosen { }; }; +&ipmi0 { + status = "ok"; +}; + +&uart0 { + status = "ok"; +}; + ð0 { status = "ok"; }; diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi index 35202eb..d78a6a7 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi @@ -350,6 +350,27 @@ #size-cells = <2>; ranges; + isa@a01b0000 { + compatible = "hisilicon,hip06-lpc"; + #size-cells = <1>; + #address-cells = <2>; + reg = <0x0 0xa01b0000 0x0 0x1000>; + + ipmi0: bt@e4 { + compatible = "ipmi-bt"; + device_type = "ipmi"; + reg = <0x01 0xe4 0x04>; + status = "disabled"; + }; + + uart0: lpc-uart@2f8 { + compatible = "ns16550a"; + clock-frequency = <1843200>; + reg = <0x01 0x2f8 0x08>; + status = "disabled"; + }; + }; + refclk: refclk { compatible = "fixed-clock"; clock-frequency = <50000000>; From patchwork Mon Apr 30 15:15:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 134707 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3887508lji; Mon, 30 Apr 2018 08:19:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqP+NfKRzgKdyhCVDq67tjfTc7jam0HoKRLGiPUzQCilW/Hj6IjWhQcKyvRNdYnz/VtCw1V X-Received: by 10.98.196.19 with SMTP id y19mr12375928pff.97.1525101568769; Mon, 30 Apr 2018 08:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525101568; cv=none; d=google.com; s=arc-20160816; b=Wgz2EXniIS5YZHF59vM5Ik3WIWszA5QiEWdoBfkG05sDsyS5zBBkyw6Xgggc9C1TLI x6leQByZhR8qgz+oocN3sbEhLKpSlexQzVQE9ww42VV0fHSyCVeZYSDr1JK4rVpoCfIO 8gUpw9bILFXQIoHcFTR3vuiBwo5ohBx6EBU3sV30CaHtD1dUVirMTh98giHOxeL79dx3 BYuqrUPgQO6YN+RIauaY41URCbiIOkosYcrAfEy1J1mkwSHjBpywIMkOpUSqnWeceYeD J1R9e1ieb3VLwyWT51gg0hUUe5/5oOCsuCCqsLk38Cpq2TUm9oymongLE7P+fmFocSgc JL4A== 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:cc:to:from:arc-authentication-results; bh=pv231CfHo8iDykI2iwKSKMZmPU6zB1Euo3Am9ZvlWrU=; b=xLZz06rPtVTADQxTBk39PvcNGLqOpCeN3euId5MbpNfDdhrUUvdxrmZdZeUZOdoQjX PELW6/SOr6DIL9bGfY+oMi2ZGmVAihBgxm/qZvqWA07nK0dNKLoYiiipH4fNQBI5W68z gC+USg8XXLL9gDBr4L5Zun5NQDfCiO77Yc98VjSvF5cvvESI7u30vg0058bVeWbYlMa+ rLkOyQ8jOi95JxAU/OfavgaczfZiof4c56/9qifyepPs/I6y+Y1LMYHMhH4KQ4aobImi EkWpOZvkJIJju9HIeRKcZCCurh6TWpLVRd04kTRdvWiWD1ox2UwDJ9qzeEdx2lr1jznA +g1g== 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 t66-v6si6349044pgb.178.2018.04.30.08.19.28; Mon, 30 Apr 2018 08:19:28 -0700 (PDT) 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 S1754580AbeD3PTZ (ORCPT + 29 others); Mon, 30 Apr 2018 11:19:25 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54113 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752674AbeD3PTW (ORCPT ); Mon, 30 Apr 2018 11:19:22 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id F06845C51DAAE; Mon, 30 Apr 2018 23:19:17 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.361.1; Mon, 30 Apr 2018 23:19:12 +0800 From: John Garry To: CC: , , , , John Garry Subject: [PATCH 3/3] arm64: dts: hisi: Enable Hisi LPC node for hip07 Date: Mon, 30 Apr 2018 23:15:42 +0800 Message-ID: <1525101342-27120-4-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525101342-27120-1-git-send-email-john.garry@huawei.com> References: <1525101342-27120-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch enables the HiSi LPC node for hip07, with the IPMI child device. Signed-off-by: John Garry --- arch/arm64/boot/dts/hisilicon/hip07-d05.dts | 4 ++++ arch/arm64/boot/dts/hisilicon/hip07.dtsi | 14 ++++++++++++++ 2 files changed, 18 insertions(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hip07-d05.dts b/arch/arm64/boot/dts/hisilicon/hip07-d05.dts index fe7c16c..21147e8 100644 --- a/arch/arm64/boot/dts/hisilicon/hip07-d05.dts +++ b/arch/arm64/boot/dts/hisilicon/hip07-d05.dts @@ -57,6 +57,10 @@ status = "ok"; }; +&ipmi0 { + status = "ok"; +}; + &usb_ohci { status = "ok"; }; diff --git a/arch/arm64/boot/dts/hisilicon/hip07.dtsi b/arch/arm64/boot/dts/hisilicon/hip07.dtsi index 0600a6a..9c10030a 100644 --- a/arch/arm64/boot/dts/hisilicon/hip07.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip07.dtsi @@ -1114,6 +1114,20 @@ #size-cells = <2>; ranges; + isa@a01b0000 { + compatible = "hisilicon,hip07-lpc"; + #size-cells = <1>; + #address-cells = <2>; + reg = <0x0 0xa01b0000 0x0 0x1000>; + + ipmi0: bt@e4 { + compatible = "ipmi-bt"; + device_type = "ipmi"; + reg = <0x01 0xe4 0x04>; + status = "disabled"; + }; + }; + uart0: uart@602b0000 { compatible = "arm,sbsa-uart"; reg = <0x0 0x602b0000 0x0 0x1000>;