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