xref: /linux/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul-common.dtsi (revision a9c741d8e97c174b6ddd535d0c429333d477082e)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2018-2022 TQ-Systems GmbH
4724ba675SRob Herring * Author: Markus Niebel <Markus.Niebel@tq-group.com>
5724ba675SRob Herring */
6724ba675SRob Herring
7724ba675SRob Herring/*
8724ba675SRob Herring * Common for
9724ba675SRob Herring * - TQMa6ULx
10724ba675SRob Herring * - TQMa6ULxL
11724ba675SRob Herring * - TQMa6ULLx
12724ba675SRob Herring * - TQMa6ULLxL
13724ba675SRob Herring */
14724ba675SRob Herring
15724ba675SRob Herring/ {
16724ba675SRob Herring	memory@80000000 {
17724ba675SRob Herring		device_type = "memory";
18724ba675SRob Herring		reg = <0x80000000 0x10000000>;
19724ba675SRob Herring	};
20724ba675SRob Herring};
21724ba675SRob Herring
22724ba675SRob Herring&i2c4 {
23724ba675SRob Herring	clock-frequency = <100000>;
24724ba675SRob Herring	pinctrl-names = "default", "gpio";
25724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c4>;
26724ba675SRob Herring	pinctrl-1 = <&pinctrl_i2c4_recovery>;
27724ba675SRob Herring	scl-gpios = <&gpio1 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
28724ba675SRob Herring	sda-gpios = <&gpio1 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
29724ba675SRob Herring	status = "okay";
30724ba675SRob Herring
31724ba675SRob Herring	pfuze3000: pmic@8 {
32724ba675SRob Herring		compatible = "fsl,pfuze3000";
33724ba675SRob Herring		reg = <0x08>;
34724ba675SRob Herring
35724ba675SRob Herring		regulators {
36724ba675SRob Herring			reg_sw1a: sw1a {
37724ba675SRob Herring				regulator-min-microvolt = <700000>;
38724ba675SRob Herring				regulator-max-microvolt = <3300000>;
39724ba675SRob Herring				regulator-boot-on;
40724ba675SRob Herring				regulator-ramp-delay = <6250>;
41724ba675SRob Herring				/* not used */
42724ba675SRob Herring			};
43724ba675SRob Herring
44724ba675SRob Herring			reg_sw1b_core: sw1b {
45724ba675SRob Herring				regulator-min-microvolt = <700000>;
46724ba675SRob Herring				regulator-max-microvolt = <1475000>;
47724ba675SRob Herring				regulator-boot-on;
48724ba675SRob Herring				regulator-always-on;
49724ba675SRob Herring				regulator-ramp-delay = <6250>;
50724ba675SRob Herring			};
51724ba675SRob Herring
52724ba675SRob Herring			reg_sw2: sw2 {
53724ba675SRob Herring				regulator-min-microvolt = <2500000>;
54724ba675SRob Herring				regulator-max-microvolt = <3300000>;
55724ba675SRob Herring			};
56724ba675SRob Herring
57724ba675SRob Herring			reg_sw3_ddr: sw3 {
58724ba675SRob Herring				regulator-min-microvolt = <900000>;
59724ba675SRob Herring				regulator-max-microvolt = <1650000>;
60724ba675SRob Herring				regulator-boot-on;
61724ba675SRob Herring				regulator-always-on;
62724ba675SRob Herring			};
63724ba675SRob Herring
64724ba675SRob Herring			reg_swbst: swbst {
65724ba675SRob Herring				regulator-min-microvolt = <5000000>;
66724ba675SRob Herring				regulator-max-microvolt = <5150000>;
67724ba675SRob Herring				/* not used */
68724ba675SRob Herring			};
69724ba675SRob Herring
70724ba675SRob Herring			reg_snvs_3v0: vsnvs {
71724ba675SRob Herring				regulator-min-microvolt = <1000000>;
72724ba675SRob Herring				regulator-max-microvolt = <3000000>;
73724ba675SRob Herring				regulator-boot-on;
74724ba675SRob Herring				regulator-always-on;
75724ba675SRob Herring			};
76724ba675SRob Herring
77724ba675SRob Herring			reg_vrefddr: vrefddr {
78724ba675SRob Herring				regulator-boot-on;
79724ba675SRob Herring				regulator-always-on;
80724ba675SRob Herring			};
81724ba675SRob Herring
82724ba675SRob Herring			reg_vccsd: vccsd {
83724ba675SRob Herring				regulator-min-microvolt = <2850000>;
84724ba675SRob Herring				regulator-max-microvolt = <3300000>;
85724ba675SRob Herring			};
86724ba675SRob Herring
87724ba675SRob Herring			reg_v33_3v3: v33 {
88724ba675SRob Herring				regulator-min-microvolt = <2850000>;
89724ba675SRob Herring				regulator-max-microvolt = <3300000>;
90724ba675SRob Herring				regulator-always-on;
91724ba675SRob Herring			};
92724ba675SRob Herring
93724ba675SRob Herring			reg_vldo1_3v3: vldo1 {
94724ba675SRob Herring				regulator-min-microvolt = <1800000>;
95724ba675SRob Herring				regulator-max-microvolt = <3300000>;
96724ba675SRob Herring				/* not used */
97724ba675SRob Herring			};
98724ba675SRob Herring
99724ba675SRob Herring			reg_vldo2: vldo2 {
100724ba675SRob Herring				regulator-min-microvolt = <800000>;
101724ba675SRob Herring				regulator-max-microvolt = <1550000>;
102724ba675SRob Herring				/* not used */
103724ba675SRob Herring			};
104724ba675SRob Herring
105724ba675SRob Herring			reg_vldo3: vldo3 {
106724ba675SRob Herring				regulator-min-microvolt = <1800000>;
107724ba675SRob Herring				regulator-max-microvolt = <3300000>;
108724ba675SRob Herring				/* not used */
109724ba675SRob Herring			};
110724ba675SRob Herring
111724ba675SRob Herring			reg_vldo4: vldo4 {
112724ba675SRob Herring				regulator-min-microvolt = <1800000>;
113724ba675SRob Herring				regulator-max-microvolt = <1800000>;
114724ba675SRob Herring				regulator-always-on;
115724ba675SRob Herring			};
116724ba675SRob Herring		};
117724ba675SRob Herring	};
118724ba675SRob Herring
119724ba675SRob Herring	jc42_1a: eeprom-temperature@1a {
120724ba675SRob Herring		compatible = "nxp,se97b", "jedec,jc-42.4-temp";
121724ba675SRob Herring		reg = <0x1a>;
122724ba675SRob Herring	};
123724ba675SRob Herring
124724ba675SRob Herring	m24c64_50: eeprom@50 {
125724ba675SRob Herring		compatible = "atmel,24c64";
126724ba675SRob Herring		reg = <0x50>;
127724ba675SRob Herring		pagesize = <32>;
128724ba675SRob Herring	};
129724ba675SRob Herring
130724ba675SRob Herring	m24c02_52: eeprom@52 {
131724ba675SRob Herring		compatible = "nxp,se97b", "atmel,24c02";
132724ba675SRob Herring		reg = <0x52>;
133724ba675SRob Herring		pagesize = <16>;
134724ba675SRob Herring		read-only;
135724ba675SRob Herring	};
136724ba675SRob Herring
137724ba675SRob Herring	rtc0: rtc@68 {
138724ba675SRob Herring		compatible = "dallas,ds1339";
139724ba675SRob Herring		reg = <0x68>;
140724ba675SRob Herring	};
141724ba675SRob Herring};
142724ba675SRob Herring
143724ba675SRob Herring&gpio4 {
144724ba675SRob Herring	pinctrl-names = "default";
145724ba675SRob Herring	pinctrl-0 = <&pinctrl_pmic>;
146724ba675SRob Herring
147724ba675SRob Herring	/*
148724ba675SRob Herring	 * PMIC & temperature sensor IRQ
149724ba675SRob Herring	 * Both do currently not use IRQ
150724ba675SRob Herring	 * potentially dangerous if used on baseboard
151724ba675SRob Herring	 */
152724ba675SRob Herring	pmic-int-hog {
153724ba675SRob Herring		gpio-hog;
154724ba675SRob Herring		gpios = <24 0>;
155724ba675SRob Herring		input;
156724ba675SRob Herring	};
157724ba675SRob Herring};
158724ba675SRob Herring
159724ba675SRob Herring&qspi {
160724ba675SRob Herring	pinctrl-names = "default";
161724ba675SRob Herring	pinctrl-0 = <&pinctrl_qspi>;
162724ba675SRob Herring	status = "okay";
163724ba675SRob Herring
164724ba675SRob Herring	flash0: flash@0 {
165724ba675SRob Herring		#address-cells = <1>;
166724ba675SRob Herring		#size-cells = <1>;
167724ba675SRob Herring		compatible = "jedec,spi-nor";
168724ba675SRob Herring		spi-max-frequency = <33000000>;
169724ba675SRob Herring		spi-rx-bus-width = <4>;
170724ba675SRob Herring		spi-tx-bus-width = <1>;
171724ba675SRob Herring		reg = <0>;
172724ba675SRob Herring	};
173724ba675SRob Herring};
174724ba675SRob Herring
175724ba675SRob Herring/* eMMC */
176724ba675SRob Herring&usdhc2 {
177724ba675SRob Herring	pinctrl-names = "default", "state_100mhz" , "state_200mhz";
178724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc2>;
179724ba675SRob Herring	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
180724ba675SRob Herring	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
181724ba675SRob Herring
182724ba675SRob Herring	bus-width = <8>;
183724ba675SRob Herring	disable-wp;
184724ba675SRob Herring	non-removable;
185724ba675SRob Herring	no-sdio;
186724ba675SRob Herring	no-sd;
187724ba675SRob Herring	status = "okay";
188724ba675SRob Herring};
189724ba675SRob Herring
190724ba675SRob Herring&iomuxc {
191724ba675SRob Herring	pinctrl_i2c4: i2c4grp {
192724ba675SRob Herring		fsl,pins = <
193724ba675SRob Herring			MX6UL_PAD_UART2_TX_DATA__I2C4_SCL	0x4001b8b0
194724ba675SRob Herring			MX6UL_PAD_UART2_RX_DATA__I2C4_SDA	0x4001b8b0
195724ba675SRob Herring		>;
196724ba675SRob Herring	};
197724ba675SRob Herring
198724ba675SRob Herring	pinctrl_i2c4_recovery: i2c4recoverygrp {
199724ba675SRob Herring		fsl,pins = <
200724ba675SRob Herring			MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20	0x4001b8b0
201724ba675SRob Herring			MX6UL_PAD_UART2_RX_DATA__GPIO1_IO21	0x4001b8b0
202724ba675SRob Herring		>;
203724ba675SRob Herring	};
204724ba675SRob Herring
205*a9c741d8SKrzysztof Kozlowski	pinctrl_pmic: pmicgrp {
206724ba675SRob Herring		fsl,pins = <
207724ba675SRob Herring			/* PMIC irq */
208724ba675SRob Herring			MX6UL_PAD_CSI_DATA03__GPIO4_IO24	0x1b099
209724ba675SRob Herring		>;
210724ba675SRob Herring	};
211724ba675SRob Herring};
212