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