1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright 2013 Sascha Hauer, Pengutronix
4 *
5 * Copyright 2013-2021 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
7 */
8
9&fec {
10	pinctrl-names = "default";
11	pinctrl-0 = <&pinctrl_enet>;
12};
13
14&i2c1 {
15	clock-frequency = <100000>;
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	status = "okay";
22};
23
24&i2c3 {
25	lm75: temperature-sensor@49 {
26		compatible = "national,lm75";
27		reg = <0x49>;
28		vs-supply = <&reg_mba6_3p3v>;
29	};
30
31	m24c64_57: eeprom@57 {
32		compatible = "atmel,24c64";
33		reg = <0x57>;
34		pagesize = <32>;
35		#address-cells = <1>;
36		#size-cells = <1>;
37		vcc-supply = <&reg_mba6_3p3v>;
38
39		mba_mac_address: mac-address@20 {
40			reg = <0x20 0x6>;
41		};
42	};
43
44	rtc0: rtc@68 {
45		compatible = "dallas,ds1339";
46		reg = <0x68>;
47	};
48};
49
50&iomuxc {
51	pinctrl_i2c1: i2c1grp {
52		fsl,pins = <
53			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b899
54			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b899
55		>;
56	};
57};
58