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