Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp904276rdh; Sun, 24 Sep 2023 17:59:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcJrQyWTpGnlE9F8EZOkNgO6viWB1ly40oMxArd87hWhi4nt+ofJJAG8cvTfMZ5dDPNZ0a X-Received: by 2002:a05:6a00:194a:b0:68c:b30:8fcc with SMTP id s10-20020a056a00194a00b0068c0b308fccmr4099644pfk.20.1695603567899; Sun, 24 Sep 2023 17:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695603567; cv=none; d=google.com; s=arc-20160816; b=bvCCd/jh69BdgwVwRvxKid7DEckbW6iGJYEL93VWE9axRPKFuDv1co2hnDTlCHfZOK bNi3uvzUAN1uuRAcHbwzrk54b+NL5/38w4EvZ/kHGgurEx3guGJDbO2WN3r1e0d2ypiT T+MUvxXeBH6iXdjyvoG5Ol0QuNSV8LWmhUHxPW2llrw6EcgNXrannX3jjETz+8K1w1Wf G2jG68LymfWIKdO3wfoAExBomqVDm5G38fPUfvn0QtlxPRcSNQiVdwCIofw1Mib3Am+d XcwpmIrPv3jrXRJyTW09djsAUGWwXE1e5bHhyFgAofTvW/4oxv4qXa0RY951jnY18fCS HZ6w== 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=7Sb4vIMQ6KOU7UWGOlZkqe0lqtZrk2D9Ps8HJPRt6/M=; fh=6XfSbJOtNV3C9Qczb6kLB1EtGLu6hQZ3fF60jwulQU0=; b=u2cf28ICe0FdQZRqLrxzaPgQcbaivs6fKOHPkPgX1/OPz3aTJ/IX05muktrUa44Ieg xQD+uGlfrH+vxndeEsvFlUUj4hCUrPkK0cwJ37XxOKNLd2iQInhkrY/LgOaZ89JULycO d1tUaC/2nCujdYsfQEMXEa+SR6Ozzil/edxlWWjDAmAtAvWILwgRntOw1PORnUe/V0tO XPJ6aGE3Tra675NH5kJgyByzZ+Q1EY2zJFyG78a8N+0wR7V+oONBKUtYbbdzImPHX2SU 0JcuopMO1icqqIoo/t2kkCFwiZkl0AKiWSYiwJzNf4uiKEOYW5ORU7jx8OaTexhaPZq4 9Hlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xcmb6PSN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id i186-20020a6387c3000000b00577a7c39aacsi8771175pge.275.2023.09.24.17.59.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 17:59:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xcmb6PSN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D5245802583B; Sun, 24 Sep 2023 17:59:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230070AbjIYA7a (ORCPT + 99 others); Sun, 24 Sep 2023 20:59:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbjIYA7a (ORCPT ); Sun, 24 Sep 2023 20:59:30 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0399E8 for ; Sun, 24 Sep 2023 17:59:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DD5AC433C8; Mon, 25 Sep 2023 00:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695603562; bh=fMueAAl4YcY+rMqw9v05dBwjDCqjW4r2977rdewFBT4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xcmb6PSNDP/8QVuQwzaFypKXC37A9zzaHhHWm+TeckGQX/lXOEqL+kYqX5OzGYeZy VxRbVQDg0pCu7SAiyCEGRBAPrUWkgRpRikDGswoN8QT6JVIiqSf/2hp1xdSonaIZqy GsggLGB9Y6xRMMZd1Uwrxw0wtOPZgMSISLXBGpNaGw1QnGt19FzjZ4/FAFs1BOjuTA KTXdth03Xcqeu/CRs1PHcPYgkwBk0ijm9q1K06ypx7tNLP75YU97/CUm0gpitNzUd5 BKjKS4dwQnNpDyLM03BxgutIy+V3c2iKLArb28S6L2TJZwRp6TPKJ5mjMRCbb/+X/4 cmZwlUwMwO0dA== Date: Mon, 25 Sep 2023 08:59:11 +0800 From: Shawn Guo To: Gregor Herburger Cc: Li Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com Subject: Re: [PATCH v2 3/6] arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A Message-ID: <20230925005911.GA7231@dragon> References: <20230829-for-ml-tqmls10xxa-v2-test-v2-0-b1da63785b25@ew.tq-group.com> <20230829-for-ml-tqmls10xxa-v2-test-v2-3-b1da63785b25@ew.tq-group.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230829-for-ml-tqmls10xxa-v2-test-v2-3-b1da63785b25@ew.tq-group.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sun, 24 Sep 2023 17:59:27 -0700 (PDT) On Tue, Aug 29, 2023 at 11:26:59AM +0200, Gregor Herburger wrote: > This adds support for the TQMLS1043A and TQMLS1046A SOM and the > MBLS10xxA baseboard. TQMLS1043A and TQMLS1046A share a common layout > and can be used on the MBLS10xxA. > > Signed-off-by: Gregor Herburger > --- > arch/arm64/boot/dts/freescale/Makefile | 2 + > .../freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts | 49 ++++++++ > .../boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi | 32 +++++ > .../freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts | 56 +++++++++ > .../boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi | 42 +++++++ > .../dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi | 104 ++++++++++++++++ > .../boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi | 136 +++++++++++++++++++++ > arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi | 58 +++++++++ > 8 files changed, 479 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile > index c6872b7e9471..8bb67d1e8f4d 100644 > --- a/arch/arm64/boot/dts/freescale/Makefile > +++ b/arch/arm64/boot/dts/freescale/Makefile > @@ -15,9 +15,11 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb > +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-tqmls1043a-mbls10xxa.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb > +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-tqmls1046a-mbls10xxa.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-ten64.dtb > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts > new file mode 100644 > index 000000000000..599101d06f74 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a-mbls10xxa.dts > @@ -0,0 +1,49 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (c) 2018-2023 TQ-Systems GmbH , > + * D-82229 Seefeld, Germany. > + * Author: Gregor Herburger, Timo Herbrecher > + * > + */ > + > +/dts-v1/; > + > +#include > + > +#include "fsl-ls1043a-tqmls1043a.dtsi" > +#include "tqmls10xxa-mbls10xxa.dtsi" > + > +/ { > + model = "TQ-Systems GmbH LS1043A TQMLS1043A SoM on MBLS10xxA board"; > + compatible = "tq,ls1043a-tqmls1043a-mbls10xxa", "tq,ls1043a-tqmls1043a", > + "fsl,ls1043a"; > + > + aliases { > + serial0 = &duart0; > + serial1 = &duart1; > + qsgmii-s1-p1 = &qsgmii1_phy1; Sort the list alphabetically. Shawn > + qsgmii-s1-p2 = &qsgmii1_phy2; > + qsgmii-s1-p3 = &qsgmii1_phy3; > + qsgmii-s1-p4 = &qsgmii1_phy4; > + qsgmii-s2-p1 = &qsgmii2_phy1; > + qsgmii-s2-p2 = &qsgmii2_phy2; > + qsgmii-s2-p3 = &qsgmii2_phy3; > + qsgmii-s2-p4 = &qsgmii2_phy4; > + }; > + > + chosen { > + stdout-path = &duart1; > + }; > +}; > + > +&esdhc { > + cd-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; > + wp-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>; > +}; > + > +&usb2 { > + status = "okay"; > +}; > + > +#include "fsl-ls1043-post.dtsi" > +#include "tqmls104xa-mbls10xxa-fman.dtsi" > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi > new file mode 100644 > index 000000000000..12d5f3938e5d > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi > @@ -0,0 +1,32 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (c) 2018-2023 TQ-Systems GmbH , > + * D-82229 Seefeld, Germany. > + * Author: Gregor Herburger, Timo Herbrecher > + * > + * Device Tree Include file for LS1043A based SoM of TQ > + */ > + > +#include "fsl-ls1043a.dtsi" > +#include "tqmls10xxa.dtsi" > + > +&qspi { > + num-cs = <2>; > + status = "okay"; > + > + qflash0: flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <1>; > + spi-max-frequency = <62500000>; > + spi-rx-bus-width = <4>; > + spi-tx-bus-width = <4>; > + > + partitions { > + compatible = "fixed-partitions"; > + #address-cells = <1>; > + #size-cells = <1>; > + }; > + }; > +}; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts > new file mode 100644 > index 000000000000..12e1460bd3da > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts > @@ -0,0 +1,56 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (c) 2018-2023 TQ-Systems GmbH , > + * D-82229 Seefeld, Germany. > + * Author: Gregor Herburger, Timo Herbrecher > + */ > + > +/dts-v1/; > + > +#include > + > +#include "fsl-ls1046a-tqmls1046a.dtsi" > +#include "tqmls10xxa-mbls10xxa.dtsi" > + > +/ { > + model = "TQ-Systems GmbH LS1046A TQMLS1046A SoM on MBLS10xxA board"; > + compatible = "tq,ls1046a-tqmls1046a-mbls10xxa", "tq,ls1046a-tqmls1046a", > + "fsl,ls1046a"; > + > + aliases { > + serial0 = &duart0; > + serial1 = &duart1; > + qsgmii-s1-p1 = &qsgmii1_phy1; > + qsgmii-s1-p2 = &qsgmii1_phy2; > + qsgmii-s1-p3 = &qsgmii1_phy3; > + qsgmii-s1-p4 = &qsgmii1_phy4; > + qsgmii-s2-p1 = &qsgmii2_phy1; > + qsgmii-s2-p2 = &qsgmii2_phy2; > + qsgmii-s2-p3 = &qsgmii2_phy3; > + qsgmii-s2-p4 = &qsgmii2_phy4; > + }; > + > + chosen { > + stdout-path = &duart1; > + }; > +}; > + > +&dspi { > + status = "okay"; > +}; > + > +&esdhc { > + cd-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; > + wp-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>; > +}; > + > +&usb2 { > + status = "okay"; > +}; > + > +#include "fsl-ls1046-post.dtsi" > +#include "tqmls104xa-mbls10xxa-fman.dtsi" > + > +&enet7 { > + status = "disabled"; > +}; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi > new file mode 100644 > index 000000000000..4a8f8bc688f5 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi > @@ -0,0 +1,42 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (c) 2018-2023 TQ-Systems GmbH , > + * D-82229 Seefeld, Germany. > + * Author: Gregor Herburger, Timo Herbrecher > + * > + * Device Tree Include file for LS1046A based SoM of TQ > + */ > + > +#include "fsl-ls1046a.dtsi" > +#include "tqmls10xxa.dtsi" > + > +&qspi { > + num-cs = <2>; > + status = "okay"; > + > + qflash0: flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <1>; > + spi-max-frequency = <62500000>; > + spi-rx-bus-width = <4>; > + spi-tx-bus-width = <4>; > + > + partitions { > + compatible = "fixed-partitions"; > + #address-cells = <1>; > + #size-cells = <1>; > + }; > + }; > + > + qflash1: flash@1 { > + compatible = "jedec,spi-nor"; > + reg = <1>; > + #address-cells = <1>; > + #size-cells = <1>; > + spi-max-frequency = <62500000>; > + spi-rx-bus-width = <4>; > + spi-tx-bus-width = <4>; > + }; > +}; > diff --git a/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi b/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi > new file mode 100644 > index 000000000000..4c38dd541143 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/tqmls104xa-mbls10xxa-fman.dtsi > @@ -0,0 +1,104 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (c) 2019,2023 TQ-Systems GmbH , > + * D-82229 Seefeld, Germany. > + * Author: Gregor Herburger, Timo Herbrecher > + * > + * Device Tree Include file for MBLS10xxA from TQ (FMAN related sections) > + */ > + > +#include > + > +&enet0 { > + status = "disabled"; > +}; > + > +&enet1 { > + status = "disabled"; > +}; > + > +&enet2 { > + phy-handle = <&rgmii_phy1>; > + phy-connection-type = "rgmii"; > + phy-mode = "rgmii-id"; > + status = "okay"; > +}; > + > +&enet3 { > + phy-handle = <&rgmii_phy2>; > + phy-connection-type = "rgmii"; > + phy-mode = "rgmii-id"; > + status = "okay"; > +}; > + > +&enet4 { > + status = "disabled"; > +}; > + > +&enet5 { > + status = "disabled"; > +}; > + > +&enet6 { > + status = "disabled"; > +}; > + > +&mdio0 { > + status = "okay"; > + > + qsgmii2_phy1: ethernet-phy@0 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x00>; > + }; > + > + qsgmii2_phy2: ethernet-phy@1 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x01>; > + }; > + > + qsgmii2_phy3: ethernet-phy@2 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x02>; > + }; > + > + qsgmii2_phy4: ethernet-phy@3 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x03>; > + }; > + > + rgmii_phy2: ethernet-phy@c { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x0c>; > + ti,rx-internal-delay = ; > + ti,tx-internal-delay = ; > + ti,fifo-depth = ; > + }; > + > + rgmii_phy1: ethernet-phy@e { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x0e>; > + ti,rx-internal-delay = ; > + ti,tx-internal-delay = ; > + ti,fifo-depth = ; > + }; > + > + qsgmii1_phy1: ethernet-phy@1c { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x1c>; > + }; > + > + qsgmii1_phy2: ethernet-phy@1d { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x1d>; > + }; > + > + qsgmii1_phy3: ethernet-phy@1e { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x1e>; > + }; > + > + qsgmii1_phy4: ethernet-phy@1f { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0x1f>; > + }; > +}; > diff --git a/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi b/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi > new file mode 100644 > index 000000000000..65b4ed28a3d4 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi > @@ -0,0 +1,136 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (c) 2018-2023 TQ-Systems GmbH , > + * D-82229 Seefeld, Germany. > + * Author: Gregor Herburger, Timo Herbrecher > + * > + * Device Tree Include file for MBLS10xxA from TQ > + */ > + > +#include > +#include > +#include > + > +/ { > + gpio-keys-polled { > + compatible = "gpio-keys-polled"; > + poll-interval = <100>; > + autorepeat; > + > + button-0 { > + label = "button0"; > + gpios = <&gpioexp3 5 GPIO_ACTIVE_LOW>; > + linux,code = ; > + }; > + > + button-1 { > + label = "button1"; > + gpios = <&gpioexp3 6 GPIO_ACTIVE_LOW>; > + linux,code = ; > + }; > + }; > + > + leds { > + compatible = "gpio-leds"; > + > + led-user { > + gpios = <&gpioexp3 13 GPIO_ACTIVE_LOW>; > + color = ; > + function = LED_FUNCTION_HEARTBEAT; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + reg_3v3: regulator-3v3 { > + compatible = "regulator-fixed"; > + regulator-name = "V_3V3_MB"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + }; > +}; > + > +&duart0 { > + status = "okay"; > +}; > + > +&duart1 { > + status = "okay"; > +}; > + > +&esdhc { > + status = "okay"; > +}; > + > +&i2c3 { > + status = "okay"; > + > + i2c-mux@70 { > + compatible = "nxp,pca9544"; > + reg = <0x70>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + i2c@0 { > + reg = <0x0>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + gpioexp1: gpio@20 { > + compatible = "nxp,pca9555"; > + reg = <0x20>; > + vcc-supply = <®_3v3>; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > + gpioexp2: gpio@21 { > + compatible = "nxp,pca9555"; > + reg = <0x21>; > + vcc-supply = <®_3v3>; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > + gpioexp3: gpio@22 { > + compatible = "nxp,pca9555"; > + reg = <0x22>; > + vcc-supply = <®_3v3>; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + }; > + > + sfp1_i2c: i2c@1 { > + reg = <0x1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + sfp2_i2c: i2c@2 { > + reg = <0x2>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c@3 { > + reg = <0x3>; > + #address-cells = <1>; > + #size-cells = <0>; > + }; > + }; > +}; > + > +&sata { > + status = "okay"; > +}; > + > +&usb0 { > + status = "okay"; > +}; > + > +&usb1 { > + dr_mode = "otg"; > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi b/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi > new file mode 100644 > index 000000000000..138f8778afde > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/tqmls10xxa.dtsi > @@ -0,0 +1,58 @@ > +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) > +/* > + * Copyright (c) 2018-2023 TQ-Systems GmbH , > + * D-82229 Seefeld, Germany. > + * Author: Gregor Herburger, Timo Herbrecher > + * > + * Device Tree Include file for TQMLs10xxA SoM of TQ > + */ > + > +/ { > + reg_vcc3v3: regulator-vcc3v3 { > + compatible = "regulator-fixed"; > + regulator-name = "VCC3V3"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + }; > +}; > + > +&i2c0 { > + status = "okay"; > + > + temperature-sensor@18 { > + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; > + reg = <0x18>; > + }; > + > + eeprom@50 { > + compatible = "nxp,se97b", "atmel,24c02"; > + reg = <0x50>; > + pagesize = <16>; > + vcc-supply = <®_vcc3v3>; > + read-only; > + }; > + > + rtc@51 { > + compatible = "nxp,pcf85063a"; > + reg = <0x51>; > + }; > + > + eeprom@57 { > + compatible = "atmel,24c64"; > + reg = <0x57>; > + pagesize = <32>; > + vcc-supply = <®_vcc3v3>; > + }; > +}; > + > +&esdhc { > + /* eSDHC or eMMC: set by bootloader */ > + non-removable; > + disable-wp; > + mmc-hs200-1_8v; > + sd-uhs-sdr104; > + sd-uhs-sdr50; > + sd-uhs-sdr25; > + sd-uhs-sdr12; > +}; > > -- > 2.34.1 >