~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 0d7be456729162eeaab4f1bd1c924e87f2e9af23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2013 Sascha Hauer, Pengutronix
 *
 * Copyright 2013-2021 TQ-Systems GmbH
 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
 */

&ecspi5 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_ecspi5_mba6x>;
	cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
};

&ethphy {
	rxdv-skew-ps = <180>;
	txen-skew-ps = <120>;
	rxd3-skew-ps = <180>;
	rxd2-skew-ps = <180>;
	rxd1-skew-ps = <180>;
	rxd0-skew-ps = <180>;
	txd3-skew-ps = <120>;
	txd2-skew-ps = <0>;
	txd1-skew-ps = <180>;
	txd0-skew-ps = <360>;
	txc-skew-ps = <1860>;
	rxc-skew-ps = <1860>;
};

&sata {
	status = "okay";
};

&iomuxc {
	pinctrl_ecspi5_mba6x: ecspi5grp-mba6x {
		fsl,pins = <
			/* HYS, SPEED = MED, 100k up, DSE = 011, SRE_FAST */
			MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x1b099
			MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0xb099
			MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0xb099
			MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0xb099 /* eCSPI5 SS0 */
		>;
	};
};