Debian Codegraph @

arch/arm64/boot/dts/freescale/fsl-ls1028a-tqmls1028a.dtsi

raw
1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2 /*
3 * Copyright 2019-2025 TQ-Systems GmbH <[email protected]>,
4 * D-82229 Seefeld, Germany.
5 * Author: Michael Krummsdorf
6 * Author: Matthias Schiffer
7 * Author: Alexander Stein
8 */
9
10 #include "fsl-ls1028a.dtsi"
11
12 / {
13 compatible = "tq,ls1028a-tqmls1028a", "fsl,ls1028a";
14
15 reg_1p8v_som: regulator-1p8v-som {
16 compatible = "regulator-fixed";
17 regulator-name = "1P8V_SOM";
18 regulator-min-microvolt = <1800000>;
19 regulator-max-microvolt = <1800000>;
20 regulator-always-on;
21 };
22
23 reg_3p3v_som: regulator-3p3v-som {
24 compatible = "regulator-fixed";
25 regulator-name = "3P3V_SOM";
26 regulator-min-microvolt = <3300000>;
27 regulator-max-microvolt = <3300000>;
28 regulator-always-on;
29 };
30
31 thermal-zones {
32 /*
33 * TQMLS1028A uses an external temperature sensor
34 * instead of TMU
35 */
36 /delete-node/ ddr-controller;
37
38 cluster-thermal {
39 thermal-sensors = <&sa56004_4c 1>;
40 };
41 };
42 };
43
44 &esdhc1 {
45 no-sdio;
46 no-sd;
47 non-removable;
48 mmc-hs200-1_8v;
49 mmc-hs400-1_8v;
50 mmc-ddr-1_8v;
51 bus-width = <8>;
52 vmmc-supply = <&reg_3p3v_som>;
53 vqmmc-supply = <&reg_1p8v_som>;
54 status = "okay";
55 };
56
57 &fspi {
58 status = "okay";
59
60 flash@0 {
61 compatible = "jedec,spi-nor";
62 reg = <0>;
63 spi-max-frequency = <100000000>;
64 spi-tx-bus-width = <4>;
65 spi-rx-bus-width = <4>;
66 vcc-supply = <&reg_1p8v_som>;
67
68 partitions {
69 compatible = "fixed-partitions";
70 #address-cells = <1>;
71 #size-cells = <1>;
72 };
73 };
74 };
75
76 &i2c0 {
77 clock-frequency = <400000>;
78 status = "okay";
79
80 js42_18: temperature-sensor@18 {
81 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
82 reg = <0x18>;
83 };
84
85 sa56004_4c: temperature-sensor@4c {
86 compatible = "nxp,sa56004";
87 reg = <0x4c>;
88 #thermal-sensor-cells = <1>;
89 vcc-supply = <&reg_3p3v_som>;
90 };
91
92 se97_50: eeprom@50 {
93 compatible = "nxp,se97b", "atmel,24c02";
94 read-only;
95 reg = <0x50>;
96 pagesize = <16>;
97 vcc-supply = <&reg_3p3v_som>;
98 };
99
100 rtc1: rtc@51 {
101 compatible = "nxp,pcf85063a";
102 reg = <0x51>;
103 quartz-load-femtofarads = <12500>;
104 };
105
106 m24c256_57: eeprom@57 {
107 compatible = "atmel,24c256";
108 reg = <0x57>;
109 pagesize = <32>;
110 vcc-supply = <&reg_3p3v_som>;
111 };
112 };
113
114 /*
115 * We use a separate sensor IC to measure core temperature. Disable the TMU
116 * as its driver can cause log spam outside of its measurement range (0-125C).
117 *
118 * Will have to be reevaluated if this DTS is ported to a mainline kernel,
119 * as both sensors of the TMU are referenced by the default LS1028A
120 * thermal-zones definitions there.
121 */
122 &tmu {
123 status = "disabled";
124 };