Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3895962pxj; Mon, 24 May 2021 18:09:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbbSiakC5uPUsOCNdxezU5X9IL6We5FrX3ZfFinAVFkbwdtAL/sIXuHbN2Fc8nCdFv52z5 X-Received: by 2002:aa7:dc0b:: with SMTP id b11mr28987686edu.124.1621904967560; Mon, 24 May 2021 18:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621904967; cv=none; d=google.com; s=arc-20160816; b=GYB89p45bWl4qxQKtAdzzuqrpjEhD4HCaZcufYLXEMs6VbmwqUAwh3jGFLvem90iL0 tJ9u0UengpP8rk7nU1oyHS7uuZupKMNRrkTHe/TG2T5JaVBqgfSDwMyxjgYQSrbuf2lq v1KE22Z6Xftu/AHeO9gm6OK4iV2ITWvkYX2uHy5uhFhKTinJI80HvMY80coifN/8Ovwb EOoKtKc0JgLtiXzlblRVK2XqOfInTycQz9CIHkReZbRY36SIyIIrktae0LlL0Aipblfv /ODO47Ccd/sxyvLcPkdVUhId6o+YgsD4NDo2DLGu7A5MKNJ/gg/AFiGemGI8A5ZS7FHO CSVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jDtRZbhOC2kiaH83Vu38CKuYDq3Ey/spCPAL1xviNrA=; b=lW6+Srv66xjzYklCZXxTAlJLW9TLt41RFZhuboohimm7Y9Zh4RFY2N1nN7AgWJ6NEP 5H76nKcmm1Y8+9hmNj0tPnLez6g+dzKYbu5jLjJ5aqo7ZpuA/dBgQuR/VrLhy375s5Kn +FfAnYYj43hDXQi+tdgMK/tj6Q1rxox3nYLtX/gNkK6kRrZJP55OUJJCotxgT9qVGctA pZZu/PHU1itl3bqaNHSYEE99ad3+nsxChRLBcf1+RwEs/7KbW8q6gEkizAC+ExZ1zSvA G3dhJS6lFMi5cAwTJy4RDH4OTjZtzyUxgedn7jDGO1ohdIPLmRrHPiat4z/Kbi/qcp+g VLzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qVgb7bRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qk17si9604650ejb.430.2021.05.24.18.09.05; Mon, 24 May 2021 18:09:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qVgb7bRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229785AbhEYBJS (ORCPT + 99 others); Mon, 24 May 2021 21:09:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbhEYBJP (ORCPT ); Mon, 24 May 2021 21:09:15 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2449EC061756; Mon, 24 May 2021 18:07:47 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id a8so21646340ioa.12; Mon, 24 May 2021 18:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jDtRZbhOC2kiaH83Vu38CKuYDq3Ey/spCPAL1xviNrA=; b=qVgb7bRRRAkUJL3NdtKfEnvW7pu6k2zxZ6/jgx9QeiIAYiXWlIUdm3q++cGV4kgG/s ka3oNWeUX7xGccY2Qy5Axh7+9Uvj/bj2gpGMC9vuZCMRBZbmuIaluACLzIRyoklIUzH9 KuLbDxC1ea1M3PYAWnBlBCLXa9JfG4K3ETZHldbhfJ17J3bJccqqe4fV7wABYB51QbT8 rn6Nwb6BHHBVouzKn5a6uOG9NOInVjFAHtVDnaUqkEiEn5FbwX1lJ6SdK+YZVF74r7v+ dl9kiNyaa8yqh8mQHyzWXRG+4J+/gMpdS6Px102o5G93Dw1itDf1Oo1RDlEqIyovMBm0 UkGg== 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:mime-version:content-transfer-encoding; bh=jDtRZbhOC2kiaH83Vu38CKuYDq3Ey/spCPAL1xviNrA=; b=UASmy5uR5TYSdMl14jF6onSCdCElavFZRjMmypFC0LIAfoUEGLvPqOBYYYX9F6eKe4 h0wJCeuXEE3b5WUVenbXhgY7ddphTMm2U8r91i4Z6VXEhZTcBoK2lE+qtkEBLxM/O9s8 GxlIqNrIWv0+Cx1apmYe0rz8gOaIzYYsCr8cbZdR13Kxj3BiKO3etazo623tRel0FOiX kjsWS3er4IWFZHHhyshvg1TggNfTluEm2NdcQp+x+zAWSqe9ucUqwTCpBOrihXw8CSF5 K+cRybDDvwNrvZ8sPyhrlwyYyCukWcuwt6Se6eb1U3kvVzb/Mb8/PrKnK7UEUX6gYN1O Zznw== X-Gm-Message-State: AOAM53064WnV3rMMrY7hwsMIVDh+a3hEFNmvecpQz5On5pS4GJR3Y5qi psreFSNjroPS8kFFM/QKUC4= X-Received: by 2002:a6b:f118:: with SMTP id e24mr18113453iog.125.1621904866310; Mon, 24 May 2021 18:07:46 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:599b:b8c7:b3a9:9f1d]) by smtp.gmail.com with ESMTPSA id w20sm12318413ilj.16.2021.05.24.18.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 18:07:45 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andrey Smirnov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: imx8mn: add GPC node and power domains Date: Mon, 24 May 2021 20:07:30 -0500 Message-Id: <20210525010732.115562-4-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210525010732.115562-1-aford173@gmail.com> References: <20210525010732.115562-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the DT nodes to describe the power domains available on the i.MX8MN. There are more power domains, but the displaymix and mipi power domains need a separate clock block controller which not yet available, so this limits it to the HSIO, OTG and GPU domains. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index d4231e061403..0eb64b59c8e3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -4,6 +4,8 @@ */ #include +#include +#include #include #include #include @@ -613,6 +615,40 @@ src: reset-controller@30390000 { interrupts = ; #reset-cells = <1>; }; + + gpc: gpc@303a0000 { + compatible = "fsl,imx8mn-gpc"; + reg = <0x303a0000 0x10000>; + interrupt-parent = <&gic>; + interrupts = ; + + pgc { + #address-cells = <1>; + #size-cells = <0>; + + pgc_hsiomix: power-domain@0 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MN_CLK_USB_BUS>; + }; + + pgc_otg1: power-domain@1 { + #power-domain-cells = <0>; + reg = ; + power-domains = <&pgc_hsiomix>; + }; + + pgc_gpumix: power-domain@2 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MN_CLK_GPU_CORE_ROOT>, + <&clk IMX8MN_CLK_GPU_SHADER_DIV>, + <&clk IMX8MN_CLK_GPU_BUS_ROOT>, + <&clk IMX8MN_CLK_GPU_AHB>; + resets = <&src IMX8MQ_RESET_GPU_RESET>; + }; + }; + }; }; aips2: bus@30400000 { -- 2.25.1