From patchwork Fri May 18 09:45:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10409257 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 D84C2601F9 for ; Fri, 18 May 2018 09:48:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C376A22638 for ; Fri, 18 May 2018 09:48:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B809622701; Fri, 18 May 2018 09:48:09 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 3ED5022638 for ; Fri, 18 May 2018 09:48:09 +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=0OgKIFoUkVGC10HAkjC12QhX+RHUnpyAkIXDdExiero=; b=gezI8YYWxPj4O95K5fFSRs8h17 e5KtyQPVVABfisLGQtrT85xP1jcXNz7cm0oQlu34TMHtR7fjVnvBWwzq4xDTtmfXHEu6FUeLTVZRP JuoWPxihrY+3ZIbFvehWYpYST3RUrkt9uTlbC9wkvGg+qAld1tMFlVXm2BRgbM94QIUNcrbcYrrP6 xUF8d/Lo6O0SKj1lYMqgk6dD4fQ26GGsDyYRj6tzeF6uvCZoDuCPNBKpD+3Wl7GX6Imu1mPQAl+Hm qTqyxgGowge4K7wMxnRA4dXbDNoG6ljNTk1wqIaVv/8Wv/40WN1Dc8mhNIGvC6dguei8ufo3B4Okn nTKYB33A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJbzS-0008OC-7C; Fri, 18 May 2018 09:47:58 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJbxt-0007jh-8A for linux-arm-kernel@lists.infradead.org; Fri, 18 May 2018 09:46:31 +0000 Received: by mail-pg0-x243.google.com with SMTP id u8-v6so3092875pgp.13 for ; Fri, 18 May 2018 02:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=q2PweYerSghQwHf42FefZDupNk2NUBFqlboXlJTmXsc=; b=QPRfhIFuYuXd+MIWF0Vg9BOHev0KDTD/vSRzBnJ8Z0RVp9IdAqupX5NvgCkkpjgh8C 06jyKNq5nJtZTz+4ZaXLFAbxikLtp7NDtiXY0rWFSgJe9R7PhKXgE5tr7XZ0y+O+leFx mqbvcq7iHr88/679xJMPcvMNj6Ew67xS1N/hc= 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=q2PweYerSghQwHf42FefZDupNk2NUBFqlboXlJTmXsc=; b=rNPvhkFPbkpquk4GhJb3xAImG9ZdHLi2Uru08kFJdVg0C78F6K00hKhl5NFC2UFIyP SR1IveH29D7GoPk71ASGc4mxQfvVddqXxWyiwwngk1zwVzpROO5svZ/6hyXq4zQQObZU 5YcMOWUdlZIrrzxAMHZFIMRATnE5+3zxbx5Iya9XKmxnswXqxx5N6oCypVlmEkSnhFhA kCW6e6OoXxNpn4hxwf14idbQXwJXOhcPJ+HS74Ug1Q+FWxgbOVAM3u6iLe5nLM3pYoOf N0cth3//drACiJSJh+eyZiW4hqssMX/yxfggxZjEerTIOOXc7bxV1O+1ng7s64XSZQCk cTdQ== X-Gm-Message-State: ALKqPwd3Z1MKPGjhxO9d8k5eKakhpMoLrspm/XmCqKXFanYArV2iu1i8 wGhyH/dveDITa0SNpzAWkhFGzg== X-Google-Smtp-Source: AB8JxZq+AcjhlgFRV3o16tyMMigzSl9nOR5YdtxaWA2MdcG5RjahF3Ji5jje+6cdHnYS4O7VBq8xhg== X-Received: by 2002:a62:7105:: with SMTP id m5-v6mr8489882pfc.167.1526636770483; Fri, 18 May 2018 02:46:10 -0700 (PDT) Received: from localhost.localdomain ([183.82.227.74]) by smtp.gmail.com with ESMTPSA id j11-v6sm12694097pff.64.2018.05.18.02.46.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 02:46:09 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2 02/26] arm64: dts: allwinner: a64: Add DE2 CCU Date: Fri, 18 May 2018 15:15:12 +0530 Message-Id: <20180518094536.17201-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180518094536.17201-1-jagan@amarulasolutions.com> References: <20180518094536.17201-1-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180518_024621_334532_B4AEED53 X-CRM114-Status: GOOD ( 13.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jagan Teki MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP DE2 CCU in Allwinner A64 has same like H5, so use the similar dts details for A64 with fallback compatible. Signed-off-by: Jagan Teki --- Changes for v2: - Add h5 compatible first since A64 came first. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 1b2ef28c42bd..26c2a9c44727 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -43,9 +43,11 @@ */ #include +#include #include #include #include +#include / { interrupt-parent = <&gic>; @@ -168,6 +170,19 @@ #size-cells = <1>; ranges; + display_clocks: clock@1000000 { + compatible = "allwinner,sun50i-h5-de2-clk", + "allwinner,sun50i-a64-de2-clk"; + reg = <0x01000000 0x100000>; + clocks = <&ccu CLK_DE>, + <&ccu CLK_BUS_DE>; + clock-names = "mod", + "bus"; + resets = <&ccu RST_BUS_DE>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + syscon: syscon@1c00000 { compatible = "allwinner,sun50i-a64-system-controller", "syscon";