| 1 |
// SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
/* |
| 3 |
* Copyright 2013 Sascha Hauer, Pengutronix |
| 4 |
* Copyright 2013-2017 Markus Niebel <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
#include <dt-bindings/gpio/gpio.h> |
| 8 |
|
| 9 |
&i2c3 { |
| 10 |
pinctrl-names = "default", "gpio"; |
| 11 |
pinctrl-0 = <&pinctrl_i2c3>; |
| 12 |
pinctrl-1 = <&pinctrl_i2c3_recovery>; |
| 13 |
scl-gpios = <&gpio1 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 14 |
sda-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 15 |
clock-frequency = <100000>; |
| 16 |
status = "okay"; |
| 17 |
|
| 18 |
pmic: pmic@8 { |
| 19 |
compatible = "fsl,pfuze100"; |
| 20 |
reg = <0x08>; |
| 21 |
}; |
| 22 |
|
| 23 |
temperature-sensor@48 { |
| 24 |
compatible = "national,lm75a"; |
| 25 |
reg = <0x48>; |
| 26 |
vs-supply = <&sw4_reg>; |
| 27 |
}; |
| 28 |
|
| 29 |
eeprom@50 { |
| 30 |
compatible = "st,24c64", "atmel,24c64"; |
| 31 |
reg = <0x50>; |
| 32 |
pagesize = <32>; |
| 33 |
vcc-supply = <&sw4_reg>; |
| 34 |
}; |
| 35 |
}; |
| 36 |
|
| 37 |
&iomuxc { |
| 38 |
pinctrl_i2c3: i2c3grp { |
| 39 |
fsl,pins = < |
| 40 |
MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b899 |
| 41 |
MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b899 |
| 42 |
>; |
| 43 |
}; |
| 44 |
|
| 45 |
pinctrl_i2c3_recovery: i2c3recoverygrp { |
| 46 |
fsl,pins = < |
| 47 |
MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x4001b899 |
| 48 |
MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x4001b899 |
| 49 |
>; |
| 50 |
}; |
| 51 |
}; |