xref: /openbmc/linux/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts (revision 404e077a)
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	compatible = "lwn,imx28-xea", "fsl,imx28";
12};
13
14&can0 {
15	pinctrl-names = "default";
16	pinctrl-0 = <&can1_pins_a>;
17	status = "okay";
18};
19
20&i2c1 {
21	pinctrl-names = "default";
22	pinctrl-0 = <&i2c1_pins_b>;
23	status = "okay";
24};
25
26&pinctrl {
27	pinctrl-names = "default";
28	pinctrl-0 = <&hog_pins_a &hog_pins_tiva>;
29
30	hog_pins_a: hog@0 {
31		reg = <0>;
32		fsl,pinmux-ids = <
33			MX28_PAD_GPMI_D00__GPIO_0_0
34			MX28_PAD_GPMI_D02__GPIO_0_2
35			MX28_PAD_GPMI_D05__GPIO_0_5
36			MX28_PAD_GPMI_CE1N__GPIO_0_17
37			MX28_PAD_GPMI_RDY0__GPIO_0_20
38			MX28_PAD_GPMI_RDY1__GPIO_0_21
39			MX28_PAD_GPMI_RDY2__GPIO_0_22
40			MX28_PAD_GPMI_RDN__GPIO_0_24
41			MX28_PAD_GPMI_CLE__GPIO_0_27
42			MX28_PAD_LCD_VSYNC__GPIO_1_28
43			MX28_PAD_SSP1_SCK__GPIO_2_12
44			MX28_PAD_SSP1_CMD__GPIO_2_13
45			MX28_PAD_SSP2_SS1__GPIO_2_20
46			MX28_PAD_SSP2_SS2__GPIO_2_21
47			MX28_PAD_LCD_D00__GPIO_1_0
48			MX28_PAD_LCD_D01__GPIO_1_1
49			MX28_PAD_LCD_D02__GPIO_1_2
50			MX28_PAD_LCD_D03__GPIO_1_3
51			MX28_PAD_LCD_D04__GPIO_1_4
52			MX28_PAD_LCD_D05__GPIO_1_5
53			MX28_PAD_LCD_D06__GPIO_1_6
54		>;
55		fsl,drive-strength = <MXS_DRIVE_4mA>;
56		fsl,voltage = <MXS_VOLTAGE_HIGH>;
57		fsl,pull-up = <MXS_PULL_DISABLE>;
58	};
59
60	hog_pins_tiva: hog@1 {
61		reg = <1>;
62		fsl,pinmux-ids = <
63			MX28_PAD_GPMI_RDY3__GPIO_0_23
64			MX28_PAD_GPMI_WRN__GPIO_0_25
65		>;
66		fsl,voltage = <MXS_VOLTAGE_HIGH>;
67		fsl,pull-up = <MXS_PULL_DISABLE>;
68	};
69
70	hog_pins_coding: hog@2 {
71		reg = <2>;
72		fsl,pinmux-ids = <
73			MX28_PAD_GPMI_D01__GPIO_0_1
74			MX28_PAD_GPMI_D03__GPIO_0_3
75			MX28_PAD_GPMI_D04__GPIO_0_4
76			MX28_PAD_GPMI_D06__GPIO_0_6
77			MX28_PAD_GPMI_D07__GPIO_0_7
78		>;
79		fsl,voltage = <MXS_VOLTAGE_HIGH>;
80		fsl,pull-up = <MXS_PULL_DISABLE>;
81	};
82};
83
84&reg_fec_3v3 {
85	gpio = <&gpio0 0 0>;
86};
87
88&reg_usb_5v {
89	gpio = <&gpio0 2 0>;
90};
91
92&spi2_pins_a {
93	fsl,pinmux-ids = <
94		MX28_PAD_SSP2_SCK__SSP2_SCK
95		MX28_PAD_SSP2_MOSI__SSP2_CMD
96		MX28_PAD_SSP2_MISO__SSP2_D0
97		MX28_PAD_SSP2_SS0__GPIO_2_19
98	>;
99};
100