blob: a400c108f66a2d33f7e9ca3cf74421ad506ac75c [file] [log] [blame]
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
Lukasz Majewskif3adb662019-12-08 22:06:56 +01002/*
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +02003 * Copyright 2021
Lukasz Majewskif3adb662019-12-08 22:06:56 +01004 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
Lukasz Majewskif3adb662019-12-08 22:06:56 +01005 */
6
7/dts-v1/;
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +02008#include "imx28-lwe.dtsi"
Lukasz Majewskif3adb662019-12-08 22:06:56 +01009
10/ {
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020011 compatible = "lwn,imx28-xea", "fsl,imx28";
Lukasz Majewskif3adb662019-12-08 22:06:56 +010012};
13
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020014&can0 {
Lukasz Majewskif3adb662019-12-08 22:06:56 +010015 pinctrl-names = "default";
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020016 pinctrl-0 = <&can1_pins_a>;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010017 status = "okay";
Lukasz Majewskif3adb662019-12-08 22:06:56 +010018};
19
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020020&i2c1 {
Lukasz Majewskif3adb662019-12-08 22:06:56 +010021 pinctrl-names = "default";
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020022 pinctrl-0 = <&i2c1_pins_b>;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010023 status = "okay";
24};
25
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020026&pinctrl {
Lukasz Majewskif3adb662019-12-08 22:06:56 +010027 pinctrl-names = "default";
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020028 pinctrl-0 = <&hog_pins_a &hog_pins_tiva>;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010029
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020030 hog_pins_a: hog@0 {
Lukasz Majewskif3adb662019-12-08 22:06:56 +010031 reg = <0>;
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020032 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 };
Lukasz Majewskif3adb662019-12-08 22:06:56 +010069
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020070 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>;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010081 };
82};
Lukasz Majewski6f5b86a2021-12-27 11:46:41 +010083
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020084&reg_fec_3v3 {
85 gpio = <&gpio0 0 0>;
Lukasz Majewski6f5b86a2021-12-27 11:46:41 +010086};
87
Marcel Ziswilerbebd24e2022-10-22 23:59:42 +020088&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 >;
Lukasz Majewski6f5b86a2021-12-27 11:46:41 +010099};