Debian Codegraph @

arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi

raw
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 //
3 // Device Tree file for LX2160A-CEx7
4 //
5 // Copyright 2019 SolidRun Ltd.
6
7 /dts-v1/;
8
9 #include "fsl-lx2160a.dtsi"
10
11 / {
12 model = "SolidRun LX2160A COM Express Type 7 module";
13 compatible = "solidrun,lx2160a-cex7", "fsl,lx2160a";
14
15 aliases {
16 crypto = &crypto;
17 };
18
19 sb_3v3: regulator-sb3v3 {
20 compatible = "regulator-fixed";
21 regulator-name = "RT7290";
22 regulator-min-microvolt = <3300000>;
23 regulator-max-microvolt = <3300000>;
24 regulator-boot-on;
25 regulator-always-on;
26 };
27 };
28
29 &crypto {
30 status = "okay";
31 };
32
33 &dpmac17 {
34 phy-handle = <&rgmii_phy1>;
35 phy-connection-type = "rgmii-id";
36 };
37
38 &emdio1 {
39 status = "okay";
40
41 rgmii_phy1: ethernet-phy@1 {
42 reg = <1>;
43 qca,smarteee-tw-us-1g = <24>;
44 interrupts-extended = <&gpio2 4 IRQ_TYPE_EDGE_FALLING>;
45 };
46 };
47
48 &esdhc1 {
49 mmc-hs200-1_8v;
50 mmc-hs400-1_8v;
51 bus-width = <8>;
52 status = "okay";
53 };
54
55 &i2c0 {
56 status = "okay";
57
58 i2c-mux@77 {
59 compatible = "nxp,pca9547";
60 #address-cells = <1>;
61 #size-cells = <0>;
62 reg = <0x77>;
63
64 i2c@0 {
65 #address-cells = <1>;
66 #size-cells = <0>;
67 reg = <0>;
68
69 eeprom@50 {
70 compatible = "atmel,24c512";
71 reg = <0x50>;
72 };
73
74 eeprom@51 {
75 compatible = "atmel,spd";
76 reg = <0x51>;
77 };
78
79 eeprom@53 {
80 compatible = "atmel,spd";
81 reg = <0x53>;
82 };
83
84 eeprom@57 {
85 compatible = "atmel,24c02";
86 reg = <0x57>;
87 };
88 };
89
90 i2c@1 {
91 #address-cells = <1>;
92 #size-cells = <0>;
93 reg = <1>;
94
95 fan-temperature-ctrlr@18 {
96 compatible = "ti,amc6821";
97 reg = <0x18>;
98 };
99 };
100
101 i2c@2 {
102 #address-cells = <1>;
103 #size-cells = <0>;
104 reg = <2>;
105
106 regulator@5c {
107 compatible = "lltc,ltc3882";
108 reg = <0x5c>;
109 };
110 };
111
112 i2c@3 {
113 #address-cells = <1>;
114 #size-cells = <0>;
115 reg = <3>;
116
117 temperature-sensor@48 {
118 compatible = "nxp,sa56004";
119 reg = <0x48>;
120 vcc-supply = <&sb_3v3>;
121 };
122 };
123
124 sfp0_i2c: i2c@4 {
125 #address-cells = <1>;
126 #size-cells = <0>;
127 reg = <4>;
128 };
129
130 sfp1_i2c: i2c@5 {
131 #address-cells = <1>;
132 #size-cells = <0>;
133 reg = <5>;
134 };
135
136 sfp2_i2c: i2c@6 {
137 #address-cells = <1>;
138 #size-cells = <0>;
139 reg = <6>;
140 };
141
142 sfp3_i2c: i2c@7 {
143 #address-cells = <1>;
144 #size-cells = <0>;
145 reg = <7>;
146 };
147 };
148 };
149
150 &i2c2 {
151 status = "okay";
152 };
153
154 &i2c4 {
155 status = "okay";
156
157 rtc@51 {
158 compatible = "nxp,pcf2129";
159 reg = <0x51>;
160 interrupts-extended = <&gpio2 8 IRQ_TYPE_LEVEL_LOW>;
161 };
162 };
163
164 &fspi {
165 pinctrl-names = "default";
166 pinctrl-0 = <&fspi_data74_pins>, <&fspi_data30_pins>, <&fspi_dqs_sck_cs10_pins>;
167 status = "okay";
168
169 flash@0 {
170 #address-cells = <1>;
171 #size-cells = <1>;
172 compatible = "micron,m25p80";
173 m25p,fast-read;
174 spi-max-frequency = <50000000>;
175 reg = <0>;
176 /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
177 spi-rx-bus-width = <8>;
178 spi-tx-bus-width = <1>;
179 };
180 };
181
182 &pinmux_i2crv {
183 pinctrl-names = "default";
184 pinctrl-0 = <&gpio0_14_12_pins>;
185 };
186
187 &usb0 {
188 status = "okay";
189 };
190
191 &usb1 {
192 status = "okay";
193 };