Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3450576ybc; Thu, 21 Nov 2019 08:30:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzVyFRcmFVf6YQoV7KBKFCFG8zAYSBZkfYfz828U5HvamSKqxr2zW7p1oKGjUW65f74uCo/ X-Received: by 2002:adf:dd07:: with SMTP id a7mr2582917wrm.177.1574353815184; Thu, 21 Nov 2019 08:30:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574353815; cv=pass; d=google.com; s=arc-20160816; b=h2u4t8TqbNegySgx9qMJDdNCR4ZiH7FBISSuHwMhZL80fg5Ut+aJB1H+CSgv4oy3JW 8ThvOZ6s8QcECfEzEwau++0ZCZSO527pH/Be7OCv3kwxNXS5gngYulmNgPQf1eyIvrod MZ4Zu79sB4uxMwFN7EICVf2LEA4qM/NcobY4AgoiEUCjBb52+J20JUSO9MUdVLy9kiNF LLFcSukr0ZgakqFtTmrrO3cqbNuSUJdlE0lNnxEiXZlo67Aq9uGHRJSLXMDAwG8FiSrG g+9Q94tlajsqJ6C73BaIwBauWljYy5ykP2nuuYl98X8HlwcitZelfr9IMtrZ7fpkgMq7 Uytw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=x2Xk6aaF7ZaFqxXmg6YaLgTKQgwpfh6bTeX+37Qk88I=; b=N9vgHHrftpEe6xkReTSB+mSsHV9yZMVORPaRCNFDTXsXNVfJayde2aOX9He2zfTRWS AwS65AGpbFB5FoktOeJw+ezMClTw4lfG7k8AHH6jE5yfsdzrBaZccamoBciX9i/1NSkO XkIDLfEkrbrM5wulkU7etC4QoC7XRpLgNSX+S0n03RTgmOgPOKOM21Il2s9pOkkjqC5G VbzwOrqaM3cbpq8A6SMLux7eKA0GoADYT8XaNekPrWS+FtvXREnw7uM8xdGYHY1TxzYi NjJJ+PXGANtMcnpblps4Jl10QxXLQ3nqsHqytZBQrSiz+PdmqyBvbMYSOyA/YzJEgoXb +R3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=sRWWXwyA; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u93si3457603edc.184.2019.11.21.08.29.50; Thu, 21 Nov 2019 08:30:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=sRWWXwyA; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727196AbfKUQZs (ORCPT + 99 others); Thu, 21 Nov 2019 11:25:48 -0500 Received: from mail-eopbgr30085.outbound.protection.outlook.com ([40.107.3.85]:49324 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727171AbfKUQZs (ORCPT ); Thu, 21 Nov 2019 11:25:48 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L0SikBT5uI++t8Rx4VZsoghGwXsMJb2L00izNH2R74d1gxLhW7psYUdckctgARwwk2uoHU0K3Bl1x4LU1AibIGcMIynkkya0q8zbz4nmIKluilC+YUHSJg8nYPH57NfHAvKSAsNl5sj5/sZkhAAt4zwr4Zawvq/qivkwm09f+IzCaZt2i0lkwVpfGl1Ut9qITuP+fc9X/OgphgbyH9spZ2rvdnqsCKvIDyJnZ2IQxZCAD9SyCUaLyvcrG1dFw8Bg4k2jzVyYMGE0CwKFJlgQSHLNL4lP8poEGTtE4GkTupCxrMpDIHwPdfsqnZy1uE0w4n81GljPHd8IAy8kYuP9Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x2Xk6aaF7ZaFqxXmg6YaLgTKQgwpfh6bTeX+37Qk88I=; b=fg+ErLrPPfz2jMTxdzqAflYOWbhdWBnaDmB7PB/1AAx2x4u21jgOJ1KHLXBesPu08IvoJczsA87kIMB+rsZGXfzU2EnpWp2qtMQ4PvCebcpppJWzW/iuCusrm1NWCyH/v+3k9rIcnJSS9Ki+XZmukMWSNx0m8VrjnZ5/tqTQNCU0ApcyRfSwdYEVKX6yxJ+wr+54UwfN6M+zsN4B47l4r7BP6rYMtTxKoJ2yRS2p3yIZNrCuHXDskVYQQa0DaXKb1WehyHH3FOmLPVf+fv6Y/FTP94zysuelkJGUwYkSqEPs88JaGlGaF/yEj9S1FKO9gMyZhpowyyzVhm09ejzf7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x2Xk6aaF7ZaFqxXmg6YaLgTKQgwpfh6bTeX+37Qk88I=; b=sRWWXwyA+kMPgDvs2keXY4SEvWSr31yxqESocOYkkx4iHUNpLeF0QaLrgCYbYKOMPcGSxZHZV0bbI8ssX4LQE1BhGCFgHgU3Bnyr6btcb70/EKhnnRXGeEcLegvxdLCUpo030/gmbRFSlqPZslSXVgkdjqjdB84eX4sx4+QPOTU= Received: from VE1PR04MB6367.eurprd04.prod.outlook.com (20.179.232.85) by VE1PR04MB6608.eurprd04.prod.outlook.com (20.179.235.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Thu, 21 Nov 2019 16:25:42 +0000 Received: from VE1PR04MB6367.eurprd04.prod.outlook.com ([fe80::d1b2:be2c:f082:7ad6]) by VE1PR04MB6367.eurprd04.prod.outlook.com ([fe80::d1b2:be2c:f082:7ad6%6]) with mapi id 15.20.2451.032; Thu, 21 Nov 2019 16:25:42 +0000 From: Marco Antonio Franchi To: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "marcofrk@gmail.com" CC: "festevam@gmail.com" , "shawnguo@kernel.org" , "robh+dt@kernel.org" , "atv@google.com" , Marco Antonio Franchi Subject: [PATCH v2 2/2] arm64: dts: freescale: add initial support for Google i.MX 8MQ Phanbell Thread-Topic: [PATCH v2 2/2] arm64: dts: freescale: add initial support for Google i.MX 8MQ Phanbell Thread-Index: AQHVoIhRD/L/5DthAkOJz5Oi9voGcg== Date: Thu, 21 Nov 2019 16:25:41 +0000 Message-ID: <20191121162520.10120-2-marco.franchi@nxp.com> References: <20191121162520.10120-1-marco.franchi@nxp.com> In-Reply-To: <20191121162520.10120-1-marco.franchi@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR05CA0089.namprd05.prod.outlook.com (2603:10b6:a03:e0::30) To VE1PR04MB6367.eurprd04.prod.outlook.com (2603:10a6:803:11a::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=marco.franchi@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [177.221.114.206] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9f4cb1fd-763b-4020-7425-08d76e9f73a3 x-ms-traffictypediagnostic: VE1PR04MB6608:|VE1PR04MB6608: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0228DDDDD7 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(136003)(396003)(39860400002)(366004)(376002)(189003)(199004)(66556008)(2501003)(305945005)(4326008)(30864003)(102836004)(14444005)(66066001)(7736002)(5660300002)(6506007)(386003)(26005)(256004)(2906002)(446003)(52116002)(54906003)(66446008)(110136005)(76176011)(1076003)(186003)(99286004)(66476007)(64756008)(66946007)(86362001)(11346002)(2201001)(2616005)(8936002)(50226002)(966005)(8676002)(81166006)(14454004)(316002)(6306002)(478600001)(81156014)(6512007)(36756003)(6486002)(3846002)(6436002)(25786009)(6116002)(71190400001)(71200400001)(473944003);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6608;H:VE1PR04MB6367.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +rZC+nN7lec9HHBjfDElaU+Xfxtb7vpEwXWEb/5t8Z+llwqMX+YFFM2cmNVdSCtxMuogri1W7WCXp1NtB1PMShLZjbGLPWBjdFiE/8iGtQx5tROOqm1KnPnhwNZmzlatmqUaPSkdR+XaC+L/bRDWHwgIFjoDKgWEI1Diu83p3Cn4N/SRbOb12WAf9QH5tl/8rPI9uNWLiMUPiMlDn2NZESUsuQ24bHONFeU+6SDeLXSK4x3dbcK0ZUUF512NtahIg9LSbJDXTnmib4Qkrup7DnSH8GEgwK8ifyQCydnhRScaCojkunYO64JiFuAw64UteuFdvMjCz0meHUBoIhTDhMVrntZBAdevfh8KOtYiM4oNchkTgnxi0eekPRe+Oes8bs7FhvDOThN8jrOEu2xbMgVAGzpOGA5GU6hNi3iD3J+Nt8MDPH7Nt8ZpLofzZ4g/Yw/lBSCXQoz9+oQQYEyMvXSMLVtZb8lGf/pxgHaEGVM= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f4cb1fd-763b-4020-7425-08d76e9f73a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2019 16:25:42.0178 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: w6G6nospNky2d8YernsUoUUw9L0enU1LnlDSyGuvzMCtEScK4Yj1QBVPMsOb3FxcAQFRMOShRvkuUGSB1Bpbdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6608 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the device tree to support Google Coral Edge TPU, historicaly named as fsl-imx8mq-phanbell, a computer on module which can be used for AI/ML propose. It introduces a minimal enablement support for this module and was totally based on the NXP i.MX 8MQ EVK board and i.MX 8MQ Phanbell Google Source Code for Coral Edge TPU Mendel release: https://coral.googlesource.com/linux-imx/ Tested components: - PMIC; - USB-C OTG; - USB-C PWR; - micro-USB; - USB. Signed-off-by: Marco Franchi --- Changes since v1: - add this patch to a section of patches - change U-Boot details on patch log - standardization device name: fsl-imx8mq-phanbell to imx8mq-phanbell - remove audio node - remove ethernet node - fix/remove unexisted properties at mainstream - fix split lines at sai2 node - remove imx8mq-evk container from iomxc node - remove unnecessary comments from Device Tree arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/imx8mq-phanbell.dts | 405 ++++++++++++++++++ 2 files changed, 406 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/f= reescale/Makefile index 38e344a2f0ff..e50a934e2417 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -28,6 +28,7 @@ dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-evk.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-hummingboard-pulse.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-librem5-devkit.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-nitrogen.dtb +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-phanbell.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-pico-pi.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-zii-ultra-rmb3.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mq-zii-ultra-zest.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts b/arch/arm64= /boot/dts/freescale/imx8mq-phanbell.dts new file mode 100644 index 000000000000..bf6650fb480f --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts @@ -0,0 +1,405 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2017-2019 NXP + */ + +/dts-v1/; + +#include "imx8mq.dtsi" + +/ { + model =3D "Google i.MX8MQ Phanbell"; + compatible =3D "google,imx8mq-phanbell", "fsl,imx8mq"; + + chosen { + stdout-path =3D &uart1; + }; + + memory@40000000 { + device_type =3D "memory"; + reg =3D <0x00000000 0x40000000 0 0xc0000000>; + }; + + pmic_osc: clock-pmic { + compatible =3D "fixed-clock"; + #clock-cells =3D <0>; + clock-frequency =3D <32768>; + clock-output-names =3D "pmic_osc"; + }; + + reg_usdhc2_vmmc: usdhc2_vmmc { + compatible =3D "regulator-fixed"; + regulator-name =3D "VSD_3V3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpio =3D <&gpio2 19 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_gpio_dvfs: regulator-gpio { + compatible =3D "regulator-gpio"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_dvfs>; + regulator-min-microvolt =3D <900000>; + regulator-max-microvolt =3D <1000000>; + regulator-name =3D "gpio_dvfs"; + regulator-type =3D "voltage"; + gpios =3D <&gpio1 13 GPIO_ACTIVE_HIGH>; + states =3D <900000 0x1 1000000 0x0>; + }; +}; + +&A53_0 { + cpu-supply =3D <®_gpio_dvfs>; +}; + +&A53_1 { + cpu-supply =3D <®_gpio_dvfs>; +}; + +&A53_2 { + cpu-supply =3D <®_gpio_dvfs>; +}; + +&A53_3 { + cpu-supply =3D <®_gpio_dvfs>; +}; + +&i2c1 { + clock-frequency =3D <400000>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_i2c1>; + status =3D "okay"; + + pmic: pmic@4b { + reg =3D <0x4b>; + compatible =3D "rohm,bd71837"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pmic>; + clocks =3D <&pmic_osc>; + clock-names =3D "osc"; + clock-output-names =3D "pmic_clk"; + interrupt-parent =3D <&gpio1>; + interrupts =3D <3 GPIO_ACTIVE_LOW>; + interrupt-names =3D "irq"; + + regulators { + buck1: BUCK1 { + regulator-name =3D "buck1"; + regulator-min-microvolt =3D <700000>; + regulator-max-microvolt =3D <1300000>; + regulator-boot-on; + regulator-ramp-delay =3D <1250>; + rohm,dvs-run-voltage =3D <900000>; + rohm,dvs-idle-voltage =3D <850000>; + rohm,dvs-suspend-voltage =3D <800000>; + }; + + buck2: BUCK2 { + regulator-name =3D "buck2"; + regulator-min-microvolt =3D <700000>; + regulator-max-microvolt =3D <1300000>; + regulator-boot-on; + regulator-ramp-delay =3D <1250>; + rohm,dvs-run-voltage =3D <1000000>; + rohm,dvs-idle-voltage =3D <900000>; + }; + + buck3: BUCK3 { + regulator-name =3D "buck3"; + regulator-min-microvolt =3D <700000>; + regulator-max-microvolt =3D <1300000>; + regulator-boot-on; + rohm,dvs-run-voltage =3D <1000000>; + }; + + buck4: BUCK4 { + regulator-name =3D "buck4"; + regulator-min-microvolt =3D <700000>; + regulator-max-microvolt =3D <1300000>; + regulator-boot-on; + rohm,dvs-run-voltage =3D <1000000>; + }; + + buck5: BUCK5 { + regulator-name =3D "buck5"; + regulator-min-microvolt =3D <700000>; + regulator-max-microvolt =3D <1350000>; + regulator-boot-on; + }; + + buck6: BUCK6 { + regulator-name =3D "buck6"; + regulator-min-microvolt =3D <3000000>; + regulator-max-microvolt =3D <3300000>; + regulator-boot-on; + }; + + buck7: BUCK7 { + regulator-name =3D "buck7"; + regulator-min-microvolt =3D <1605000>; + regulator-max-microvolt =3D <1995000>; + regulator-boot-on; + }; + + buck8: BUCK8 { + regulator-name =3D "buck8"; + regulator-min-microvolt =3D <800000>; + regulator-max-microvolt =3D <1400000>; + regulator-boot-on; + }; + + ldo1: LDO1 { + regulator-name =3D "ldo1"; + regulator-min-microvolt =3D <3000000>; + regulator-max-microvolt =3D <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo2: LDO2 { + regulator-name =3D "ldo2"; + regulator-min-microvolt =3D <900000>; + regulator-max-microvolt =3D <900000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3: LDO3 { + regulator-name =3D "ldo3"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + regulator-boot-on; + }; + + ldo4: LDO4 { + regulator-name =3D "ldo4"; + regulator-min-microvolt =3D <900000>; + regulator-max-microvolt =3D <1800000>; + regulator-boot-on; + }; + + ldo5: LDO5 { + regulator-name =3D "ldo5"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + regulator-boot-on; + }; + + ldo6: LDO6 { + regulator-name =3D "ldo6"; + regulator-min-microvolt =3D <900000>; + regulator-max-microvolt =3D <1800000>; + regulator-boot-on; + }; + + ldo7: LDO7 { + regulator-name =3D "ldo7"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + regulator-boot-on; + }; + }; + }; +}; + +&uart1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart1>; + status =3D "okay"; +}; + +&usdhc1 { + pinctrl-names =3D "default", "state_100mhz", "state_200mhz"; + pinctrl-0 =3D <&pinctrl_usdhc1>; + pinctrl-1 =3D <&pinctrl_usdhc1_100mhz>; + pinctrl-2 =3D <&pinctrl_usdhc1_200mhz>; + bus-width =3D <8>; + non-removable; + status =3D "okay"; +}; + +&usdhc2 { + pinctrl-names =3D "default", "state_100mhz", "state_200mhz"; + pinctrl-0 =3D <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; + pinctrl-1 =3D <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-2 =3D <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; + bus-width =3D <4>; + cd-gpios =3D <&gpio2 12 GPIO_ACTIVE_LOW>; + vmmc-supply =3D <®_usdhc2_vmmc>; + status =3D "okay"; +}; + +&usb3_phy0 { + status =3D "okay"; +}; + +&usb_dwc3_0 { + status =3D "okay"; + dr_mode =3D "otg"; +}; + +&usb3_phy1 { + status =3D "okay"; +}; + +&usb_dwc3_1 { + status =3D "okay"; + dr_mode =3D "host"; +}; + +&sai2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_sai2>; + assigned-clocks =3D <&clk IMX8MQ_AUDIO_PLL1_BYPASS>, <&clk IMX8MQ_CLK_SAI= 2>; + assigned-clock-parents =3D <&clk IMX8MQ_AUDIO_PLL1>, <&clk IMX8MQ_AUDIO_P= LL1_OUT>; + assigned-clock-rates =3D <0>, <24576000>; + status =3D "okay"; +}; + +&wdog1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_wdog>; + fsl,ext-reset-output; + status =3D "okay"; +}; + +&iomuxc { + pinctrl-names =3D "default"; + + pinctrl_i2c1: i2c1grp { + fsl,pins =3D < + MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f + MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f + >; + }; + + pinctrl_dvfs: dvfsgrp { + fsl,pins =3D < + MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x16 + >; + }; + + pinctrl_uart1: uart1grp { + fsl,pins =3D < + MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49 + MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins =3D < + MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83 + MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3 + MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3 + MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3 + MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3 + MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3 + MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc3 + MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc3 + MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc3 + MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc3 + MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x83 + MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 + >; + }; + + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { + fsl,pins =3D < + MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x85 + MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc5 + MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc5 + MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc5 + MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc5 + MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc5 + MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc5 + MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc5 + MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc5 + MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc5 + MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x85 + MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { + fsl,pins =3D < + MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x87 + MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc7 + MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc7 + MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc7 + MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc7 + MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc7 + MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc7 + MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc7 + MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc7 + MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc7 + MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x87 + MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 + >; + }; + + pinctrl_usdhc2_gpio: usdhc2grpgpio { + fsl,pins =3D < + MX8MQ_IOMUXC_SD2_CD_B_GPIO2_IO12 0x41 + MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 + >; + }; + + pinctrl_usdhc2: usdhc2grp { + fsl,pins =3D < + MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x83 + MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc3 + MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc3 + MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc3 + MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc3 + MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc3 + MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 + >; + }; + + pinctrl_usdhc2_100mhz: usdhc2grp100mhz { + fsl,pins =3D < + MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x85 + MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc5 + MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc5 + MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc5 + MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc5 + MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc5 + MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 + >; + }; + + pinctrl_usdhc2_200mhz: usdhc2grp200mhz { + fsl,pins =3D < + MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x87 + MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc7 + MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc7 + MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc7 + MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc7 + MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc7 + MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 + >; + }; + + pinctrl_sai2: sai2grp { + fsl,pins =3D < + MX8MQ_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC 0xd6 + MX8MQ_IOMUXC_SAI2_TXC_SAI2_TX_BCLK 0xd6 + MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK 0xd6 + MX8MQ_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0 0xd6 + MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0xd6 + >; + }; + + pinctrl_wdog: wdoggrp { + fsl,pins =3D < + MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 + >; + }; + + pinctrl_pmic: pmicirq { + fsl,pins =3D < + MX8MQ_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x41 + >; + }; +}; --=20 2.17.1