Merge branch 'for-4.19/i2c-hid' into for-linus
[sfrench/cifs-2.6.git] / arch / arm64 / boot / dts / freescale / fsl-ls208xa-rdb.dtsi
1 /*
2  * Device Tree file for Freescale LS2080A RDB Board.
3  *
4  * Copyright 2016 Freescale Semiconductor, Inc.
5  * Copyright 2017 NXP
6  *
7  * Abhimanyu Saini <abhimanyu.saini@nxp.com>
8  *
9  * This file is dual-licensed: you can use it either under the terms
10  * of the GPLv2 or the X11 license, at your option. Note that this dual
11  * licensing only applies to this file, and not this project as a
12  * whole.
13  *
14  *  a) This library is free software; you can redistribute it and/or
15  *     modify it under the terms of the GNU General Public License as
16  *     published by the Free Software Foundation; either version 2 of the
17  *     License, or (at your option) any later version.
18  *
19  *     This library is distributed in the hope that it will be useful,
20  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
21  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  *     GNU General Public License for more details.
23  *
24  * Or, alternatively,
25  *
26  *  b) Permission is hereby granted, free of charge, to any person
27  *     obtaining a copy of this software and associated documentation
28  *     files (the "Software"), to deal in the Software without
29  *     restriction, including without limitation the rights to use,
30  *     copy, modify, merge, publish, distribute, sublicense, and/or
31  *     sell copies of the Software, and to permit persons to whom the
32  *     Software is furnished to do so, subject to the following
33  *     conditions:
34  *
35  *     The above copyright notice and this permission notice shall be
36  *     included in all copies or substantial portions of the Software.
37  *
38  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45  *     OTHER DEALINGS IN THE SOFTWARE.
46  */
47
48 &esdhc {
49         status = "okay";
50 };
51
52 &ifc {
53         status = "okay";
54         #address-cells = <2>;
55         #size-cells = <1>;
56         ranges = <0x0 0x0 0x5 0x80000000 0x08000000
57                   0x2 0x0 0x5 0x30000000 0x00010000
58                   0x3 0x0 0x5 0x20000000 0x00010000>;
59
60         nor@0,0 {
61                 #address-cells = <1>;
62                 #size-cells = <1>;
63                 compatible = "cfi-flash";
64                 reg = <0x0 0x0 0x8000000>;
65                 bank-width = <2>;
66                 device-width = <1>;
67         };
68
69         nand@2,0 {
70              compatible = "fsl,ifc-nand";
71              reg = <0x2 0x0 0x10000>;
72         };
73
74         cpld@3,0 {
75              reg = <0x3 0x0 0x10000>;
76              compatible = "fsl,ls2080aqds-fpga", "fsl,fpga-qixis";
77         };
78
79 };
80
81 &i2c0 {
82         status = "okay";
83         pca9547@75 {
84                 compatible = "nxp,pca9547";
85                 reg = <0x75>;
86                 #address-cells = <1>;
87                 #size-cells = <0>;
88                 i2c@1 {
89                         #address-cells = <1>;
90                         #size-cells = <0>;
91                         reg = <0x01>;
92                         rtc@68 {
93                                 compatible = "dallas,ds3232";
94                                 reg = <0x68>;
95                         };
96                 };
97
98                 i2c@2 {
99                         #address-cells = <1>;
100                         #size-cells = <0>;
101                         reg = <0x02>;
102
103                         ina220@40 {
104                                 compatible = "ti,ina220";
105                                 reg = <0x40>;
106                                 shunt-resistor = <500>;
107                         };
108                 };
109
110                 i2c@3 {
111                         #address-cells = <1>;
112                         #size-cells = <0>;
113                         reg = <0x3>;
114
115                         adt7481@4c {
116                                 compatible = "adi,adt7461";
117                                 reg = <0x4c>;
118                         };
119                 };
120         };
121 };
122
123 &i2c1 {
124         status = "disabled";
125 };
126
127 &i2c2 {
128         status = "disabled";
129 };
130
131 &i2c3 {
132         status = "disabled";
133 };
134
135 &dspi {
136         status = "okay";
137         dflash0: n25q512a@0 {
138                 #address-cells = <1>;
139                 #size-cells = <1>;
140                 compatible = "st,m25p80";
141                 spi-max-frequency = <3000000>;
142                 reg = <0>;
143         };
144 };
145
146 &qspi {
147         status = "disabled";
148 };
149
150 &sata0 {
151         status = "okay";
152 };
153
154 &sata1 {
155         status = "okay";
156 };
157
158 &usb0 {
159         status = "okay";
160 };
161
162 &usb1 {
163         status = "okay";
164 };