xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6q-mba6.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2013 Sascha Hauer, Pengutronix
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright 2013-2021 TQ-Systems GmbH
6*f126890aSEmmanuel Vadot * Author: Markus Niebel <Markus.Niebel@tq-group.com>
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot&ecspi5 {
10*f126890aSEmmanuel Vadot	pinctrl-names = "default";
11*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi5_mba6x>;
12*f126890aSEmmanuel Vadot	cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
13*f126890aSEmmanuel Vadot};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot&ethphy {
16*f126890aSEmmanuel Vadot	rxdv-skew-ps = <180>;
17*f126890aSEmmanuel Vadot	txen-skew-ps = <120>;
18*f126890aSEmmanuel Vadot	rxd3-skew-ps = <180>;
19*f126890aSEmmanuel Vadot	rxd2-skew-ps = <180>;
20*f126890aSEmmanuel Vadot	rxd1-skew-ps = <180>;
21*f126890aSEmmanuel Vadot	rxd0-skew-ps = <180>;
22*f126890aSEmmanuel Vadot	txd3-skew-ps = <120>;
23*f126890aSEmmanuel Vadot	txd2-skew-ps = <0>;
24*f126890aSEmmanuel Vadot	txd1-skew-ps = <180>;
25*f126890aSEmmanuel Vadot	txd0-skew-ps = <360>;
26*f126890aSEmmanuel Vadot	txc-skew-ps = <1860>;
27*f126890aSEmmanuel Vadot	rxc-skew-ps = <1860>;
28*f126890aSEmmanuel Vadot};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot&sata {
31*f126890aSEmmanuel Vadot	status = "okay";
32*f126890aSEmmanuel Vadot};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot&iomuxc {
35*f126890aSEmmanuel Vadot	pinctrl_ecspi5_mba6x: ecspi5grp-mba6x {
36*f126890aSEmmanuel Vadot		fsl,pins = <
37*f126890aSEmmanuel Vadot			/* HYS, SPEED = MED, 100k up, DSE = 011, SRE_FAST */
38*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x1b099
39*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0xb099
40*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0xb099
41*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0xb099 /* eCSPI5 SS0 */
42*f126890aSEmmanuel Vadot		>;
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot};
45