1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright 2013 Sascha Hauer, Pengutronix
4 * Copyright 2013-2017 Markus Niebel <Markus.Niebel@tq-group.com>
5 */
6
7#include <dt-bindings/gpio/gpio.h>
8
9&fec {
10	/delete-property/ interrupts;
11	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
12			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
13	fsl,err006687-workaround-present;
14};
15
16&i2c1 {
17	pinctrl-names = "default", "gpio";
18	pinctrl-0 = <&pinctrl_i2c1>;
19	pinctrl-1 = <&pinctrl_i2c1_recovery>;
20	scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
21	sda-gpios = <&gpio5 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
22	clock-frequency = <100000>;
23	status = "okay";
24
25	pmic: pmic@8 {
26		compatible = "fsl,pfuze100";
27		reg = <0x08>;
28	};
29
30	sensor@48 {
31		compatible = "national,lm75";
32		reg = <0x48>;
33		vs-supply = <&reg_3p3v>;
34	};
35
36	eeprom@50 {
37		compatible = "st,24c64", "atmel,24c64";
38		reg = <0x50>;
39		pagesize = <32>;
40		vcc-supply = <&reg_3p3v>;
41	};
42};
43
44&iomuxc {
45	/*
46	 * This pinmuxing is required for the ERR006687 workaround. Board
47	 * DTS files that enable the FEC controller with
48	 * fsl,err006687-workaround-present must include this group.
49	 */
50	pinctrl_enet_fix: enetfixgrp {
51		fsl,pins = <
52			/* ENET ping patch */
53			MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
54		>;
55	};
56};
57