From patchwork Tue Dec 26 11:43:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10133043 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9814B60388 for ; Tue, 26 Dec 2017 11:44:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87F952E3AD for ; Tue, 26 Dec 2017 11:44:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7CDE12E3CB; Tue, 26 Dec 2017 11:44:40 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 3628B2E3AD for ; Tue, 26 Dec 2017 11:44:40 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=adAJ1GVLiEx9D0q+i0aDH3S0DyoR1zOHFnqd4Rr2UYM=; b=ae5x6NMhy92zO9h/BLUjuqdtvK 3WXyXsvgDqvW8lYS6oOAWufn34lY9jyknSqmCQjOXH3s+/+aU2OiGFtVRrZZZaKusO7yQZOE74haN Ix4mlA658t4ky6oTcRVOZmiKWTGDwMwrC/1PpKa9JI1CRflKEuOczFMNQVzmk11n06FbyMp0mbjUU DPwpa2NRwAaKzdWr9GBq3fFEHvehJTlP2ndaWWo0geTsJYgaedlY9v9o4JPmOxoaxDlTkAdf5eVzy W1RY9LCJy0JZ95UKF+ZVEFw9wQzpoceeL635o2OdfrPk8OdwtT0L+KHtaBbg1CpKpsqKUkL2lYvDl /waVQubQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eTneq-0002gV-Em; Tue, 26 Dec 2017 11:44:32 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eTneg-0002NQ-CV for linux-amlogic@lists.infradead.org; Tue, 26 Dec 2017 11:44:25 +0000 Received: by mail-wm0-x243.google.com with SMTP id 9so34704306wme.4 for ; Tue, 26 Dec 2017 03:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=I2z5pyJ8MmixRYfdP/rcH2t8BWrZJab/dgtGUHx2pIU=; b=KuyIh6QPQ6APrKwA1P1/v/VOd30RlaOJd1DBbFSBxMt2MEgmPMDwcDbjNQQpy4Y38b RhwnkOfDsVudIftGGOJfn9gopy/Zdb/PW/6ISO+3a9MQnZeH6+ppax2drm4n7isypNMQ 6J/t3W0WDtNXsfUoE0nOAogRc2PQRBVfPEqfKzG+wnLxZojrFujjKmjlk0jsIVGYpp6p Vc5GsaImN2KBArcZEl0RTVDQBpIIRAFuIn+Dj9fe4wRmHr2wxsZerD/khGTOjvuMsk4J ouFL6JCfhzlb42OVkDhYZbOzn++KTJf3chkQeoVRIf4YVZBjOsQGuQYrB8nCFe3+UA/l 1ayA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=I2z5pyJ8MmixRYfdP/rcH2t8BWrZJab/dgtGUHx2pIU=; b=OBFthmH++KooALCqruitO8cnn9QndyFbHGzd85YXmdPoEcLBo5VnnCEdxgGjFTr2tU bLc9IA+lGkXPMmYmV/JL/klT7KHxqA1xJ7xFp5Pwj5beTUsBfR8F+Z5qAi7Pk9k15i3P xsxlGGDrI1KEGDpfonXmhv+6Dt70S/kjWn8E7PRIjror6rl7XkOuWgqVPWr14Y7k+8gT +94f9WsHECtUHRSYGDS/GfqUQ8oJzv8drqlHP/okyKX372Ux5PdslGXFvY0E7Jkr8ZQ8 TogPsTr2OpJvPyT+fwaHua6hojgbRrJNtQnsrkktQKOrQ1xzfLZEgZKiaYZ/s18UpIWx k9Jw== X-Gm-Message-State: AKGB3mKs9pH/OgFRhJWGCUnxIZ04ENoO45ydQgJot0mQGZW0Tq8gMRt7 NxYayZtwxGCcdIxcpH2NtjjLLmVe X-Google-Smtp-Source: ACJfBosMa9ENLf/vPfGRfuB5tAKWbtY9teChjM1V859wn0WMEgUkbVXZV0w1AudrsdlUiKhS0y8Y4Q== X-Received: by 10.28.241.10 with SMTP id p10mr8309565wmh.131.1514288650401; Tue, 26 Dec 2017 03:44:10 -0800 (PST) Received: from blackbox.darklights.net (p5DE38515.dip0.t-ipconnect.de. [93.227.133.21]) by smtp.googlemail.com with ESMTPSA id t61sm33840322wrc.21.2017.12.26.03.44.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Dec 2017 03:44:09 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 2/3] ARM: dts: meson8: add the reset controller Date: Tue, 26 Dec 2017 12:43:44 +0100 Message-Id: <20171226114345.23905-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171226114345.23905-1-martin.blumenstingl@googlemail.com> References: <20171226114345.23905-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171226_034422_495792_623BAE05 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Meson8 uses the same reset controller as Meson8b. Add the node along with the #include for the reset lines to meson8.dtsi so we can use it from there as well. Signed-off-by: Martin Blumenstingl Reviewed-by: Neil Armstrong --- arch/arm/boot/dts/meson8.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index ff619f2b3495..ad4cfbeaf706 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -46,6 +46,7 @@ #include #include #include +#include #include "meson.dtsi" / { @@ -292,6 +293,12 @@ reg = <0x8000 0x4>, <0x4000 0x460>; }; + reset: reset-controller@4404 { + compatible = "amlogic,meson8b-reset"; + reg = <0x4404 0x9c>; + #reset-cells = <1>; + }; + analog_top: analog-top@81a8 { compatible = "amlogic,meson8-analog-top", "syscon"; reg = <0x81a8 0x14>;