Received: by 10.223.176.46 with SMTP id f43csp1216600wra; Fri, 19 Jan 2018 08:26:15 -0800 (PST) X-Google-Smtp-Source: ACJfBoulC/D9D5xoMQPlssTBXm0THAE31t1RIZelSIR77dMo3Qpd9YRIex+iq8u5N/qEHNVS2CcG X-Received: by 10.101.100.69 with SMTP id s5mr34312609pgv.88.1516379175630; Fri, 19 Jan 2018 08:26:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516379175; cv=none; d=google.com; s=arc-20160816; b=mR4T5F5EZA1VzSTf7Hb1i6sn4jWRgQ1Cfzts/vFAX2bBrrnprkIJxsm+fRvifxiJbx L9JsPAKp0ZrQyzWVG1rQfJnHtGG3XNqTJuh7Jd3Jcz6XwFq7VFK/Tw5yNxA04crK2Olq qM7NCydBZ91Yb2AkC2GRMCMrpDMSsRYp7Pe2cMN3VR0hzGbM9y1XKiVylI6i2+35IZ9s h3diGq/0eW6l+pIS4MIPDf4JKFgiasKW1K8LjSL3FftQ9SAkR/d1kMCCB/v6Pql2IjHx rIcX/kS5fTVoTfdTkKLi+opwrp1hNu5LUhOncjCdqGJuaxBvnbUocL+FzwyHgg8wDEcH 8bcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:arc-authentication-results; bh=XKXiw3l+/uIYF9SIFwfPeZkH7Z7vFKUEL+hfdpZ1mls=; b=OAMYxcKZTj5ncwDJqNkb/xe/CNcouuTTFbFgjvk2BCwK8b37oOWRjweptpE+GaRilq Py0N25x/Zx6hf2mhHESJcxy6xn1qayWUoDfPBRxodUdUmyaNklA1SzMmvocmk3d5MDpf l+RUgRM9CkmwxZ4s1vj3QJjZOA43Y3x944QbOhYXx2wnmW4MtuBQcZNFK1ChrnUn9Xr0 hsS6UBXHDROBB3PmJUdIEQWXBXf4SOX+N9R24dSPmGnpudJ4YU0VfSLK6bxSWGqFrjUa NnBe/7PkVBQhCXCaHcqnfvRPbMW+5Oz1opa+DRfyzRvwBB+lUtNCyABP5++zxXHYoaSV W0hg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16si288154pgd.125.2018.01.19.08.26.00; Fri, 19 Jan 2018 08:26:15 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755891AbeASQZH (ORCPT + 99 others); Fri, 19 Jan 2018 11:25:07 -0500 Received: from mail-by2nam03on0046.outbound.protection.outlook.com ([104.47.42.46]:6968 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755940AbeASQZB (ORCPT ); Fri, 19 Jan 2018 11:25:01 -0500 Received: from MWHPR03CA0019.namprd03.prod.outlook.com (10.175.133.157) by CO2PR03MB2360.namprd03.prod.outlook.com (10.166.93.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 19 Jan 2018 16:24:59 +0000 Received: from BY2FFO11OLC004.protection.gbl (2a01:111:f400:7c0c::108) by MWHPR03CA0019.outlook.office365.com (2603:10b6:300:117::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Fri, 19 Jan 2018 16:24:59 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC004.mail.protection.outlook.com (10.1.15.184) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Fri, 19 Jan 2018 16:24:55 +0000 Received: from b29396-OptiPlex-7040.ap.freescale.net (b29396-OptiPlex-7040.ap.freescale.net [10.192.242.1]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0JDBGiQ013190; Fri, 19 Jan 2018 06:11:38 -0700 From: Dong Aisheng To: CC: , , , , , , , , , Dong Aisheng , Rob Herring , Mark Rutland Subject: [PATCH V3 06/10] dt-bindings: clock: add imx7ulp clock binding doc Date: Fri, 19 Jan 2018 21:11:06 +0800 Message-ID: <1516367470-24340-7-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516367470-24340-1-git-send-email-aisheng.dong@nxp.com> References: <1516367470-24340-1-git-send-email-aisheng.dong@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131608526988169686;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(39860400002)(396003)(39380400002)(376002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(54534003)(105606002)(2351001)(106466001)(498600001)(48376002)(50466002)(81156014)(81166006)(97736004)(4326008)(450100002)(8936002)(59450400001)(2950100002)(76176011)(51416003)(6666003)(8676002)(36756003)(16586007)(2906002)(5660300001)(356003)(47776003)(316002)(53936002)(54906003)(68736007)(305945005)(104016004)(6916009)(50226002)(77096007)(26005)(86362001)(85426001)(2004002);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR03MB2360;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC004;1:KH0cOZ+gOop+z3JFvLfwI/f6MGBnQt2bJ9cI5q+QY/FgJl0EVP30Eon4GLdbnwEFEuasiOinbL7KAkjud1r6hE2TYOmU9lUdYnoPbKX8NllreUl8mMMIlE1e2GA9JsEr MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ac96373-a6c3-478b-d1d6-08d55f592f01 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(5600026)(4604075)(2017052603307);SRVR:CO2PR03MB2360; X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2360;3:+nIsEF8aAC+IoZevlrjEHRe1oQZgMxisCLFBlDBGEzciPxoypaUHuXzTxNI0cVK3bXQYCHmqIZc4IqAhSnYQGuPEx6aE7yah+wlRHhHeB16fAitqdnptihczK5nw5OF/84Pm0TLk7hsCGsYWGLYkk/0RnCgehedqFmeDgf3snTixCdgnrUFxsoGVFIVG2aFmefmKfoqeuY8W41L3Dh1LHRTlnDyMW/hxYmmTHeI8Ky8hXxIV7Ju4NI6kYdGU1tsO4P8x0v/PUfj3deqFydBdi/LVIGBXd+HVS6K9+8J0frqPW3JNrGOU0U2+v9p3bwJHzhPSP+q/0vsfgevzr5f9NWLEw407lMmB5SzV0FhnO3Y=;25:tRMSIRWibrYXnykOuyCo2W+cLPin36Pz8CYC+O/tHqE5kO2vMVlLKa/Cwztiiq9vB5OGI141F+NzpHaEbd1lgVyR7byQ0qGIS6Ow7mlsvs2DdqILYqbWbYF4FuUstAL26LZTrlD89IdGRxw5l9mDoZmn1XodGN4Zgt5Vv3roN8C2TAM5tyr/iREKPSsItUGtTpdl3VDsvYLj7/6i0af2GVd82LmwUxuHFBas3dKIJXTAjXiOeYnD81JVV3xvwPoIwxW4P005pMrgBt4Zq+zLeZ3nJojX5XG5r9DKQcRiK99Tq5N1kNNNdoMZuXAul8fUxR6ScRmKsvVq/p3zLRCdiA== X-MS-TrafficTypeDiagnostic: CO2PR03MB2360: X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2360;31:rbb3YcENAhM1LdRfWuNSz6udEDlJIhtimhWY+RkUY5z/ULSmtO05GXgW2z6XNipWb35Z+TjMRRCA53tRdQ6xqFZftPPYkVV1vCSrvLTfMHGATK6qpdXRkA5n1NI2X1d3ywIgyyvr5NpvkebAj0amniXZ5NXgdUCF+qW/RPYFbaIxvhkw9VOA4cnnGE5d6KQSM123F1Q8H9MIj8Ox4wdhRjoH5NYLuM74gkN2AceX2vo=;4:wUt5VADV4y/XV0oraq1/enLIGNXTnSoGr0J3OIlcQRBsYukrG6uhPCJ/ptf7ph/BL5S1zKXn9ZbypIIibUGuXrqcoLSXIIsSogvZXYw/+GRS2R/by1AUOlYK+pjKFIVgGOp/HBjsB+WJ3250bX6qbnD2HQQcwd2ET+NeSNYWSkHhG0CtByB1ue73zX3XZ6rTNq6M5ycti/Q7sVtosHvJBGjjNNjVhjiZMB6z3JgPsfKuW55+3rGtHuBrsUmk4xvmwJBZ9NJeaaKE/GEfU2OrCThUrAuhCT0+W7sdkUvuWL+TSqk+VhrqgYlP0M6Vecfp4D+ZPEqUNOb15fiR7L4iG5/+PkrH8neGsPTdWkwCGHw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(2401047)(8121501046)(5005006)(3231023)(2400079)(944501161)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123556025)(20161123561025)(20161123563025)(20161123565025)(201708071742011);SRVR:CO2PR03MB2360;BCL:0;PCL:0;RULEID:(100000803101)(100110400095)(400006);SRVR:CO2PR03MB2360; X-Forefront-PRVS: 0557CBAD84 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR03MB2360;23:ae1JBQP38Hcvc5wfmug4jGVmEdLI8xLOY5kPToXMS?= =?us-ascii?Q?dFQ/vM4efTETEv+vDOLEgfH4S1ztqD12dNKIBd9ljqu1GPcAyNmIMqkZADuH?= =?us-ascii?Q?Ezko4gvxRR7Eyx7RC4e/00Izvkl60QOFvpD7lZtlQuW7AYRWjgx5NJHzBJDb?= =?us-ascii?Q?0gKdpJYuC+DR1I63bwxJWB6L7kV36jaMoTUt7eWNE/LecXm601Yu6PjDJl99?= =?us-ascii?Q?sb2M7WzHoRMKdHy9dG0kPAVrr7PwClZ4Utm+lS/Vn24RGRN1Wy5Spnb1RHB8?= =?us-ascii?Q?L0zfjDDmsy+K1hdE1M4eQbZwRiO8+bN5RwWOtucccc1fOHrkp6Sa81zDiMKd?= =?us-ascii?Q?Ol79P96XtiEZ1KqNieMMQH+psbksIrY/5fWPp77HmYlMdfnwwqb1t3J8axMn?= =?us-ascii?Q?31cuu0U88CQmOOiIN2jQt0LPV/fInDvjE6Jcyr+pwpRUTtnCcochht7PXVdY?= =?us-ascii?Q?nT9wQa271IXl4P0jJRPar9FKVJ+6lvvgnXbDiSBqVjbQqTDMhyZ6Yw4TlbjC?= =?us-ascii?Q?9uWzF48yqmO1wSS/vjTS+mURSEByX+7SaLfGz1FPOHrZP83bRf4XLohgl98Q?= =?us-ascii?Q?Z5Ab5a8Bko37AdFgOh8428nZuiwGYkqn2eZxP7wyZI55p5VVWSqVifulkgIz?= =?us-ascii?Q?9edYLuYC6RUHRMqZPtfeTOqOrpHm6AWUoic7PBY6y9dI6fLdy9nBh+BB0DR7?= =?us-ascii?Q?Q9qLTJSTWZxmkY4Mt8RGi+oct9BwFXW/u/4LE8QNe/jcjyGrXcRNGxExx9eP?= =?us-ascii?Q?1BZtLRNdeo6G7YUy/HBblVMKu1rrPENECm3xxn/C5w8SWIHmf4TfrXaVCSs0?= =?us-ascii?Q?VsEsRszBHnnT/1uk+LbyaV9S9kL5QDniSKL8lzkuLtIVcLrXuplhQd1ebAbK?= =?us-ascii?Q?whPc5aZweHXd0ULfvjmf1gr9JjJJrN+bW1YehXm94/6D0zQkACX2ZMr4Fkw5?= =?us-ascii?Q?KQGwp/GkjATI/ZdqRChEBjAFEf9hop0tjdXluvD5nB8B8ruHlPZwnFNQ8Anc?= =?us-ascii?Q?7kE4rnFJkhu0LIr4y2cAjNoAsq8zYZa37XcGo/Q6DOghsMwo6c/6YqddTo/A?= =?us-ascii?Q?RhTPrLeW7QBHuCD0RBUJiZBm7UVq5K5tPvJHZX1TDI543Od/nmcAIrFz2Ux+?= =?us-ascii?Q?yJC6z+qKNcMcyEmGCKuxHLq0qfXejQC1l0gYPSihGh6YJGEWHnGPg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2360;6:QxHpWazXZa7q/XEfsPciIwOjB5hDL/yzqLu874IvBIhb0wlB2nl2d1tJnwPpeUHMm/7R8ni/x6sv+9OKQTWX2m7ZnLIDayKUzvYV6Cf6XYeUdgsFJ/tSpRwPmfQiyAKjLGUMQRJIZmzBrohWEghpGChErdxKvWZGRDhtpRyp58LTRCcbv60Z42BA2yDbBqV9EkCUIu0EPHLqxd8i7O9jrKXiGslecoeirzR6KmxWXTbdik/HXCOg2WF3ppa/S+YnSQylVfTPm8zgPoNdKJYvpWvNWAl/VC5lx2SvnlApch9AemsNkMEQVNyGPJlCLoi4xKlABWYwKB/wmxq+NZ1MbB15fmzvAnD2Za2+ACVU03g=;5:xdeJdjaU/21mH+2Kp5xQyBkqa5PYftfm/J3VflQ0h5B8JaApaB1xpKZPE3MPoFmYzYxYnqjojqYPdghMpLX4xBxu2YXkF59PYywnqTYf+IdRv1fEY2CjQNJdCtWIj0PoE1//kpfBoSh1Dg9UcYdH3knVRi0ZaZTHvwK07PtHZe0=;24:kCUbZwjpIwPpHX3ISCm+ucjkWIY3F3tfHRAbJf/+cG9HI6eAZX6XvmufNUi+aLudZIGb4DpaMIFTUXZ9ffTh08rGdQy7Q0T/x6zf6GxiIUk=;7:Gfvsq5iIQvPsTisIVbCGi1oriyimF65ivjP+l8+sR7cOW2sLxStyr13FELouKmiOXkcGGoNZjNC8c54nPud/h6Cl3KLqpHsO4UYbj+XFB70ALeoWZ89oP9DOy8z4OUjqAoR8zRXuqRkbqmN12/xHHwNl/+JpKQ5j9g6+qzf6mA2wNxE4O6OX5zo9DqdQLRk85uB1lRf7jpIy51QW09Hi6O+p+KWfpHXzDRzZvh6kvYx34t0xLSbehdDm/blZY+qC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 16:24:55.3849 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ac96373-a6c3-478b-d1d6-08d55f592f01 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2360 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i.MX7ULP Clock functions are under joint control of the System Clock Generation (SCG) modules, Peripheral Clock Control (PCC) modules, and Core Mode Controller (CMC)1 blocks Note IMX7ULP has two clock domains: M4 and A7. This binding doc is only for A7 clock domain. Cc: Rob Herring Cc: Mark Rutland Cc: Stephen Boyd Cc: Michael Turquette Cc: Shawn Guo Cc: Anson Huang Cc: Bai Ping Signed-off-by: Dong Aisheng --- ChangeLog: v2->v3: * no changes v1->v2: no changes --- .../devicetree/bindings/clock/imx7ulp-clock.txt | 62 ++++++++++++ include/dt-bindings/clock/imx7ulp-clock.h | 108 +++++++++++++++++++++ 2 files changed, 170 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/imx7ulp-clock.txt create mode 100644 include/dt-bindings/clock/imx7ulp-clock.h diff --git a/Documentation/devicetree/bindings/clock/imx7ulp-clock.txt b/Documentation/devicetree/bindings/clock/imx7ulp-clock.txt new file mode 100644 index 0000000..76ea3c7 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/imx7ulp-clock.txt @@ -0,0 +1,62 @@ +* Clock bindings for Freescale i.MX7ULP + +i.MX7ULP Clock functions are under joint control of the System +Clock Generation (SCG) modules, Peripheral Clock Control (PCC) +modules, and Core Mode Controller (CMC)1 blocks + +The clocking scheme provides clear separation between M4 domain +and A7 domain. Except for a few clock sources shared between two +domains, such as the System Oscillator clock, the Slow IRC (SIRC), +and and the Fast IRC clock (FIRCLK), clock sources and clock +management are separated and contained within each domain. + +M4 clock management consists of SCG0, PCC0, PCC1, and CMC0 modules. +A7 clock management consists of SCG1, PCC2, PCC3, and CMC1 modules. + +Note: this binding doc is only for A7 clock domain. + +Required properties: + +- compatible: Should be "fsl,imx7ulp-clock". +- reg : Should contain registers location and length for scg1, + pcc2 and pcc3. +- reg-names: Should contain the according reg names "scg1", "pcc2" + and "pcc3". +- #clock-cells: Should be <1>. +- clocks: Should contain the fixed input clocks. +- clock-name: Should contain the following clock names:"rsoc", "sosc", + "sirc", "firc", "upll", "mpll". + +The clock consumer should specify the desired clock by having the clock +ID in its "clocks" phandle cell. +See include/dt-bindings/clock/imx7ulp-clock.h +for the full list of i.MX7ULP clock IDs. + +Examples: + +#include + +clks: scg1@403e0000 { + compatible = "fsl,imx7ulp-clock"; + reg = <0x403e0000 0x10000> + <0x403f0000 0x10000> + <0x40b30000 0x10000>; + reg-names = "scg1", "pcc2", "pcc3"; + clocks = <&rsoc>, <&sosc>, <&sirc>, + <&firc>, <&upll>, <&mpll>; + clock-names = "rsoc", "sosc", "sirc", + "firc", "upll", "mpll"; + #clock-cells = <1>; +}; + +usdhc1: usdhc@40380000 { + compatible = "fsl,imx7ulp-usdhc"; + reg = <0x40380000 0x10000>; + interrupts = ; + clocks = <&clks IMX7ULP_CLK_NIC1_BUS_DIV>, + <&clks IMX7ULP_CLK_NIC1_DIV>, + <&clks IMX7ULP_CLK_USDHC1>; + clock-names ="ipg", "ahb", "per"; + bus-width = <4>; + status = "disabled"; +}; diff --git a/include/dt-bindings/clock/imx7ulp-clock.h b/include/dt-bindings/clock/imx7ulp-clock.h new file mode 100644 index 0000000..2556106 --- /dev/null +++ b/include/dt-bindings/clock/imx7ulp-clock.h @@ -0,0 +1,108 @@ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017 NXP + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#ifndef __DT_BINDINGS_CLOCK_IMX7ULP_H +#define __DT_BINDINGS_CLOCK_IMX7ULP_H + +#define IMX7ULP_CLK_DUMMY 0 +#define IMX7ULP_CLK_ROSC 1 +#define IMX7ULP_CLK_SOSC 2 +#define IMX7ULP_CLK_FIRC 3 + +/* SCG1 */ +#define IMX7ULP_CLK_SPLL_PRE_SEL 4 +#define IMX7ULP_CLK_SPLL_PRE_DIV 5 +#define IMX7ULP_CLK_SPLL 6 +#define IMX7ULP_CLK_SPLL_POST_DIV1 7 +#define IMX7ULP_CLK_SPLL_POST_DIV2 8 +#define IMX7ULP_CLK_SPLL_PFD0 9 +#define IMX7ULP_CLK_SPLL_PFD1 10 +#define IMX7ULP_CLK_SPLL_PFD2 11 +#define IMX7ULP_CLK_SPLL_PFD3 12 +#define IMX7ULP_CLK_SPLL_PFD_SEL 13 +#define IMX7ULP_CLK_SPLL_SEL 14 +#define IMX7ULP_CLK_APLL_PRE_SEL 15 +#define IMX7ULP_CLK_APLL_PRE_DIV 16 +#define IMX7ULP_CLK_APLL 17 +#define IMX7ULP_CLK_APLL_POST_DIV1 18 +#define IMX7ULP_CLK_APLL_POST_DIV2 19 +#define IMX7ULP_CLK_APLL_PFD0 20 +#define IMX7ULP_CLK_APLL_PFD1 21 +#define IMX7ULP_CLK_APLL_PFD2 22 +#define IMX7ULP_CLK_APLL_PFD3 23 +#define IMX7ULP_CLK_APLL_PFD_SEL 24 +#define IMX7ULP_CLK_APLL_SEL 25 +#define IMX7ULP_CLK_UPLL 26 +#define IMX7ULP_CLK_SYS_SEL 27 +#define IMX7ULP_CLK_CORE_DIV 28 +#define IMX7ULP_CLK_BUS_DIV 29 +#define IMX7ULP_CLK_PLAT_DIV 30 +#define IMX7ULP_CLK_DDR_SEL 31 +#define IMX7ULP_CLK_DDR_DIV 32 +#define IMX7ULP_CLK_NIC_SEL 33 +#define IMX7ULP_CLK_NIC0_DIV 34 +#define IMX7ULP_CLK_GPU_DIV 35 +#define IMX7ULP_CLK_NIC1_DIV 36 +#define IMX7ULP_CLK_NIC1_BUS_DIV 37 +#define IMX7ULP_CLK_NIC1_EXT_DIV 38 + +/* PCG2 */ +#define IMX7ULP_CLK_DMA1 39 +#define IMX7ULP_CLK_RGPIO2P1 40 +#define IMX7ULP_CLK_FLEXBUS 41 +#define IMX7ULP_CLK_SEMA42_1 42 +#define IMX7ULP_CLK_DMA_MUX1 43 +#define IMX7ULP_CLK_SNVS 44 +#define IMX7ULP_CLK_CAAM 45 +#define IMX7ULP_CLK_LPTPM4 46 +#define IMX7ULP_CLK_LPTPM5 47 +#define IMX7ULP_CLK_LPIT1 48 +#define IMX7ULP_CLK_LPSPI2 49 +#define IMX7ULP_CLK_LPSPI3 50 +#define IMX7ULP_CLK_LPI2C4 51 +#define IMX7ULP_CLK_LPI2C5 52 +#define IMX7ULP_CLK_LPUART4 53 +#define IMX7ULP_CLK_LPUART5 54 +#define IMX7ULP_CLK_FLEXIO1 55 +#define IMX7ULP_CLK_USB0 56 +#define IMX7ULP_CLK_USB1 57 +#define IMX7ULP_CLK_USB_PHY 58 +#define IMX7ULP_CLK_USB_PL301 59 +#define IMX7ULP_CLK_USDHC0 60 +#define IMX7ULP_CLK_USDHC1 61 +#define IMX7ULP_CLK_WDG1 62 +#define IMX7ULP_CLK_WDG2 63 + +/* PCG3 */ +#define IMX7ULP_CLK_LPTPM6 64 +#define IMX7ULP_CLK_LPTPM7 65 +#define IMX7ULP_CLK_LPI2C6 66 +#define IMX7ULP_CLK_LPI2C7 67 +#define IMX7ULP_CLK_LPUART6 68 +#define IMX7ULP_CLK_LPUART7 69 +#define IMX7ULP_CLK_VIU 70 +#define IMX7ULP_CLK_DSI 71 +#define IMX7ULP_CLK_LCDIF 72 +#define IMX7ULP_CLK_MMDC 73 +#define IMX7ULP_CLK_PCTLC 74 +#define IMX7ULP_CLK_PCTLD 75 +#define IMX7ULP_CLK_PCTLE 76 +#define IMX7ULP_CLK_PCTLF 77 +#define IMX7ULP_CLK_GPU3D 78 +#define IMX7ULP_CLK_GPU2D 79 +#define IMX7ULP_CLK_MIPI_PLL 80 +#define IMX7ULP_CLK_SIRC 81 +#define IMX7ULP_CLK_SOSC_BUS_CLK 82 +#define IMX7ULP_CLK_FIRC_BUS_CLK 83 +#define IMX7ULP_CLK_SPLL_BUS_CLK 84 + +#define IMX7ULP_CLK_END 85 + +#endif /* __DT_BINDINGS_CLOCK_IMX7ULP_H */ -- 2.7.4