xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx51-eukrea-cpuimx51.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include "imx51.dtsi"
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	model = "Eukrea CPUIMX51";
10*f126890aSEmmanuel Vadot	compatible = "eukrea,cpuimx51", "fsl,imx51";
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot	memory@90000000 {
13*f126890aSEmmanuel Vadot		device_type = "memory";
14*f126890aSEmmanuel Vadot		reg = <0x90000000 0x10000000>; /* 256M */
15*f126890aSEmmanuel Vadot	};
16*f126890aSEmmanuel Vadot};
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot&fec {
19*f126890aSEmmanuel Vadot	pinctrl-names = "default";
20*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_fec>;
21*f126890aSEmmanuel Vadot	status = "okay";
22*f126890aSEmmanuel Vadot};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot&i2c1 {
25*f126890aSEmmanuel Vadot	pinctrl-names = "default";
26*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
27*f126890aSEmmanuel Vadot	status = "okay";
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	pcf8563@51 {
30*f126890aSEmmanuel Vadot		compatible = "nxp,pcf8563";
31*f126890aSEmmanuel Vadot		reg = <0x51>;
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot	tsc2007: tsc2007@49 {
35*f126890aSEmmanuel Vadot		compatible = "ti,tsc2007";
36*f126890aSEmmanuel Vadot		gpios = <&gpio4 0 1>;
37*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio4>;
38*f126890aSEmmanuel Vadot		interrupts = <0x0 0x8>;
39*f126890aSEmmanuel Vadot		pinctrl-names = "default";
40*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_tsc2007_1>;
41*f126890aSEmmanuel Vadot		reg = <0x49>;
42*f126890aSEmmanuel Vadot		ti,x-plate-ohms = <180>;
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot&iomuxc {
47*f126890aSEmmanuel Vadot	imx51-eukrea {
48*f126890aSEmmanuel Vadot		pinctrl_tsc2007_1: tsc2007grp-1 {
49*f126890aSEmmanuel Vadot			fsl,pins = <
50*f126890aSEmmanuel Vadot				MX51_PAD_GPIO_NAND__GPIO_NAND 0x1f5
51*f126890aSEmmanuel Vadot				MX51_PAD_NANDF_D8__GPIO4_0 0x1f5
52*f126890aSEmmanuel Vadot			>;
53*f126890aSEmmanuel Vadot		};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot		pinctrl_fec: fecgrp {
56*f126890aSEmmanuel Vadot			fsl,pins = <
57*f126890aSEmmanuel Vadot				MX51_PAD_DI_GP3__FEC_TX_ER		0x80000000
58*f126890aSEmmanuel Vadot				MX51_PAD_DI2_PIN4__FEC_CRS		0x80000000
59*f126890aSEmmanuel Vadot				MX51_PAD_DI2_PIN2__FEC_MDC		0x80000000
60*f126890aSEmmanuel Vadot				MX51_PAD_DI2_PIN3__FEC_MDIO		0x80000000
61*f126890aSEmmanuel Vadot				MX51_PAD_DI2_DISP_CLK__FEC_RDATA1	0x80000000
62*f126890aSEmmanuel Vadot				MX51_PAD_DI_GP4__FEC_RDATA2		0x80000000
63*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT0__FEC_RDATA3		0x80000000
64*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT1__FEC_RX_ER		0x80000000
65*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT6__FEC_TDATA1		0x80000000
66*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT7__FEC_TDATA2		0x80000000
67*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT8__FEC_TDATA3		0x80000000
68*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT9__FEC_TX_EN		0x80000000
69*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT10__FEC_COL		0x80000000
70*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT11__FEC_RX_CLK	0x80000000
71*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT12__FEC_RX_DV		0x80000000
72*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT13__FEC_TX_CLK	0x80000000
73*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT14__FEC_RDATA0	0x80000000
74*f126890aSEmmanuel Vadot				MX51_PAD_DISP2_DAT15__FEC_TDATA0	0x80000000
75*f126890aSEmmanuel Vadot			>;
76*f126890aSEmmanuel Vadot		};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot		pinctrl_i2c1: i2c1grp {
79*f126890aSEmmanuel Vadot			fsl,pins = <
80*f126890aSEmmanuel Vadot				MX51_PAD_SD2_CMD__I2C1_SCL		0x400001ed
81*f126890aSEmmanuel Vadot				MX51_PAD_SD2_CLK__I2C1_SDA		0x400001ed
82*f126890aSEmmanuel Vadot			>;
83*f126890aSEmmanuel Vadot		};
84*f126890aSEmmanuel Vadot	};
85*f126890aSEmmanuel Vadot};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot&nfc {
88*f126890aSEmmanuel Vadot	nand-bus-width = <8>;
89*f126890aSEmmanuel Vadot	nand-ecc-mode = "hw";
90*f126890aSEmmanuel Vadot	nand-on-flash-bbt;
91*f126890aSEmmanuel Vadot	status = "okay";
92*f126890aSEmmanuel Vadot};
93