blob: 5de6774c5a49bcc935231d693c9022b9c14cc3d2 [file] [log] [blame]
Lukasz Majewski010e58d2019-12-08 22:06:56 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019
4 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
5 *
6 * SPDX-License-Identifier: GPL-2.0+ or X11
7 *
8 */
9
10/dts-v1/;
11
12#include "imx28.dtsi"
13
14/ {
15 model = "Liebherr (LWE) XEA i.MX28 Board";
16 compatible = "lwe,xea", "fsl,imx28";
17
18 aliases {
19 spi3 = &ssp3;
20 };
21
22 memory@40000000 {
23 device_type = "memory";
24 reg = <0x40000000 0x10000000>;
25 };
26
27 reg_3p3v: regulator-3p3v {
28 compatible = "regulator-fixed";
29 regulator-name = "3P3V";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
32 regulator-always-on;
33 };
34
35 reg_fec_3v3: regulator-fec-3v3 {
36 compatible = "regulator-fixed";
37 regulator-name = "fec-3v3";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
40 gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
41 };
42};
43
44&mac0 {
45 phy-mode = "rmii";
46 pinctrl-names = "default";
47 pinctrl-0 = <&mac0_pins_a>;
48 phy-supply = <&reg_fec_3v3>;
49 phy-reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
50 phy-reset-duration = <1>;
51 phy-reset-post-delay = <1>;
52 status = "okay";
53
54 fixed-link {
55 speed = <100>;
56 full-duplex;
57 };
58};
59
60&ssp0 {
61 compatible = "fsl,imx28-mmc";
62 pinctrl-names = "default";
63 pinctrl-0 = <&mmc0_8bit_pins_a>;
64 bus-width = <8>;
65 vmmc-supply = <&reg_3p3v>;
66 non-removable;
67 status = "okay";
68};
69
70&ssp3 {
71 #address-cells = <1>;
72 #size-cells = <0>;
73 compatible = "fsl,imx28-spi";
74 pinctrl-names = "default";
75 pinctrl-0 = <&spi3_pins_b>;
76 status = "okay";
77 spi-max-frequency = <40000000>;
78 num-cs = <2>;
79
80 flash0: s25fl256s@0 {
81 #address-cells = <1>;
82 #size-cells = <1>;
83 compatible = "jedec,spi-nor";
84 spi-max-frequency = <40000000>;
85 reg = <0>;
86
87 partition@0 {
88 label = "SPL (spi)";
89 reg = <0x0 0x10000>;
90 read-only;
91 };
92 partition@1 {
93 label = "u-boot (spi)";
94 reg = <0x10000 0x70000>;
95 read-only;
96 };
97 partition@2 {
98 label = "uboot-env (spi)";
99 reg = <0x80000 0x20000>;
100 };
101 partition@3 {
102 label = "kernel (spi)";
103 reg = <0x100000 0x400000>;
104 };
105 partition@4 {
106 label = "swupdate (spi)";
107 reg = <0x50000 0x800000>;
108 };
109 };
110};