From patchwork Thu Feb 21 18:25:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10824561 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 493021390 for ; Thu, 21 Feb 2019 18:26:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37B0F32053 for ; Thu, 21 Feb 2019 18:26:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BFB432056; Thu, 21 Feb 2019 18:26:38 +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=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 B263D32053 for ; Thu, 21 Feb 2019 18:26:37 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: 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=Clspg5S1BwCNTB5vsV9qvuFJ5ZHq7DeutOt9Dbp9n/M=; b=kP3ZxvRMxBGhbd QpCqR9tO5RZMO3MNb0yHxqOClVNwi4/Torivp8bUmD87J+MjviOYFLMv+khYJoG636itymkeVFsmH bg+sBT8mxnKR80EV7bXd0ErIpqZvnHrrRRFO/grn50ufmGzNAqN15macO9tMQv8UhIZwZ9O5ezw+o rUrO+umXOONKSMmHKZMn8x9GK0yvWF2Yek6zwqFWhGFY9OOl1ckKXUx0JeQIFi1JO754lSgq+8nBG WFbLs6/kE2WMGB4vtGLGqDka8s1Zc3H0AyiLSyYXTgicstC2p6pV4TmutyyOF47OWOLj3Pq8LGjOg wQCoQxSgARlFCm9aQwEg==; 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 1gwt3M-0001kP-8W; Thu, 21 Feb 2019 18:26:36 +0000 Received: from mail-eopbgr10066.outbound.protection.outlook.com ([40.107.1.66] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwt2H-0007AG-Tc for linux-arm-kernel@lists.infradead.org; Thu, 21 Feb 2019 18:25:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zZZGrKu5025olm4u3V6e7w6gCpQcTSk0BLbSRooVh7Q=; b=Iw17uOPT5Un9FC0dR8wc37XbwC0r1SNzw4xb32LeapsFNkcIIbk8PvPMZ3EFWqbpaK6yORY3G4umUO1JwgyfyVF1yfH89mVOWOj60U8a2mfPs2h7xnCR5dqddDPPp3+eOBOpj7a4qFl9elU7HvAfQrQokyAd74HqW/jtMVEdRSo= Received: from VI1PR04MB4222.eurprd04.prod.outlook.com (52.134.31.21) by VI1PR04MB4846.eurprd04.prod.outlook.com (20.177.49.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.15; Thu, 21 Feb 2019 18:25:13 +0000 Received: from VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::b1cb:82a5:aacb:238d]) by VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::b1cb:82a5:aacb:238d%6]) with mapi id 15.20.1643.014; Thu, 21 Feb 2019 18:25:13 +0000 From: Aisheng Dong To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH 06/14] arm64: dts: imx8: add conn lpcg clocks Thread-Topic: [PATCH 06/14] arm64: dts: imx8: add conn lpcg clocks Thread-Index: AQHUyhLJfhYJrFh22EaWIZwHCl+AYA== Date: Thu, 21 Feb 2019 18:25:13 +0000 Message-ID: <1550773093-13349-7-git-send-email-aisheng.dong@nxp.com> References: <1550773093-13349-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1550773093-13349-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR03CA0051.apcprd03.prod.outlook.com (2603:1096:202:17::21) To VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:3e::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a34b0e95-ee1f-40a4-04ac-08d69829eb81 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4846; x-ms-traffictypediagnostic: VI1PR04MB4846: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR04MB4846; 23:0v94JPved6adfD+aQA8H5YRnPvRQR9QA/Lx+aWt?= =?iso-8859-1?q?QoHEjf5NQUgRMBM?= =?iso-8859-1?q?QoRGIxm+C3L/247rvrLl25i089VLWe4dfRo07YZXVX2Xupu6veKVhdGGuaQB?= =?iso-8859-1?q?6haBB5v6ptMOa41CLFj1gCMGgj20hkuUGHfi47n9fpAd1J3biLqk2Ud4DBpO?= =?iso-8859-1?q?W5ruuZ8yWnxr9m2iw0kja3TTEdOg8yS24qS32+TpSzTqK2qmz+nMAk5HeuEa?= =?iso-8859-1?q?SYn9aJaFo8Kcyfk9Pl/uIOLhUv2W/WUFWM/z6lun+AKw+/sD3a85ner9Bsxy?= =?iso-8859-1?q?IUfgyU9DzYYTHEE/4pwqgV/afZ9c5Clm5nwv8djr9UbrK5jv+ZMCSUeIp0d/?= =?iso-8859-1?q?ypqJvlhgJEhbAjFYIORwb7NJ2vH/TEeKk3xwPDfys5G9wWIayOppw2qMvsIl?= =?iso-8859-1?q?TYInRpckvUu2ogxMnh3LQf4T1tSTfKLWIVAcSGdPY3VH2IT6G0ON12JqLZqG?= =?iso-8859-1?q?vClWft84r+taRgj5B/RSsbqh96NCUd4MDfmwCR72MzHhINdgEnBQouO3g+2w?= =?iso-8859-1?q?SBu5xba96e527OcqG8iarfaP5MG9m3y0nv7EhKaAylnnuFkV7fUabVPR/gks?= =?iso-8859-1?q?1tbdvjfW+w399/K2LIZMe47yxGISFpmoDtkez5Udq0hLMtTdSEi048PZkP8d?= =?iso-8859-1?q?LvqMS8AYaKkDiU2FcyHKwQhrRfnQoBKQ2ARSvYQqC25xTYZ++y5ngNMv4a2I?= =?iso-8859-1?q?DPentfMsnpzpjcaV4/fhbmMSh5O9Fl/XArtj57qf/2h5zgnfQ/Im9Uuov8Yc?= =?iso-8859-1?q?D3FxKgCSbXXCLv+Okm32LsPNXCMhFAHGx5v7GtAhXG1T2trzPmuueUDltQcx?= =?iso-8859-1?q?MdVRGB+nwpbacnZVfnkayajdoyA8esMp++PHb3VMhzhoh9ED/I686VWA/Q/V?= =?iso-8859-1?q?cIeQmxa7qoq5q01BqKfn/gNn9Z4/PzxI8c172FwQIqSV8IgqxxSCZjfZKWW8?= =?iso-8859-1?q?F1gzCLQvU8M3Gch+Qw5bO03JrBH93C5809H4Bjl8P6qpfRzHXNLlNZoOUh8y?= =?iso-8859-1?q?CtgNJToxKhYGb8TJ8YQb6kRFWDasCr3nCTqRGf2eLlRA3Q5KMVFIWe/D6mhE?= =?iso-8859-1?q?j6ikdswgSF00bTb9OkE/8F2MFpep8ryGsXlcbE00YtFFZjCSH3vwzP9ttM2H?= =?iso-8859-1?q?TmDEB9bpS7XqPRR4rP/MVG/LHAI9rNhihIPDDQsqEFY/P8ghzApimaXQWYSf?= =?iso-8859-1?q?u26c6w1I+tPlRBchOZqV8QHymyt1QHeaEhxzPJMo6AJwXhkww0S+D6hSlnSA?= =?iso-8859-1?q?m3eU+WRDhywwR6r2rtA2gOJoxNFnBSgQdBbue8a2l+xWayHg=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09555FB1AD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(136003)(346002)(39860400002)(366004)(199004)(189003)(7736002)(2351001)(66066001)(5640700003)(6436002)(25786009)(44832011)(2906002)(486006)(6486002)(53936002)(99286004)(11346002)(52116002)(76176011)(6506007)(97736004)(6512007)(2616005)(476003)(106356001)(446003)(305945005)(4326008)(14444005)(386003)(105586002)(186003)(26005)(478600001)(256004)(86362001)(316002)(102836004)(2501003)(68736007)(6916009)(81166006)(71200400001)(36756003)(8676002)(3846002)(6116002)(50226002)(81156014)(71190400001)(5660300002)(8936002)(54906003)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4846; H:VI1PR04MB4222.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: U2cjuH8Xumj4su0x0CLLa0VvQ8VwJSnp+C8ree+Af1g0Pn6MCaqknWFe+B/jXQj8QXbTUeFjLVNnJRBVcnqrGtp/M41jqat2y2Z/bnipmEZlFyYoyo60mmKYvrZNlY+dkrrXp9LHzquMwtLE7f7cRyVxcMH+/MVgjeTMzyWzLrTOemRn8opn5k6G8Nr237byHcTelpR1qdPQYhC/Th7BMSD10xifxvd1uaHOfc7uDHYS0vxUJPR1wnUTHpJEtwMePkKFLcwE+w4t77kjBq4KHYacl6mVf5nWFBb87bq/SLuL08gMlFKd3UnP27JoT49IvtVa0TFTCeQtzJpQHCfGyXzEae5WbujaK1MTAQs5vzrAGF/0w0hdrO9RKYV3+YoML+8ctHWkzy64290EsKkKU5dqyOKOrqOn4t/vVWGKpjk= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a34b0e95-ee1f-40a4-04ac-08d69829eb81 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2019 18:25:09.4209 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4846 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190221_102530_714838_DB0B875F X-CRM114-Status: GOOD ( 12.59 ) 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: Aisheng Dong , Mark Rutland , "dongas86@gmail.com" , "devicetree@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" 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 Add conn lpcg clocks Cc: Rob Herring Cc: Mark Rutland Cc: devicetree@vger.kernel.org Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Signed-off-by: Dong Aisheng --- arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 59 ++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi index 0765cb2..33a3584 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi @@ -132,7 +132,64 @@ conn_subsys: bus@5b000000 { clock-output-names = "usb3_lpm_aclk"; }; - conn_lpcg: clock-controller@5b200000 { + /* LPCG clocks */ + sdhc0_lpcg: clock-controller@5b200000 { + reg = <0x5b200000 0x10000>; + #clock-cells = <1>; + clocks = <&sdhc0_clk>, <&conn_ipg_clk>, <&conn_axi_clk>; + bit-offset = <0 16 20>; + clock-output-names = "sdhc0_lpcg_per_clk", + "sdhc0_lpcg_ipg_clk", + "sdhc0_lpcg_ahb_clk"; + }; + + sdhc1_lpcg: clock-controller@5b210000 { + reg = <0x5b210000 0x10000>; + #clock-cells = <1>; + clocks = <&sdhc1_clk>, <&conn_ipg_clk>, <&conn_axi_clk>; + bit-offset = <0 16 20>; + clock-output-names = "sdhc1_lpcg_per_clk", + "sdhc1_lpcg_ipg_clk", + "sdhc1_lpcg_ahb_clk"; + }; + + sdhc2_lpcg: clock-controller@5b220000 { + reg = <0x5b220000 0x10000>; + #clock-cells = <1>; + clocks = <&sdhc2_clk>, <&conn_ipg_clk>, <&conn_axi_clk>; + bit-offset = <0 16 20>; + clock-output-names = "sdhc2_lpcg_per_clk", + "sdhc2_lpcg_ipg_clk", + "sdhc2_lpcg_ahb_clk"; + }; + + enet0_lpcg: clock-controller@5b230000 { + reg = <0x5b230000 0x10000>; + #clock-cells = <1>; + clocks = <&enet0_clk>, <&enet0_clk>, <&conn_axi_clk>, + <&conn_ipg_clk>, <&conn_ipg_clk>; + bit-offset = <0 4 8 16 20>; + clock-output-names = "enet0_ipg_root_clk", + "enet0_tx_clk", + "enet0_ahb_clk", + "enet0_ipg_clk", + "enet0_ipg_s_clk"; + }; + + enet1_lpcg: clock-controller@5b240000 { + reg = <0x5b240000 0x10000>; + #clock-cells = <1>; + clocks = <&enet1_clk>, <&enet1_clk>, <&conn_axi_clk>, + <&conn_ipg_clk>, <&conn_ipg_clk>; + bit-offset = <0 4 8 16 20>; + clock-output-names = "enet1_ipg_root_clk", + "enet1_tx_clk", + "enet1_ahb_clk", + "enet1_ipg_clk", + "enet1_ipg_s_clk"; + }; + + conn_lpcg: clock-controller-legacy@5b200000 { reg = <0x5b200000 0xb0000>; #clock-cells = <1>; };