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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EED47C77B78 for ; Wed, 3 May 2023 16:12:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 40E058478E; Wed, 3 May 2023 18:12:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gateworks-com.20221208.gappssmtp.com header.i=@gateworks-com.20221208.gappssmtp.com header.b="27UngsNr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 150F88478E; Wed, 3 May 2023 18:12:47 +0200 (CEST) Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6188984770 for ; Wed, 3 May 2023 18:12:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tharvey@gateworks.com Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-559e2051d05so68325657b3.3 for ; Wed, 03 May 2023 09:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20221208.gappssmtp.com; s=20221208; t=1683130363; x=1685722363; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OZyKT1BE1HaDg1b39knPuWrbXVY06jZEHbaL0h1Jt9w=; b=27UngsNrKn1ByVxIcNoPnw3pEH5y2z9zTklxv7vmSa4adpd+mjiHrze1Rr0+ubIgBX tJRT7y5prBoNbRYlOs+euz/b2fkPBXQRPgwQsk9i8rF6aDMjVfQ2kuUl/0F5aaYlRHrq Un3EVcN8Z4UyGzh6Ek0AmkIuV+dneF2O03/g5IlnLeLJOfB80BDCsd1/1FL25Jq2lcgZ HCqM/7Kk83WREIzoCRsquzGC1ItSbvVt5Ofh0pZnvAt2kMipXG7bv9zErYIODu4S7Tmz 0vNFUSUZGyTm5CeZ4LbfR5y1H5BoIFMs5Bdfymy0f6q+TIa6XT+Yvceaks/p3mns2P9+ 3p2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683130363; x=1685722363; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OZyKT1BE1HaDg1b39knPuWrbXVY06jZEHbaL0h1Jt9w=; b=NwhlAHHFoV+aT6bXlibEYMwG+BgvmJ5SDns+PQIeJgKN7xgXS860sreZzbnwgaPTyy m6WUFbVgQQSUMGILb7K6chQSj6MNU7VWUKIw8A6CtwIVnm+JNUcWTN1iqAiK/KvZHUNK rxd+rTCLRCAIkMzfM8YjlJZ0AUoAczD9/ftYjFTzXD6Ua4YsnAvmC5F+yOcQZ/KKx9Av uPzHV56+fJSflF32ZxTn7XX1EKWUI3DNn/PD1mmOr7sYxhEpwDSQFDJLRyt+MrW8WBou 0VQVMPiJHes6Fe51Go51ovg9LsI6KbWVGHPsodCb5lwubUeyRKJNrNxe6s/d+NzDybVx C/+Q== X-Gm-Message-State: AC+VfDx0X7Fl/hU87Nc4BUL6vEiiR5Nfup7xa8mUdriLJuXvPqw2tfK0 8WhuMcaxXBiqGjE6rQVyc44QMkDzZ6azcSy0tGJeCvz5gu1d7cRRtKo= X-Google-Smtp-Source: ACHHUZ5ju+PZHkTTMxaDlGAz9xfYcyfmuNy9yrmrTIzbMG0vRrALsJrGa6RBcPPlUu5nJJ08cXtlB0Ttk5Uz4qWQ42o= X-Received: by 2002:a81:8842:0:b0:54f:adeb:9898 with SMTP id y63-20020a818842000000b0054fadeb9898mr24483885ywf.10.1683130363114; Wed, 03 May 2023 09:12:43 -0700 (PDT) MIME-Version: 1.0 References: <20230427180845.127439-1-festevam@gmail.com> <20230427180845.127439-2-festevam@gmail.com> In-Reply-To: <20230427180845.127439-2-festevam@gmail.com> From: Tim Harvey Date: Wed, 3 May 2023 09:12:32 -0700 Message-ID: Subject: Re: [PATCH 2/3] arm: dts: imx8mn: Sync with Linux 6.3 To: Fabio Estevam Cc: sbabic@denx.de, aford173@gmail.com, u-boot@lists.denx.de, Fabio Estevam Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Thu, Apr 27, 2023 at 11:08=E2=80=AFAM Fabio Estevam = wrote: > > From: Fabio Estevam > > Sync imx8mn.dtsi with Linux 6.3. > > Signed-off-by: Fabio Estevam > --- > arch/arm/dts/imx8mn.dtsi | 46 ++++++++++++++++++++++++++++++---------- > 1 file changed, 35 insertions(+), 11 deletions(-) > > diff --git a/arch/arm/dts/imx8mn.dtsi b/arch/arm/dts/imx8mn.dtsi > index cb2836bfbd95..9e0ddd6b7a32 100644 > --- a/arch/arm/dts/imx8mn.dtsi > +++ b/arch/arm/dts/imx8mn.dtsi > @@ -139,6 +139,7 @@ > A53_L2: l2-cache0 { > compatible =3D "cache"; > cache-level =3D <2>; > + cache-unified; > cache-size =3D <0x80000>; > cache-line-size =3D <64>; > cache-sets =3D <512>; > @@ -295,6 +296,7 @@ > sai2: sai@30020000 { > compatible =3D "fsl,imx8mn-sai", = "fsl,imx8mq-sai"; > reg =3D <0x30020000 0x10000>; > + #sound-dai-cells =3D <0>; > interrupts =3D ; > clocks =3D <&clk IMX8MN_CLK_SAI2_= IPG>, > <&clk IMX8MN_CLK_DUMMY>, > @@ -309,6 +311,7 @@ > sai3: sai@30030000 { > compatible =3D "fsl,imx8mn-sai", = "fsl,imx8mq-sai"; > reg =3D <0x30030000 0x10000>; > + #sound-dai-cells =3D <0>; > interrupts =3D ; > clocks =3D <&clk IMX8MN_CLK_SAI3_= IPG>, > <&clk IMX8MN_CLK_DUMMY>, > @@ -323,6 +326,7 @@ > sai5: sai@30050000 { > compatible =3D "fsl,imx8mn-sai", = "fsl,imx8mq-sai"; > reg =3D <0x30050000 0x10000>; > + #sound-dai-cells =3D <0>; > interrupts =3D ; > clocks =3D <&clk IMX8MN_CLK_SAI5_= IPG>, > <&clk IMX8MN_CLK_DUMMY>, > @@ -339,6 +343,7 @@ > sai6: sai@30060000 { > compatible =3D "fsl,imx8mn-sai", = "fsl,imx8mq-sai"; > reg =3D <0x30060000 0x10000>; > + #sound-dai-cells =3D <0>; > interrupts =3D ; > clocks =3D <&clk IMX8MN_CLK_SAI6_= IPG>, > <&clk IMX8MN_CLK_DUMMY>, > @@ -396,6 +401,7 @@ > sai7: sai@300b0000 { > compatible =3D "fsl,imx8mn-sai", = "fsl,imx8mq-sai"; > reg =3D <0x300b0000 0x10000>; > + #sound-dai-cells =3D <0>; > interrupts =3D ; > clocks =3D <&clk IMX8MN_CLK_SAI7_= IPG>, > <&clk IMX8MN_CLK_DUMMY>, > @@ -497,6 +503,8 @@ > compatible =3D "fsl,imx8mn-tmu", "fsl,imx= 8mm-tmu"; > reg =3D <0x30260000 0x10000>; > clocks =3D <&clk IMX8MN_CLK_TMU_ROOT>; > + nvmem-cells =3D <&tmu_calib>; > + nvmem-cell-names =3D "calib"; > #thermal-sensor-cells =3D <0>; > }; > > @@ -551,7 +559,7 @@ > reg =3D <0x30330000 0x10000>; > }; > > - gpr: iomuxc-gpr@30340000 { > + gpr: syscon@30340000 { > compatible =3D "fsl,imx8mn-iomuxc-gpr", "= syscon"; > reg =3D <0x30340000 0x10000>; > }; > @@ -563,23 +571,40 @@ > #address-cells =3D <1>; > #size-cells =3D <1>; > > - imx8mn_uid: unique-id@410 { > + /* > + * The register address below maps to the= MX8M > + * Fusemap Description Table entries this= way. > + * Assuming > + * reg =3D ; > + * then > + * Fuse Address =3D (ADDR * 4) + 0x400 > + * Note that if SIZE is greater than 4, t= hen > + * each subsequent fuse is located at off= set > + * +0x10 in Fusemap Description Table (e.= g. > + * reg =3D <0x4 0x8> describes fuses 0x41= 0 and > + * 0x420). > + */ > + imx8mn_uid: unique-id@4 { /* 0x410-0x420 = */ > reg =3D <0x4 0x8>; > }; > > - cpu_speed_grade: speed-grade@10 { > + cpu_speed_grade: speed-grade@10 { /* 0x44= 0 */ > reg =3D <0x10 4>; > }; > > - fec_mac_address: mac-address@90 { > + tmu_calib: calib@3c { /* 0x4f0 */ > + reg =3D <0x3c 4>; > + }; > + > + fec_mac_address: mac-address@90 { /* 0x64= 0 */ > reg =3D <0x90 6>; > }; > }; > > - anatop: anatop@30360000 { > - compatible =3D "fsl,imx8mn-anatop", "fsl,= imx8mm-anatop", > - "syscon"; > + anatop: clock-controller@30360000 { > + compatible =3D "fsl,imx8mn-anatop", "fsl,= imx8mm-anatop"; > reg =3D <0x30360000 0x10000>; > + #clock-cells =3D <1>; > }; > > snvs: snvs@30370000 { > @@ -662,7 +687,6 @@ > pgc_otg1: power-domain@1 { > #power-domain-cells =3D <= 0>; > reg =3D ; > - power-domains =3D <&pgc_h= siomix>; > }; > > pgc_gpumix: power-domain@2 { > @@ -1076,7 +1100,7 @@ > assigned-clock-parents =3D <&clk IMX8MN_S= YS_PLL2_500M>; > phys =3D <&usbphynop1>; > fsl,usbmisc =3D <&usbmisc1 0>; > - power-domains =3D <&pgc_otg1>; > + power-domains =3D <&pgc_hsiomix>; > status =3D "disabled"; > }; > > @@ -1094,7 +1118,6 @@ > , > , > ; > - interrupt-names =3D "gpmi0", "gpmi1", "gpmi2", "g= pmi3"; > #dma-cells =3D <1>; > dma-channels =3D <4>; > clocks =3D <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAN= D_CLK>; > @@ -1103,7 +1126,7 @@ > gpmi: nand-controller@33002000 { > compatible =3D "fsl,imx8mn-gpmi-nand", "fsl,imx7d= -gpmi-nand"; > #address-cells =3D <1>; > - #size-cells =3D <1>; > + #size-cells =3D <0>; > reg =3D <0x33002000 0x2000>, <0x33004000 0x4000>; > reg-names =3D "gpmi-nand", "bch"; > interrupts =3D ; > @@ -1175,5 +1198,6 @@ > assigned-clocks =3D <&clk IMX8MN_CLK_USB_PHY_REF>; > assigned-clock-parents =3D <&clk IMX8MN_SYS_PLL1_100M>; > clock-names =3D "main_clk"; > + power-domains =3D <&pgc_otg1>; > }; > }; > -- > 2.34.1 > with commit bb6ea0fe9290 ("usb: ehci-mx6: move phy setup before register access") now in imx/master: Tested-by: Tim Harvey #imx8mn-venice-gw7902 Best Regards, Tim