Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / freescale / fsl-lx2160a-rdb.dts
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 //
3 // Device Tree file for LX2160ARDB
4 //
5 // Copyright 2018 NXP
6
7 /dts-v1/;
8
9 #include "fsl-lx2160a.dtsi"
10
11 / {
12         model = "NXP Layerscape LX2160ARDB";
13         compatible = "fsl,lx2160a-rdb", "fsl,lx2160a";
14
15         aliases {
16                 crypto = &crypto;
17                 serial0 = &uart0;
18         };
19
20         chosen {
21                 stdout-path = "serial0:115200n8";
22         };
23
24         sb_3v3: regulator-sb3v3 {
25                 compatible = "regulator-fixed";
26                 regulator-name = "MC34717-3.3VSB";
27                 regulator-min-microvolt = <3300000>;
28                 regulator-max-microvolt = <3300000>;
29                 regulator-boot-on;
30                 regulator-always-on;
31         };
32 };
33
34 &crypto {
35         status = "okay";
36 };
37
38 &dpmac17 {
39         phy-handle = <&rgmii_phy1>;
40         phy-connection-type = "rgmii-id";
41 };
42
43 &dpmac18 {
44         phy-handle = <&rgmii_phy2>;
45         phy-connection-type = "rgmii-id";
46 };
47
48 &emdio1 {
49         status = "okay";
50
51         rgmii_phy1: ethernet-phy@1 {
52                 /* AR8035 PHY */
53                 compatible = "ethernet-phy-id004d.d072";
54                 reg = <0x1>;
55                 eee-broken-1000t;
56         };
57
58         rgmii_phy2: ethernet-phy@2 {
59                 /* AR8035 PHY */
60                 compatible = "ethernet-phy-id004d.d072";
61                 reg = <0x2>;
62                 eee-broken-1000t;
63         };
64 };
65
66 &esdhc0 {
67         sd-uhs-sdr104;
68         sd-uhs-sdr50;
69         sd-uhs-sdr25;
70         sd-uhs-sdr12;
71         status = "okay";
72 };
73
74 &esdhc1 {
75         mmc-hs200-1_8v;
76         mmc-hs400-1_8v;
77         bus-width = <8>;
78         status = "okay";
79 };
80
81 &fspi {
82         status = "okay";
83
84         mt35xu512aba0: flash@0 {
85                 #address-cells = <1>;
86                 #size-cells = <1>;
87                 compatible = "jedec,spi-nor";
88                 m25p,fast-read;
89                 spi-max-frequency = <50000000>;
90                 reg = <0>;
91                 spi-rx-bus-width = <8>;
92                 spi-tx-bus-width = <8>;
93         };
94
95         mt35xu512aba1: flash@1 {
96                 #address-cells = <1>;
97                 #size-cells = <1>;
98                 compatible = "jedec,spi-nor";
99                 m25p,fast-read;
100                 spi-max-frequency = <50000000>;
101                 reg = <1>;
102                 spi-rx-bus-width = <8>;
103                 spi-tx-bus-width = <8>;
104         };
105 };
106
107 &i2c0 {
108         status = "okay";
109
110         i2c-mux@77 {
111                 compatible = "nxp,pca9547";
112                 reg = <0x77>;
113                 #address-cells = <1>;
114                 #size-cells = <0>;
115
116                 i2c@2 {
117                         #address-cells = <1>;
118                         #size-cells = <0>;
119                         reg = <0x2>;
120
121                         power-monitor@40 {
122                                 compatible = "ti,ina220";
123                                 reg = <0x40>;
124                                 shunt-resistor = <500>;
125                         };
126                 };
127
128                 i2c@3 {
129                         #address-cells = <1>;
130                         #size-cells = <0>;
131                         reg = <0x3>;
132
133                         temperature-sensor@4c {
134                                 compatible = "nxp,sa56004";
135                                 reg = <0x4c>;
136                                 vcc-supply = <&sb_3v3>;
137                         };
138
139                         temperature-sensor@4d {
140                                 compatible = "nxp,sa56004";
141                                 reg = <0x4d>;
142                                 vcc-supply = <&sb_3v3>;
143                         };
144                 };
145         };
146 };
147
148 &i2c4 {
149         status = "okay";
150
151         rtc@51 {
152                 compatible = "nxp,pcf2129";
153                 reg = <0x51>;
154                 // IRQ10_B
155                 interrupts = <0 150 0x4>;
156         };
157 };
158
159 &sata0 {
160         status = "okay";
161 };
162
163 &sata1 {
164         status = "okay";
165 };
166
167 &sata2 {
168         status = "okay";
169 };
170
171 &sata3 {
172         status = "okay";
173 };
174
175 &uart0 {
176         status = "okay";
177 };
178
179 &uart1 {
180         status = "okay";
181 };
182
183 &usb0 {
184         status = "okay";
185 };
186
187 &usb1 {
188         status = "okay";
189 };