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