xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/mxs/imx28-xea.dts (revision 397e83df75e0fcd0d3fcb95ae4d794cb7600fc89)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2021
4 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
5 */
6
7/dts-v1/;
8#include "imx28-lwe.dtsi"
9
10/ {
11	model = "Liebherr XEA board";
12	compatible = "lwn,imx28-xea", "fsl,imx28";
13};
14
15&can0 {
16	pinctrl-names = "default";
17	pinctrl-0 = <&can1_pins_a>;
18	status = "okay";
19};
20
21&i2c1 {
22	pinctrl-names = "default";
23	pinctrl-0 = <&i2c1_pins_b>;
24	status = "okay";
25};
26
27&pinctrl {
28	pinctrl-names = "default";
29	pinctrl-0 = <&hog_pins_a &hog_pins_tiva>;
30
31	hog_pins_a: hog@0 {
32		reg = <0>;
33		fsl,pinmux-ids = <
34			MX28_PAD_GPMI_D00__GPIO_0_0
35			MX28_PAD_GPMI_D02__GPIO_0_2
36			MX28_PAD_GPMI_D05__GPIO_0_5
37			MX28_PAD_GPMI_CE1N__GPIO_0_17
38			MX28_PAD_GPMI_RDY0__GPIO_0_20
39			MX28_PAD_GPMI_RDY1__GPIO_0_21
40			MX28_PAD_GPMI_RDY2__GPIO_0_22
41			MX28_PAD_GPMI_RDN__GPIO_0_24
42			MX28_PAD_GPMI_CLE__GPIO_0_27
43			MX28_PAD_LCD_VSYNC__GPIO_1_28
44			MX28_PAD_SSP1_SCK__GPIO_2_12
45			MX28_PAD_SSP1_CMD__GPIO_2_13
46			MX28_PAD_SSP2_SS1__GPIO_2_20
47			MX28_PAD_SSP2_SS2__GPIO_2_21
48			MX28_PAD_LCD_D00__GPIO_1_0
49			MX28_PAD_LCD_D01__GPIO_1_1
50			MX28_PAD_LCD_D02__GPIO_1_2
51			MX28_PAD_LCD_D03__GPIO_1_3
52			MX28_PAD_LCD_D04__GPIO_1_4
53			MX28_PAD_LCD_D05__GPIO_1_5
54			MX28_PAD_LCD_D06__GPIO_1_6
55		>;
56		fsl,drive-strength = <MXS_DRIVE_4mA>;
57		fsl,voltage = <MXS_VOLTAGE_HIGH>;
58		fsl,pull-up = <MXS_PULL_DISABLE>;
59	};
60
61	hog_pins_tiva: hog@1 {
62		reg = <1>;
63		fsl,pinmux-ids = <
64			MX28_PAD_GPMI_RDY3__GPIO_0_23
65			MX28_PAD_GPMI_WRN__GPIO_0_25
66		>;
67		fsl,voltage = <MXS_VOLTAGE_HIGH>;
68		fsl,pull-up = <MXS_PULL_DISABLE>;
69	};
70
71	hog_pins_coding: hog@2 {
72		reg = <2>;
73		fsl,pinmux-ids = <
74			MX28_PAD_GPMI_D01__GPIO_0_1
75			MX28_PAD_GPMI_D03__GPIO_0_3
76			MX28_PAD_GPMI_D04__GPIO_0_4
77			MX28_PAD_GPMI_D06__GPIO_0_6
78			MX28_PAD_GPMI_D07__GPIO_0_7
79		>;
80		fsl,voltage = <MXS_VOLTAGE_HIGH>;
81		fsl,pull-up = <MXS_PULL_DISABLE>;
82	};
83};
84
85&reg_fec_3v3 {
86	gpio = <&gpio0 0 0>;
87};
88
89&reg_usb_5v {
90	gpio = <&gpio0 2 0>;
91};
92
93&spi2_pins_a {
94	fsl,pinmux-ids = <
95		MX28_PAD_SSP2_SCK__SSP2_SCK
96		MX28_PAD_SSP2_MOSI__SSP2_CMD
97		MX28_PAD_SSP2_MISO__SSP2_D0
98		MX28_PAD_SSP2_SS0__GPIO_2_19
99	>;
100};
101