xref: /linux/arch/arm/boot/dts/nxp/imx/imx53-m53.dtsi (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2014 Marek Vasut <marex@denx.de>
4 */
5
6#include "imx53.dtsi"
7
8/ {
9	model = "Aries/DENX M53";
10	compatible = "aries,imx53-m53", "denx,imx53-m53", "fsl,imx53";
11
12	memory@70000000 {
13		device_type = "memory";
14		reg = <0x70000000 0x20000000>,
15		      <0xb0000000 0x20000000>;
16	};
17
18	reg_3p2v: regulator-3p2v {
19		compatible = "regulator-fixed";
20		regulator-name = "3P2V";
21		regulator-min-microvolt = <3200000>;
22		regulator-max-microvolt = <3200000>;
23		regulator-always-on;
24	};
25
26	reg_backlight: regulator-backlight {
27		compatible = "regulator-fixed";
28		regulator-name = "lcd-supply";
29		regulator-min-microvolt = <3200000>;
30		regulator-max-microvolt = <3200000>;
31		regulator-always-on;
32	};
33};
34
35&i2c2 {
36	pinctrl-names = "default";
37	pinctrl-0 = <&pinctrl_i2c2>;
38	clock-frequency = <400000>;
39	status = "okay";
40
41	touchscreen@41 {
42		compatible = "st,stmpe610";
43		reg = <0x41>;
44		id = <0>;
45		blocks = <0x5>;
46		interrupts = <6 0x0>;
47		interrupt-parent = <&gpio7>;
48		irq-trigger = <0x1>;
49
50		stmpe_touchscreen {
51			compatible = "st,stmpe-ts";
52			st,sample-time = <4>;
53			st,mod-12b = <1>;
54			st,ref-sel = <0>;
55			st,adc-freq = <1>;
56			st,ave-ctrl = <3>;
57			st,touch-det-delay = <3>;
58			st,settling = <4>;
59			st,fraction-z = <7>;
60			st,i-drive = <1>;
61		};
62	};
63
64	eeprom: eeprom@50 {
65		compatible = "atmel,24c128";
66		reg = <0x50>;
67		pagesize = <32>;
68	};
69
70	rtc: rtc@68 {
71		compatible = "st,m41t62";
72		reg = <0x68>;
73	};
74};
75
76&iomuxc {
77	pinctrl-names = "default";
78	pinctrl-0 = <&pinctrl_hog>;
79
80	pinctrl_hog: hoggrp {
81		fsl,pins = <
82			MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK	0x80000000
83			MX53_PAD_EIM_EB3__GPIO2_31		0x80000000
84			MX53_PAD_PATA_DA_0__GPIO7_6		0x80000000
85		>;
86	};
87
88	pinctrl_i2c2: i2c2grp {
89		fsl,pins = <
90			MX53_PAD_EIM_D16__I2C2_SDA		0xc0000000
91			MX53_PAD_EIM_EB2__I2C2_SCL		0xc0000000
92		>;
93	};
94
95	pinctrl_nand: nandgrp {
96		fsl,pins = <
97			MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B	0x4
98			MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B	0x4
99			MX53_PAD_NANDF_CLE__EMI_NANDF_CLE	0x4
100			MX53_PAD_NANDF_ALE__EMI_NANDF_ALE	0x4
101			MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B	0xe0
102			MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0	0xe0
103			MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0	0x4
104			MX53_PAD_PATA_DATA0__EMI_NANDF_D_0	0xa4
105			MX53_PAD_PATA_DATA1__EMI_NANDF_D_1	0xa4
106			MX53_PAD_PATA_DATA2__EMI_NANDF_D_2	0xa4
107			MX53_PAD_PATA_DATA3__EMI_NANDF_D_3	0xa4
108			MX53_PAD_PATA_DATA4__EMI_NANDF_D_4	0xa4
109			MX53_PAD_PATA_DATA5__EMI_NANDF_D_5	0xa4
110			MX53_PAD_PATA_DATA6__EMI_NANDF_D_6	0xa4
111			MX53_PAD_PATA_DATA7__EMI_NANDF_D_7	0xa4
112		>;
113	};
114};
115
116&nfc {
117	pinctrl-names = "default";
118	pinctrl-0 = <&pinctrl_nand>;
119	nand-bus-width = <8>;
120	nand-ecc-mode = "hw";
121	status = "okay";
122};
123