arm64: dts: ls1028: sl28: explicitly enable network ports
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / freescale / fsl-ls1028a-kontron-sl28.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Device Tree file for the Kontron SMARC-sAL28 board.
4  *
5  * Copyright (C) 2019 Michael Walle <michael@walle.cc>
6  *
7  */
8
9 /dts-v1/;
10 #include "fsl-ls1028a.dtsi"
11
12 / {
13         model = "Kontron SMARC-sAL28";
14         compatible = "kontron,sl28", "fsl,ls1028a";
15
16         aliases {
17                 crypto = &crypto;
18                 serial0 = &duart0;
19                 serial1 = &duart1;
20         };
21
22         chosen {
23                 stdout-path = "serial0:115200n8";
24         };
25 };
26
27 &duart0 {
28         status = "okay";
29 };
30
31 &duart1 {
32         status = "okay";
33 };
34
35 &enetc_port0 {
36         phy-handle = <&phy0>;
37         phy-connection-type = "sgmii";
38         status = "okay";
39
40         mdio {
41                 #address-cells = <1>;
42                 #size-cells = <0>;
43
44                 phy0: ethernet-phy@5 {
45                         reg = <0x5>;
46                         eee-broken-1000t;
47                         eee-broken-100tx;
48                 };
49         };
50 };
51
52 &esdhc {
53         sd-uhs-sdr104;
54         sd-uhs-sdr50;
55         sd-uhs-sdr25;
56         sd-uhs-sdr12;
57         status = "okay";
58 };
59
60 &esdhc1 {
61         mmc-hs200-1_8v;
62         mmc-hs400-1_8v;
63         bus-width = <8>;
64         status = "okay";
65 };
66
67 &fspi {
68         status = "okay";
69
70         flash@0 {
71                 #address-cells = <1>;
72                 #size-cells = <1>;
73                 compatible = "jedec,spi-nor";
74                 m25p,fast-read;
75                 spi-max-frequency = <133000000>;
76                 reg = <0>;
77                 /* The following setting enables 1-1-2 (CMD-ADDR-DATA) mode */
78                 spi-rx-bus-width = <2>; /* 2 SPI Rx lines */
79                 spi-tx-bus-width = <1>; /* 1 SPI Tx line */
80
81                 partition@0 {
82                         reg = <0x000000 0x010000>;
83                         label = "rcw";
84                         read-only;
85                 };
86
87                 partition@10000 {
88                         reg = <0x010000 0x0f0000>;
89                         label = "failsafe bootloader";
90                         read-only;
91                 };
92
93                 partition@100000 {
94                         reg = <0x100000 0x040000>;
95                         label = "failsafe DP firmware";
96                         read-only;
97                 };
98
99                 partition@140000 {
100                         reg = <0x140000 0x0a0000>;
101                         label = "failsafe trusted firmware";
102                         read-only;
103                 };
104
105                 partition@1e0000 {
106                         reg = <0x1e0000 0x020000>;
107                         label = "reserved";
108                         read-only;
109                 };
110
111                 partition@200000 {
112                         reg = <0x200000 0x010000>;
113                         label = "configuration store";
114                 };
115
116                 partition@210000 {
117                         reg = <0x210000 0x0f0000>;
118                         label = "bootloader";
119                 };
120
121                 partition@300000 {
122                         reg = <0x300000 0x040000>;
123                         label = "DP firmware";
124                 };
125
126                 partition@340000 {
127                         reg = <0x340000 0x0a0000>;
128                         label = "trusted firmware";
129                 };
130
131                 partition@3e0000 {
132                         reg = <0x3e0000 0x020000>;
133                         label = "bootloader environment";
134                 };
135         };
136 };
137
138 &gpio1 {
139         gpio-line-names =
140                 "", "", "", "", "", "", "", "",
141                 "", "", "", "", "", "", "", "",
142                 "", "", "", "", "", "", "TDO", "TCK",
143                 "", "", "", "", "", "", "", "";
144 };
145
146 &gpio2 {
147         gpio-line-names =
148                 "", "", "", "", "", "", "TMS", "TDI",
149                 "", "", "", "", "", "", "", "",
150                 "", "", "", "", "", "", "", "",
151                 "", "", "", "", "", "", "", "";
152 };
153
154 &i2c0 {
155         status = "okay";
156
157         rtc@32 {
158                 compatible = "microcrystal,rv8803";
159                 reg = <0x32>;
160         };
161
162         eeprom@50 {
163                 compatible = "atmel,24c32";
164                 reg = <0x50>;
165                 pagesize = <32>;
166         };
167 };
168
169 &i2c3 {
170         status = "okay";
171 };
172
173 &i2c4 {
174         status = "okay";
175 };