18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright 2020 NXP
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci/dts-v1/;
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include <dt-bindings/usb/pd.h>
98c2ecf20Sopenharmony_ci#include "imx8mm.dtsi"
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/ {
128c2ecf20Sopenharmony_ci	chosen {
138c2ecf20Sopenharmony_ci		stdout-path = &uart2;
148c2ecf20Sopenharmony_ci	};
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	memory@40000000 {
178c2ecf20Sopenharmony_ci		device_type = "memory";
188c2ecf20Sopenharmony_ci		reg = <0x0 0x40000000 0 0x80000000>;
198c2ecf20Sopenharmony_ci	};
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci	leds {
228c2ecf20Sopenharmony_ci		compatible = "gpio-leds";
238c2ecf20Sopenharmony_ci		pinctrl-names = "default";
248c2ecf20Sopenharmony_ci		pinctrl-0 = <&pinctrl_gpio_led>;
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci		status {
278c2ecf20Sopenharmony_ci			label = "status";
288c2ecf20Sopenharmony_ci			gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
298c2ecf20Sopenharmony_ci			default-state = "on";
308c2ecf20Sopenharmony_ci		};
318c2ecf20Sopenharmony_ci	};
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	reg_usdhc2_vmmc: regulator-usdhc2 {
348c2ecf20Sopenharmony_ci		compatible = "regulator-fixed";
358c2ecf20Sopenharmony_ci		pinctrl-names = "default";
368c2ecf20Sopenharmony_ci		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
378c2ecf20Sopenharmony_ci		regulator-name = "VSD_3V3";
388c2ecf20Sopenharmony_ci		regulator-min-microvolt = <3300000>;
398c2ecf20Sopenharmony_ci		regulator-max-microvolt = <3300000>;
408c2ecf20Sopenharmony_ci		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
418c2ecf20Sopenharmony_ci		enable-active-high;
428c2ecf20Sopenharmony_ci	};
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci	wm8524: audio-codec {
458c2ecf20Sopenharmony_ci		#sound-dai-cells = <0>;
468c2ecf20Sopenharmony_ci		compatible = "wlf,wm8524";
478c2ecf20Sopenharmony_ci		pinctrl-names = "default";
488c2ecf20Sopenharmony_ci		pinctrl-0 = <&pinctrl_gpio_wlf>;
498c2ecf20Sopenharmony_ci		wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
508c2ecf20Sopenharmony_ci	};
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci	sound-wm8524 {
538c2ecf20Sopenharmony_ci		compatible = "simple-audio-card";
548c2ecf20Sopenharmony_ci		simple-audio-card,name = "wm8524-audio";
558c2ecf20Sopenharmony_ci		simple-audio-card,format = "i2s";
568c2ecf20Sopenharmony_ci		simple-audio-card,frame-master = <&cpudai>;
578c2ecf20Sopenharmony_ci		simple-audio-card,bitclock-master = <&cpudai>;
588c2ecf20Sopenharmony_ci		simple-audio-card,widgets =
598c2ecf20Sopenharmony_ci			"Line", "Left Line Out Jack",
608c2ecf20Sopenharmony_ci			"Line", "Right Line Out Jack";
618c2ecf20Sopenharmony_ci		simple-audio-card,routing =
628c2ecf20Sopenharmony_ci			"Left Line Out Jack", "LINEVOUTL",
638c2ecf20Sopenharmony_ci			"Right Line Out Jack", "LINEVOUTR";
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci		cpudai: simple-audio-card,cpu {
668c2ecf20Sopenharmony_ci			sound-dai = <&sai3>;
678c2ecf20Sopenharmony_ci			dai-tdm-slot-num = <2>;
688c2ecf20Sopenharmony_ci			dai-tdm-slot-width = <32>;
698c2ecf20Sopenharmony_ci		};
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci		simple-audio-card,codec {
728c2ecf20Sopenharmony_ci			sound-dai = <&wm8524>;
738c2ecf20Sopenharmony_ci			clocks = <&clk IMX8MM_CLK_SAI3_ROOT>;
748c2ecf20Sopenharmony_ci		};
758c2ecf20Sopenharmony_ci	};
768c2ecf20Sopenharmony_ci};
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ci&A53_0 {
798c2ecf20Sopenharmony_ci	cpu-supply = <&buck2_reg>;
808c2ecf20Sopenharmony_ci};
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci&A53_1 {
838c2ecf20Sopenharmony_ci	cpu-supply = <&buck2_reg>;
848c2ecf20Sopenharmony_ci};
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci&A53_2 {
878c2ecf20Sopenharmony_ci	cpu-supply = <&buck2_reg>;
888c2ecf20Sopenharmony_ci};
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ci&A53_3 {
918c2ecf20Sopenharmony_ci	cpu-supply = <&buck2_reg>;
928c2ecf20Sopenharmony_ci};
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ci&fec1 {
958c2ecf20Sopenharmony_ci	pinctrl-names = "default";
968c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_fec1>;
978c2ecf20Sopenharmony_ci	phy-mode = "rgmii-id";
988c2ecf20Sopenharmony_ci	phy-handle = <&ethphy0>;
998c2ecf20Sopenharmony_ci	fsl,magic-packet;
1008c2ecf20Sopenharmony_ci	status = "okay";
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci	mdio {
1038c2ecf20Sopenharmony_ci		#address-cells = <1>;
1048c2ecf20Sopenharmony_ci		#size-cells = <0>;
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci		ethphy0: ethernet-phy@0 {
1078c2ecf20Sopenharmony_ci			compatible = "ethernet-phy-ieee802.3-c22";
1088c2ecf20Sopenharmony_ci			reg = <0>;
1098c2ecf20Sopenharmony_ci			reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
1108c2ecf20Sopenharmony_ci			reset-assert-us = <10000>;
1118c2ecf20Sopenharmony_ci		};
1128c2ecf20Sopenharmony_ci	};
1138c2ecf20Sopenharmony_ci};
1148c2ecf20Sopenharmony_ci
1158c2ecf20Sopenharmony_ci&i2c1 {
1168c2ecf20Sopenharmony_ci	clock-frequency = <400000>;
1178c2ecf20Sopenharmony_ci	pinctrl-names = "default";
1188c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_i2c1>;
1198c2ecf20Sopenharmony_ci	status = "okay";
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_ci	pmic@4b {
1228c2ecf20Sopenharmony_ci		compatible = "rohm,bd71847";
1238c2ecf20Sopenharmony_ci		reg = <0x4b>;
1248c2ecf20Sopenharmony_ci		pinctrl-names = "default";
1258c2ecf20Sopenharmony_ci		pinctrl-0 = <&pinctrl_pmic>;
1268c2ecf20Sopenharmony_ci		interrupt-parent = <&gpio1>;
1278c2ecf20Sopenharmony_ci		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
1288c2ecf20Sopenharmony_ci		rohm,reset-snvs-powered;
1298c2ecf20Sopenharmony_ci
1308c2ecf20Sopenharmony_ci		#clock-cells = <0>;
1318c2ecf20Sopenharmony_ci		clocks = <&osc_32k>;
1328c2ecf20Sopenharmony_ci		clock-output-names = "clk-32k-out";
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci		regulators {
1358c2ecf20Sopenharmony_ci			buck1_reg: BUCK1 {
1368c2ecf20Sopenharmony_ci				regulator-name = "buck1";
1378c2ecf20Sopenharmony_ci				regulator-min-microvolt = <700000>;
1388c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1300000>;
1398c2ecf20Sopenharmony_ci				regulator-boot-on;
1408c2ecf20Sopenharmony_ci				regulator-always-on;
1418c2ecf20Sopenharmony_ci				regulator-ramp-delay = <1250>;
1428c2ecf20Sopenharmony_ci			};
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ci			buck2_reg: BUCK2 {
1458c2ecf20Sopenharmony_ci				regulator-name = "buck2";
1468c2ecf20Sopenharmony_ci				regulator-min-microvolt = <700000>;
1478c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1300000>;
1488c2ecf20Sopenharmony_ci				regulator-boot-on;
1498c2ecf20Sopenharmony_ci				regulator-always-on;
1508c2ecf20Sopenharmony_ci				regulator-ramp-delay = <1250>;
1518c2ecf20Sopenharmony_ci				rohm,dvs-run-voltage = <1000000>;
1528c2ecf20Sopenharmony_ci				rohm,dvs-idle-voltage = <900000>;
1538c2ecf20Sopenharmony_ci			};
1548c2ecf20Sopenharmony_ci
1558c2ecf20Sopenharmony_ci			buck3_reg: BUCK3 {
1568c2ecf20Sopenharmony_ci				// BUCK5 in datasheet
1578c2ecf20Sopenharmony_ci				regulator-name = "buck3";
1588c2ecf20Sopenharmony_ci				regulator-min-microvolt = <700000>;
1598c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1350000>;
1608c2ecf20Sopenharmony_ci				regulator-boot-on;
1618c2ecf20Sopenharmony_ci				regulator-always-on;
1628c2ecf20Sopenharmony_ci			};
1638c2ecf20Sopenharmony_ci
1648c2ecf20Sopenharmony_ci			buck4_reg: BUCK4 {
1658c2ecf20Sopenharmony_ci				// BUCK6 in datasheet
1668c2ecf20Sopenharmony_ci				regulator-name = "buck4";
1678c2ecf20Sopenharmony_ci				regulator-min-microvolt = <3000000>;
1688c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
1698c2ecf20Sopenharmony_ci				regulator-boot-on;
1708c2ecf20Sopenharmony_ci				regulator-always-on;
1718c2ecf20Sopenharmony_ci			};
1728c2ecf20Sopenharmony_ci
1738c2ecf20Sopenharmony_ci			buck5_reg: BUCK5 {
1748c2ecf20Sopenharmony_ci				// BUCK7 in datasheet
1758c2ecf20Sopenharmony_ci				regulator-name = "buck5";
1768c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1605000>;
1778c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1995000>;
1788c2ecf20Sopenharmony_ci				regulator-boot-on;
1798c2ecf20Sopenharmony_ci				regulator-always-on;
1808c2ecf20Sopenharmony_ci			};
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ci			buck6_reg: BUCK6 {
1838c2ecf20Sopenharmony_ci				// BUCK8 in datasheet
1848c2ecf20Sopenharmony_ci				regulator-name = "buck6";
1858c2ecf20Sopenharmony_ci				regulator-min-microvolt = <800000>;
1868c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1400000>;
1878c2ecf20Sopenharmony_ci				regulator-boot-on;
1888c2ecf20Sopenharmony_ci				regulator-always-on;
1898c2ecf20Sopenharmony_ci			};
1908c2ecf20Sopenharmony_ci
1918c2ecf20Sopenharmony_ci			ldo1_reg: LDO1 {
1928c2ecf20Sopenharmony_ci				regulator-name = "ldo1";
1938c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1600000>;
1948c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
1958c2ecf20Sopenharmony_ci				regulator-boot-on;
1968c2ecf20Sopenharmony_ci				regulator-always-on;
1978c2ecf20Sopenharmony_ci			};
1988c2ecf20Sopenharmony_ci
1998c2ecf20Sopenharmony_ci			ldo2_reg: LDO2 {
2008c2ecf20Sopenharmony_ci				regulator-name = "ldo2";
2018c2ecf20Sopenharmony_ci				regulator-min-microvolt = <800000>;
2028c2ecf20Sopenharmony_ci				regulator-max-microvolt = <900000>;
2038c2ecf20Sopenharmony_ci				regulator-boot-on;
2048c2ecf20Sopenharmony_ci				regulator-always-on;
2058c2ecf20Sopenharmony_ci			};
2068c2ecf20Sopenharmony_ci
2078c2ecf20Sopenharmony_ci			ldo3_reg: LDO3 {
2088c2ecf20Sopenharmony_ci				regulator-name = "ldo3";
2098c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1800000>;
2108c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
2118c2ecf20Sopenharmony_ci				regulator-boot-on;
2128c2ecf20Sopenharmony_ci				regulator-always-on;
2138c2ecf20Sopenharmony_ci			};
2148c2ecf20Sopenharmony_ci
2158c2ecf20Sopenharmony_ci			ldo4_reg: LDO4 {
2168c2ecf20Sopenharmony_ci				regulator-name = "ldo4";
2178c2ecf20Sopenharmony_ci				regulator-min-microvolt = <900000>;
2188c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1800000>;
2198c2ecf20Sopenharmony_ci				regulator-boot-on;
2208c2ecf20Sopenharmony_ci				regulator-always-on;
2218c2ecf20Sopenharmony_ci			};
2228c2ecf20Sopenharmony_ci
2238c2ecf20Sopenharmony_ci			ldo6_reg: LDO6 {
2248c2ecf20Sopenharmony_ci				regulator-name = "ldo6";
2258c2ecf20Sopenharmony_ci				regulator-min-microvolt = <900000>;
2268c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1800000>;
2278c2ecf20Sopenharmony_ci				regulator-boot-on;
2288c2ecf20Sopenharmony_ci				regulator-always-on;
2298c2ecf20Sopenharmony_ci			};
2308c2ecf20Sopenharmony_ci		};
2318c2ecf20Sopenharmony_ci	};
2328c2ecf20Sopenharmony_ci};
2338c2ecf20Sopenharmony_ci
2348c2ecf20Sopenharmony_ci&i2c2 {
2358c2ecf20Sopenharmony_ci	clock-frequency = <400000>;
2368c2ecf20Sopenharmony_ci	pinctrl-names = "default";
2378c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_i2c2>;
2388c2ecf20Sopenharmony_ci	status = "okay";
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_ci	ptn5110: tcpc@50 {
2418c2ecf20Sopenharmony_ci		compatible = "nxp,ptn5110";
2428c2ecf20Sopenharmony_ci		pinctrl-names = "default";
2438c2ecf20Sopenharmony_ci		pinctrl-0 = <&pinctrl_typec1>;
2448c2ecf20Sopenharmony_ci		reg = <0x50>;
2458c2ecf20Sopenharmony_ci		interrupt-parent = <&gpio2>;
2468c2ecf20Sopenharmony_ci		interrupts = <11 8>;
2478c2ecf20Sopenharmony_ci		status = "okay";
2488c2ecf20Sopenharmony_ci
2498c2ecf20Sopenharmony_ci		port {
2508c2ecf20Sopenharmony_ci			typec1_dr_sw: endpoint {
2518c2ecf20Sopenharmony_ci				remote-endpoint = <&usb1_drd_sw>;
2528c2ecf20Sopenharmony_ci			};
2538c2ecf20Sopenharmony_ci		};
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_ci		typec1_con: connector {
2568c2ecf20Sopenharmony_ci			compatible = "usb-c-connector";
2578c2ecf20Sopenharmony_ci			label = "USB-C";
2588c2ecf20Sopenharmony_ci			power-role = "dual";
2598c2ecf20Sopenharmony_ci			data-role = "dual";
2608c2ecf20Sopenharmony_ci			try-power-role = "sink";
2618c2ecf20Sopenharmony_ci			source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
2628c2ecf20Sopenharmony_ci			sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
2638c2ecf20Sopenharmony_ci				     PDO_VAR(5000, 20000, 3000)>;
2648c2ecf20Sopenharmony_ci			op-sink-microwatt = <15000000>;
2658c2ecf20Sopenharmony_ci			self-powered;
2668c2ecf20Sopenharmony_ci		};
2678c2ecf20Sopenharmony_ci	};
2688c2ecf20Sopenharmony_ci};
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ci&i2c3 {
2718c2ecf20Sopenharmony_ci	clock-frequency = <400000>;
2728c2ecf20Sopenharmony_ci	pinctrl-names = "default";
2738c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_i2c3>;
2748c2ecf20Sopenharmony_ci	status = "okay";
2758c2ecf20Sopenharmony_ci
2768c2ecf20Sopenharmony_ci	pca6416: gpio@20 {
2778c2ecf20Sopenharmony_ci		compatible = "ti,tca6416";
2788c2ecf20Sopenharmony_ci		reg = <0x20>;
2798c2ecf20Sopenharmony_ci		gpio-controller;
2808c2ecf20Sopenharmony_ci		#gpio-cells = <2>;
2818c2ecf20Sopenharmony_ci	};
2828c2ecf20Sopenharmony_ci};
2838c2ecf20Sopenharmony_ci
2848c2ecf20Sopenharmony_ci&sai3 {
2858c2ecf20Sopenharmony_ci	pinctrl-names = "default";
2868c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_sai3>;
2878c2ecf20Sopenharmony_ci	assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
2888c2ecf20Sopenharmony_ci	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
2898c2ecf20Sopenharmony_ci	assigned-clock-rates = <24576000>;
2908c2ecf20Sopenharmony_ci	status = "okay";
2918c2ecf20Sopenharmony_ci};
2928c2ecf20Sopenharmony_ci
2938c2ecf20Sopenharmony_ci&snvs_pwrkey {
2948c2ecf20Sopenharmony_ci	status = "okay";
2958c2ecf20Sopenharmony_ci};
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci&uart2 { /* console */
2988c2ecf20Sopenharmony_ci	pinctrl-names = "default";
2998c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_uart2>;
3008c2ecf20Sopenharmony_ci	status = "okay";
3018c2ecf20Sopenharmony_ci};
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ci&usbotg1 {
3048c2ecf20Sopenharmony_ci	dr_mode = "otg";
3058c2ecf20Sopenharmony_ci	hnp-disable;
3068c2ecf20Sopenharmony_ci	srp-disable;
3078c2ecf20Sopenharmony_ci	adp-disable;
3088c2ecf20Sopenharmony_ci	usb-role-switch;
3098c2ecf20Sopenharmony_ci	samsung,picophy-pre-emp-curr-control = <3>;
3108c2ecf20Sopenharmony_ci	samsung,picophy-dc-vol-level-adjust = <7>;
3118c2ecf20Sopenharmony_ci	status = "okay";
3128c2ecf20Sopenharmony_ci
3138c2ecf20Sopenharmony_ci	port {
3148c2ecf20Sopenharmony_ci		usb1_drd_sw: endpoint {
3158c2ecf20Sopenharmony_ci			remote-endpoint = <&typec1_dr_sw>;
3168c2ecf20Sopenharmony_ci		};
3178c2ecf20Sopenharmony_ci	};
3188c2ecf20Sopenharmony_ci};
3198c2ecf20Sopenharmony_ci
3208c2ecf20Sopenharmony_ci&usdhc2 {
3218c2ecf20Sopenharmony_ci	assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
3228c2ecf20Sopenharmony_ci	assigned-clock-rates = <200000000>;
3238c2ecf20Sopenharmony_ci	pinctrl-names = "default", "state_100mhz", "state_200mhz";
3248c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
3258c2ecf20Sopenharmony_ci	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
3268c2ecf20Sopenharmony_ci	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
3278c2ecf20Sopenharmony_ci	cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
3288c2ecf20Sopenharmony_ci	bus-width = <4>;
3298c2ecf20Sopenharmony_ci	vmmc-supply = <&reg_usdhc2_vmmc>;
3308c2ecf20Sopenharmony_ci	status = "okay";
3318c2ecf20Sopenharmony_ci};
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ci&wdog1 {
3348c2ecf20Sopenharmony_ci	pinctrl-names = "default";
3358c2ecf20Sopenharmony_ci	pinctrl-0 = <&pinctrl_wdog>;
3368c2ecf20Sopenharmony_ci	fsl,ext-reset-output;
3378c2ecf20Sopenharmony_ci	status = "okay";
3388c2ecf20Sopenharmony_ci};
3398c2ecf20Sopenharmony_ci
3408c2ecf20Sopenharmony_ci&iomuxc {
3418c2ecf20Sopenharmony_ci	pinctrl_fec1: fec1grp {
3428c2ecf20Sopenharmony_ci		fsl,pins = <
3438c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_MDC_ENET1_MDC			0x3
3448c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3
3458c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f
3468c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f
3478c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f
3488c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f
3498c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91
3508c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91
3518c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91
3528c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91
3538c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f
3548c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91
3558c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
3568c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
3578c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SAI2_RXC_GPIO4_IO22		0x19
3588c2ecf20Sopenharmony_ci		>;
3598c2ecf20Sopenharmony_ci	};
3608c2ecf20Sopenharmony_ci
3618c2ecf20Sopenharmony_ci	pinctrl_gpio_led: gpioledgrp {
3628c2ecf20Sopenharmony_ci		fsl,pins = <
3638c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16	0x19
3648c2ecf20Sopenharmony_ci		>;
3658c2ecf20Sopenharmony_ci	};
3668c2ecf20Sopenharmony_ci
3678c2ecf20Sopenharmony_ci	pinctrl_gpio_wlf: gpiowlfgrp {
3688c2ecf20Sopenharmony_ci		fsl,pins = <
3698c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21	0xd6
3708c2ecf20Sopenharmony_ci		>;
3718c2ecf20Sopenharmony_ci	};
3728c2ecf20Sopenharmony_ci
3738c2ecf20Sopenharmony_ci	pinctrl_i2c1: i2c1grp {
3748c2ecf20Sopenharmony_ci		fsl,pins = <
3758c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL			0x400001c3
3768c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA			0x400001c3
3778c2ecf20Sopenharmony_ci		>;
3788c2ecf20Sopenharmony_ci	};
3798c2ecf20Sopenharmony_ci
3808c2ecf20Sopenharmony_ci	pinctrl_i2c2: i2c2grp {
3818c2ecf20Sopenharmony_ci		fsl,pins = <
3828c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL			0x400001c3
3838c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA			0x400001c3
3848c2ecf20Sopenharmony_ci		>;
3858c2ecf20Sopenharmony_ci	};
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ci	pinctrl_i2c3: i2c3grp {
3888c2ecf20Sopenharmony_ci		fsl,pins = <
3898c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL			0x400001c3
3908c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA			0x400001c3
3918c2ecf20Sopenharmony_ci		>;
3928c2ecf20Sopenharmony_ci	};
3938c2ecf20Sopenharmony_ci
3948c2ecf20Sopenharmony_ci	pinctrl_pmic: pmicirqgrp {
3958c2ecf20Sopenharmony_ci		fsl,pins = <
3968c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x141
3978c2ecf20Sopenharmony_ci		>;
3988c2ecf20Sopenharmony_ci	};
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ci	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
4018c2ecf20Sopenharmony_ci		fsl,pins = <
4028c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x41
4038c2ecf20Sopenharmony_ci		>;
4048c2ecf20Sopenharmony_ci	};
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ci	pinctrl_sai3: sai3grp {
4078c2ecf20Sopenharmony_ci		fsl,pins = <
4088c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC     0xd6
4098c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SAI3_TXC_SAI3_TX_BCLK      0xd6
4108c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SAI3_MCLK_SAI3_MCLK        0xd6
4118c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SAI3_TXD_SAI3_TX_DATA0     0xd6
4128c2ecf20Sopenharmony_ci		>;
4138c2ecf20Sopenharmony_ci	};
4148c2ecf20Sopenharmony_ci
4158c2ecf20Sopenharmony_ci	pinctrl_typec1: typec1grp {
4168c2ecf20Sopenharmony_ci		fsl,pins = <
4178c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11	0x159
4188c2ecf20Sopenharmony_ci		>;
4198c2ecf20Sopenharmony_ci	};
4208c2ecf20Sopenharmony_ci
4218c2ecf20Sopenharmony_ci	pinctrl_uart2: uart2grp {
4228c2ecf20Sopenharmony_ci		fsl,pins = <
4238c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX	0x140
4248c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX	0x140
4258c2ecf20Sopenharmony_ci		>;
4268c2ecf20Sopenharmony_ci	};
4278c2ecf20Sopenharmony_ci
4288c2ecf20Sopenharmony_ci	pinctrl_usdhc2_gpio: usdhc2grpgpiogrp {
4298c2ecf20Sopenharmony_ci		fsl,pins = <
4308c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15	0x1c4
4318c2ecf20Sopenharmony_ci		>;
4328c2ecf20Sopenharmony_ci	};
4338c2ecf20Sopenharmony_ci
4348c2ecf20Sopenharmony_ci	pinctrl_usdhc2: usdhc2grp {
4358c2ecf20Sopenharmony_ci		fsl,pins = <
4368c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x190
4378c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d0
4388c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d0
4398c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d0
4408c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d0
4418c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d0
4428c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
4438c2ecf20Sopenharmony_ci		>;
4448c2ecf20Sopenharmony_ci	};
4458c2ecf20Sopenharmony_ci
4468c2ecf20Sopenharmony_ci	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
4478c2ecf20Sopenharmony_ci		fsl,pins = <
4488c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x194
4498c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d4
4508c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d4
4518c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d4
4528c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d4
4538c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d4
4548c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
4558c2ecf20Sopenharmony_ci		>;
4568c2ecf20Sopenharmony_ci	};
4578c2ecf20Sopenharmony_ci
4588c2ecf20Sopenharmony_ci	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
4598c2ecf20Sopenharmony_ci		fsl,pins = <
4608c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x196
4618c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d6
4628c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d6
4638c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d6
4648c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d6
4658c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d6
4668c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
4678c2ecf20Sopenharmony_ci		>;
4688c2ecf20Sopenharmony_ci	};
4698c2ecf20Sopenharmony_ci
4708c2ecf20Sopenharmony_ci	pinctrl_wdog: wdoggrp {
4718c2ecf20Sopenharmony_ci		fsl,pins = <
4728c2ecf20Sopenharmony_ci			MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B	0xc6
4738c2ecf20Sopenharmony_ci		>;
4748c2ecf20Sopenharmony_ci	};
4758c2ecf20Sopenharmony_ci};
476