From patchwork Tue Apr 24 13:34:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10359915 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 67199601D3 for ; Tue, 24 Apr 2018 13:38:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 568B628D57 for ; Tue, 24 Apr 2018 13:38:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AEB428DE1; Tue, 24 Apr 2018 13:38:06 +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 3D76028D57 for ; Tue, 24 Apr 2018 13:38:05 +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=QCegbN803daED9d5L1TdDNQi4IG2ho5j0Uzmm2NuLF8=; b=RLVtFdQJ7XuqJb1MaYWPjnIwcE yl1c9te1d/Aued6rhprrwPF4Hg1fnJMBaUFZfg8tSXAd7U+0cB1iFBBmF/br0ZHGzZLbRp5B7d2Kx BgxJ+ORld9wo9dnhEpnBm3IxXlOYxJMvAZ5DIUb0Kfn+LMZgVRX0spaKzdY9ysXvfoZ5D6EJE05wD 72kthUsbp1OxkIV0aiYmsvksvedS8WDL/5Hb9zGitQkg+BRCPN6Hl3tenCFDmLfNvJBJpiBYJG1DA OyMfYOgyttfdRBRdYPXq7AyINF3NKEsysLnsZ4C28BOE9WbRx/2L1imqHn8ImhrxMSS2rCkAu3jak aKQQtfLQ==; 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 1fAy8q-0007g7-Hn; Tue, 24 Apr 2018 13:37:56 +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 1fAy5y-0004vo-Do for linux-arm-kernel@lists.infradead.org; Tue, 24 Apr 2018 13:35:00 +0000 Received: by mail-pg0-x243.google.com with SMTP id m21so7894361pgv.8 for ; Tue, 24 Apr 2018 06:34:47 -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=WCSx0+qRSeo6EOHeZBPv+z+7TG/VtU82LRJS37bLGuA=; b=I0iY1omIfi/JmlYmRq1iEeyGi9hgdbl11zuJaSEboQoW1N5Cm2agJ9MNMJo677iW8A XvOvbSFtXOF/nKog5s1qfi3QZfRaKqagvzxFB4+lM4nxzmIEX221gLVFZeJqz3NSDpHF gN1Q68Ay9PYRfibctI3UC+L3yAc928ipsVKcE= 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=WCSx0+qRSeo6EOHeZBPv+z+7TG/VtU82LRJS37bLGuA=; b=hStLw46bdJv5BWXdRLqoz6XXFS4D03mJymboXwfQyNbnUepupsx6EU7pajW8zS8An3 d8guFK8UG4om/yl84sdwafDBzHV3l+BJO8DNZ01NplqhpdhZrt4omqIRgJcrAU8KQRrs rM6zDxCvSQJgyJQPEqVPXAz0pzskM+34R0dpkcE4lIPFdO1n5oSsrAkGF2je6hoPTqBD Llje7NGCxOzHWUqqEgPAC7acfAcVLe0snXnuF0ljYrEFuDfIh5+jz+knrGyAH8W4Sh/0 kXf8tX4sLBlB8HMQBQoqDNkw1neqwv72LjGQxxACX/imDXh6oo03i6/1igl7t3dBz2sw A8mQ== X-Gm-Message-State: ALQs6tAHSTNCmu1EKw3lClDUBgRvtsgsCPsj11/2L8/xABi2xvTJ/RAK sEPF255adn2Cp3ikMWRmdMR7tg== X-Google-Smtp-Source: AB8JxZomhlFi+jUlCUlBhAxsDjjBIeAFDQNLoXlRvW8vzpamrlJ2/mHzZ/BmqeZnIdYuLrMIJcxDzw== X-Received: by 2002:a17:902:3e5:: with SMTP id d92-v6mr507020pld.104.1524576886596; Tue, 24 Apr 2018 06:34:46 -0700 (PDT) Received: from localhost.localdomain ([183.82.229.182]) by smtp.gmail.com with ESMTPSA id b81sm4836029pfj.176.2018.04.24.06.34.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 06:34:46 -0700 (PDT) From: Jagan Teki To: Maxime Ripard Subject: [RFC 02/13] arm64: dts: allwinner: a64: Add DE2 CCU Date: Tue, 24 Apr 2018 19:04:14 +0530 Message-Id: <20180424133425.24291-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180424133425.24291-1-jagan@amarulasolutions.com> References: <20180424133425.24291-1-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_063458_503702_4AF72A08 X-CRM114-Status: GOOD ( 14.09 ) 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: Mark Rutland , devicetree@vger.kernel.org, Jernej Skrabec , Catalin Marinas , linux-sunxi@googlegroups.com, Will Deacon , linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Jagan Teki , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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 in A64 has clock control unit and behavior is same like H3/H5, so reuse the same in A64. Signed-off-by: Jagan Teki --- 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..67b80bbe5bf5 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-a64-de2-clk", + "allwinner,sun50i-h5-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";