GNU Linux-libre 5.19-rc6-gnu
[releases.git] / arch / arm / boot / dts / imx6qdl-tqma6a.dtsi
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         interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
11                               <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
12         fsl,err006687-workaround-present;
13 };
14
15 &i2c1 {
16         pinctrl-names = "default", "gpio";
17         pinctrl-0 = <&pinctrl_i2c1>;
18         pinctrl-1 = <&pinctrl_i2c1_recovery>;
19         scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
20         sda-gpios = <&gpio5 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
21         clock-frequency = <100000>;
22         status = "okay";
23
24         pmic: pmic@8 {
25                 compatible = "fsl,pfuze100";
26                 reg = <0x08>;
27         };
28
29         sensor@48 {
30                 compatible = "national,lm75";
31                 reg = <0x48>;
32         };
33
34         eeprom@50 {
35                 compatible = "st,24c64", "atmel,24c64";
36                 reg = <0x50>;
37                 pagesize = <32>;
38         };
39 };
40
41 &iomuxc {
42         /*
43          * This pinmuxing is required for the ERR006687 workaround. Board
44          * DTS files that enable the FEC controller with
45          * fsl,err006687-workaround-present must include this group.
46          */
47         pinctrl_enet_fix: enetfixgrp {
48                 fsl,pins = <
49                         /* ENET ping patch */
50                         MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
51                 >;
52         };
53 };