xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-tqma6a.dtsi (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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	};
34
35	eeprom@50 {
36		compatible = "st,24c64", "atmel,24c64";
37		reg = <0x50>;
38		pagesize = <32>;
39		vcc-supply = <&reg_3p3v>;
40	};
41};
42
43&iomuxc {
44	/*
45	 * This pinmuxing is required for the ERR006687 workaround. Board
46	 * DTS files that enable the FEC controller with
47	 * fsl,err006687-workaround-present must include this group.
48	 */
49	pinctrl_enet_fix: enetfixgrp {
50		fsl,pins = <
51			/* ENET ping patch */
52			MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
53		>;
54	};
55};
56