From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54097C433ED for ; Tue, 18 May 2021 07:56:18 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CF2C46124C for ; Tue, 18 May 2021 07:56:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CF2C46124C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nedOskj2aPh+qGcrKIAtmzaGJmt6YJCWWQpPIyRhnWA=; b=OPTvr9OTpnteAXGuJoFYHE1l3 YcHuwU62xQcTvIIkggucWZTqvbxbM96HiLLxrcvnERcWuPqpOv2GJCmb4PYLl3hs6L+vfag7CNj0M /CVYMbskdYjq1kwPOTn3+pGuyGPnrR9y8Y6nvFoFBwkDuXsZ9/2dZVIBTG+/t6cvXXwZUPGdlr2cO KpQPcP71p2kV9vHr+A76agGeeIGgZuiwyiaS6LuuDpyziaxxVTyh1N/gq67zkdNqYnGhPbWypEfSn vSbobilU/1isjDqHMmbob4preabqW9Tei2bASGmuZVTN3u1PYa9iULdTRLWOMRQUSL6j/mtK2fPfb /zFYaE0kw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liuYd-00HSva-NB; Tue, 18 May 2021 07:54:28 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liuYZ-00HSuX-42 for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 07:54:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=wgWT8glNh9NlJS5p0NFisrV3DtTQRZ5P1kbkf3d41QA=; b=zepXilvyl+Dg6bMqRE0KW6uKgb NCJFox7dr5ipBKQfCLqAWEosPAbgsKsTnX2J0hj3OX3+NkPB7rRVF5CXY+soiMbFrs3o9MDPqb7TV s11hIJ5gp1fzLWQlZhpCxExThfLvRvxuiAJJNZfHKHp/rIqKcbyMC8r4LvwKVMpZb5bzzRPMApEnY NVovmb/dtU71gPMYwWC8KCmVbk/mSGtyXpGbxG1mpsmTHxDknvpYQ1uDMFosgg3bhB/sCKvlcfDZR zR+ibIeaLVxetNP3MbmfpL1SpdgUq6qpSkwvZi31CV8QEfj0quW1A0tMFoYfN8WpC8bFmcpJu7QVE Y4a6g3Tw==; Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liuYV-00EQzr-PO for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 07:54:21 +0000 Received: by mail-ot1-x32b.google.com with SMTP id d25-20020a0568300459b02902f886f7dd43so7893712otc.6 for ; Tue, 18 May 2021 00:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wgWT8glNh9NlJS5p0NFisrV3DtTQRZ5P1kbkf3d41QA=; b=MdYWBIN7cbTWoEBFbZ7ETFLm228xKDEN/+CLdNnF7CpKpKpjc/xc0sU9CosMA+hsdK hh45r0O+HS7y7ii2MQy7MIg3VK8dPZMY+yDyhDZkSZZchXi7uh5vld2kVoax2oZp70Qh AY793J7ddr7VoL1XjSBL0GCS0BGmMZws+/WdbjP3gkPua/4eCkdZRazYNZF3rr3u17Xr 2bQA0swuD4r4A4Y3zQ3xCJJsV5Y/GK+iVpLVmCm/q8Xsw6RePq/Z5qpOzYnfwrbeiaxh mCuSOQOZsn7g07giOJf+jmT/uhTNJ/XrBRDXLVWVW0MzPtK8yism81RjMp7pxwRsWVt/ e+uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wgWT8glNh9NlJS5p0NFisrV3DtTQRZ5P1kbkf3d41QA=; b=DrO3PlIuQ+w3gx0OB7uq0ksDDVGJDXXY7wGCn5+3V4oNNNo2Je51oTRL5Zv0ZXFgeD v0+Jnq2kaU3rmUpVdSP4PTXj0kop8lvXyQeik5z9QV7OXrLjYNVCrmOe0/oJ2bd28D2N SbSpv086+BD23UU8ynHeaYryqqNdGr0cBDnOclV4Pgz0kYdsh1xXK5K+5qfiU2GH3gou VVYCllN6QMqF6IncZcL4MyR6pvs+KD61re8z7pVdLz5vr5jJ6PDPaqollBTiRF7oKoiC 3sb6pcKnnekfgrJyZdNgvjPbjhXWW4um1jFeOR0WzrWEgqvU+apQPkvQW43owmeTXLQv AujQ== X-Gm-Message-State: AOAM530zABfP5ij0RiL5KDdjvBv1QPNoyrLlYUmyE102A5+JU3DbEMZZ GK0I7aBNNvAT/yuddSI9TPzYdJm7TYeyX0HIvLY= X-Google-Smtp-Source: ABdhPJz1gwU0uszCDNnZoynqlsVmncT7Aet0+fx1EcUJy1lbg2YOnBzrGLogRpw+jzBDLcDw+VlHcu/IAG72u0Omq+w= X-Received: by 2002:a9d:4115:: with SMTP id o21mr3237071ote.52.1621324458608; Tue, 18 May 2021 00:54:18 -0700 (PDT) MIME-Version: 1.0 References: <20210517171205.1581938-1-abelvesa@kernel.org> <20210517171205.1581938-5-abelvesa@kernel.org> In-Reply-To: <20210517171205.1581938-5-abelvesa@kernel.org> From: Dong Aisheng Date: Tue, 18 May 2021 15:53:16 +0800 Message-ID: Subject: Re: [PATCH 4/7] arm64: dts: freescale: Add the imx8dxl connectivity subsys dtsi To: Abel Vesa Cc: Rob Herring , Shawn Guo , Sascha Hauer , Fabio Estevam , Jacky Bai , Dong Aisheng , NXP Linux Team , devicetree , Linux Kernel Mailing List , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Abel Vesa X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_005420_104254_724DC391 X-CRM114-Status: GOOD ( 20.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 18, 2021 at 1:15 AM wrote: > > From: Jacky Bai > > On i.MX8DXL, the Connectivity subsystem includes below peripherals: > 1x ENET with AVB support, 1x ENET with TSN support, 2x USB OTG, > 1x eMMC, 2x SD, 1x NAND. > > Signed-off-by: Jacky Bai > Signed-off-by: Abel Vesa > --- > .../boot/dts/freescale/imx8dxl-ss-conn.dtsi | 133 ++++++++++++++++++ > 1 file changed, 133 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi > > diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi > new file mode 100644 > index 000000000000..c10801926de3 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi > @@ -0,0 +1,133 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright 2019-2021 NXP > + */ > + > +/delete-node/ &enet1_lpcg; > +/delete-node/ &fec2; > + > +&conn_subsys { > + conn_enet0_root_clk: clock-conn-enet0-root { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <250000000>; > + clock-output-names = "conn_enet0_root_clk"; > + }; > + > + eqos: ethernet@5b050000 { > + compatible = "nxp,imx8dxl-dwmac-eqos", "snps,dwmac-5.10a"; > + reg = <0x5b050000 0x10000>; > + interrupt-parent = <&gic>; > + interrupts = , > + ; > + interrupt-names = "eth_wake_irq", "macirq"; > + clocks = <&eqos_lpcg 2>, > + <&eqos_lpcg 4>, > + <&eqos_lpcg 0>, > + <&eqos_lpcg 3>, > + <&eqos_lpcg 1>; need fix LPCG index pls refer to binding doc > + clock-names = "stmmaceth", "pclk", "ptp_ref", "tx", "mem"; > + assigned-clocks = <&clk IMX_SC_R_ENET_1 IMX_SC_PM_CLK_PER>; > + assigned-clock-rates = <125000000>; > + power-domains = <&pd IMX_SC_R_ENET_1>; > + clk_csr = <0>; > + status = "disabled"; > + }; > + > + usbotg2: usb@5b0e0000 { > + compatible = "fsl,imx8dxl-usb", "fsl,imx7ulp-usb"; > + reg = <0x5b0e0000 0x200>; > + interrupt-parent = <&gic>; > + interrupts = ; > + fsl,usbphy = <&usbphy2>; > + fsl,usbmisc = <&usbmisc2 0>; > + /* > + * usbotg1 and usbotg2 share one clcok > + * scfw disable clock access and keep it always on > + * in case other core (M4) use one of these. > + */ > + clocks = <&clk_dummy>; > + ahb-burst-config = <0x0>; > + tx-burst-size-dword = <0x10>; > + rx-burst-size-dword = <0x10>; > + #stream-id-cells = <1>; > + power-domains = <&pd IMX_SC_R_USB_1>; > + status = "disabled"; > + }; > + > + usbmisc2: usbmisc@5b0e0200 { > + #index-cells = <1>; > + compatible = "fsl,imx8dxl-usbmisc", "fsl,imx7ulp-usbmisc"; > + reg = <0x5b0e0200 0x200>; > + }; > + > + usbphy2: usbphy@0x5b110000 { > + compatible = "fsl,imx8dxl-usbphy", "fsl,imx7ulp-usbphy"; > + reg = <0x5b110000 0x1000>; > + clocks = <&usb2_2_lpcg 0>; > + status = "disabled"; > + }; > + > + eqos_lpcg: clock-controller@5b240000 { > + compatible = "fsl,imx8qxp-lpcg"; > + reg = <0x5b240000 0x10000>; > + #clock-cells = <1>; > + clocks = <&conn_enet0_root_clk>, > + <&conn_axi_clk>, > + <&conn_axi_clk>, > + <&clk IMX_SC_R_ENET_1 IMX_SC_PM_CLK_PER>, > + <&conn_ipg_clk>; > + bit-offset = <0 8 16 20 24>; > + clock-output-names = "eqos_ptp", > + "eqos_mem_clk", > + "eqos_aclk", > + "eqos_clk", > + "eqos_csr_clk"; > + power-domains = <&pd IMX_SC_R_ENET_1>; > + }; > + > + usb2_2_lpcg: clock-controller@5b280000 { > + compatible = "fsl,imx8qxp-lpcg"; > + reg = <0x5b280000 0x10000>; > + #clock-cells = <1>; > + > + bit-offset = <28>; > + clocks = <&conn_ipg_clk>; > + clock-output-names = "usboh3_2_phy_ipg_clk"; > + }; > + > +}; > + > +&enet0_lpcg { > + clocks = <&conn_enet0_root_clk>, > + <&conn_enet0_root_clk>, > + <&conn_axi_clk>, > + <&clk IMX_SC_R_ENET_0 IMX_SC_C_TXCLK>, > + <&conn_ipg_clk>, > + <&conn_ipg_clk>; > +}; > + > +&fec1 { > + compatible = "fsl,imx8dxl-fec", "fsl,imx8qm-fec"; > + interrupts = , > + , > + , > + ; > + assigned-clocks = <&clk IMX_SC_R_ENET_0 IMX_SC_C_CLKDIV>; > + assigned-clock-rates = <125000000>; > +}; > + > +&usdhc1 { > + compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; > + interrupts = ; > +}; > + > +&usdhc2 { > + compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; > + interrupts = ; > +}; > + > +&usdhc3 { > + compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; > + interrupts = ; > +}; > -- > 2.31.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel