Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3076080pxb; Mon, 18 Apr 2022 15:14:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7+wV2Ntk58NW6NgPkBtIo9sTgHHM6Uzdrp4jKUwNIrW+JuhwiyxbeY3gKNgJchN8xzHqJ X-Received: by 2002:a05:6402:2753:b0:423:3895:7031 with SMTP id z19-20020a056402275300b0042338957031mr14198764edd.170.1650320097059; Mon, 18 Apr 2022 15:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650320097; cv=none; d=google.com; s=arc-20160816; b=l7Qvi5eUEM4LlMgtjLpr52uhTDAGvK9pW3qz7q41hNYwaoy8FnpsvHHybV5kp4tu3J +DiRSAtJex1jCLXQ3EVC+8/kSLAzX8tQSbUOG+9Ej1AzY5T3bMShr0CaXkYTC4Y4r/34 8TcSm8gO1FsIwYTigK3+eIKEYmLhWzqaDky0J4Ry4dM+d+UYZB2X1A/pNeOMQCktMXuw 0JpremgPVhVnjexKmYbW/T0FqgGX2hJR5hecRG0IpOtDtYEcQfCe34SPj+E2zLxf3kAC uOukj3SoYjwWlk34cOmRAo6hwQoGJSAqgiybhU0wv4KehCZyr2GhIcfByWGuKSBt3N0V zqiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/G5XxPB1lBbsF6zTqGc48ADXYyFTpP4yP9/CAWXhwHM=; b=BlXCeppfbBThAY5ZAObufoiTdW8QkdFcenxE3boKkvulpX+Ug0VDa/wejmOO/yfR8N I3uz3qVfXBAr4WPkfIWg8p4E98jvzohbphWkm6xSezS3MfFT2/9Iroad2bymhVIRRY7I wLGS+eeJj5fPPK2m/h+S0B+jvIgroyhEaptNRcfIqQdBUMtO0R2NN0FOklzoCZuCEhhg 349Yh6dU9bNr/v4HLUUAAH8ci7MN+1+Pt8LiGww6df76VYQO5JDkiwSuR51Z8cWOq1Kx h7JpOLv/0wAyChQKV3bYtdM+3gPzT7amB/0EaeVd3W0syy73CakbC5Z3rgCYMdsQS7gf NyUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h9oegXdi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020a170906434e00b006e879b13f78si7338979ejm.488.2022.04.18.15.14.33; Mon, 18 Apr 2022 15:14:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h9oegXdi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343991AbiDROaD (ORCPT + 99 others); Mon, 18 Apr 2022 10:30:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345198AbiDROSy (ORCPT ); Mon, 18 Apr 2022 10:18:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31A204C42D; Mon, 18 Apr 2022 06:14:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 23D0760F5E; Mon, 18 Apr 2022 13:14:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE4ABC385A1; Mon, 18 Apr 2022 13:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650287649; bh=OWZ971jw8CZNKUwPBGYVYpdeU3kKngi7ozqIslI6Rfs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h9oegXdiYR48VEerZeEyCqMhFnXVHu04eV4QvHBGw7p/UfDUT/RUdbUWDKHlx+sXW 9ZIqRFGNYXmVsGDKl6nOgdLzNfsa0DCAO9Z9C59LQYeiLPOtmMNHeh6k9VvDvRKcqG L4ldbVjs6VlIJYuy4Z0KUTobXUB9ZQJe93DVnOhlQ9+8YberOQFw0ZiFo1epSjCLip AHNFpcLXjdWrP3z1rDpPsp/GGmMi8welusHv8+9tiSpeXJ0l7Bn15TxnU/1OVd+qeR P1BAblfqfrr4/VLcigsguEkKPNqHSoeIx61fWgpOY9ri1CiaSgmPKK1XKCR3T8+vK7 ZsqaBFD/dIhOA== Date: Mon, 18 Apr 2022 21:14:02 +0800 From: Shawn Guo To: Abel Vesa Cc: Rob Herring , Krzysztof Kozlowski , Ulf Hansson , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, Linux Kernel Mailing List , linux-mmc@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jacky Bai Subject: Re: [PATCH v6 03/13] arm64: dts: freescale: Add the imx8dxl connectivity subsys dtsi Message-ID: <20220418131402.GQ391514@dragon> References: <20220413103356.3433637-1-abel.vesa@nxp.com> <20220413103356.3433637-4-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220413103356.3433637-4-abel.vesa@nxp.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 13, 2022 at 01:33:46PM +0300, Abel Vesa 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 I got following warning with 'W=1' build flag. ../arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi:10.45-15.4: Warning (simple_bus_reg): /bus@5b000000/clock-conn-enet0-root: missing or empty reg/ranges property ../arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi:63.29-68.4: Warning (simple_bus_reg): /bus@5b000000/usbphy@0x5b110000: simple-bus unit address format error, expected "5b110000" ../arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi:7.27-12.4: Warning (simple_bus_reg): /bus@5c000000/clock-db-ipg: missing or empty reg/ranges property Shawn > --- > .../boot/dts/freescale/imx8dxl-ss-conn.dtsi | 134 ++++++++++++++++++ > 1 file changed, 134 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..b776d0ed42b4 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi > @@ -0,0 +1,134 @@ > +// 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 IMX_LPCG_CLK_2>, > + <&eqos_lpcg IMX_LPCG_CLK_4>, > + <&eqos_lpcg IMX_LPCG_CLK_0>, > + <&eqos_lpcg IMX_LPCG_CLK_3>, > + <&eqos_lpcg IMX_LPCG_CLK_1>; > + 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>; > + 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 clock > + * 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>; Where do I find bindings for this property? Shawn > + 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 IMX_LPCG_CLK_7>; > + 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>; > + clock-indices = , > + , > + , > + , > + ; > + 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>; > + clock-indices = ; > + 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.34.1 >