blob: 1b13851ad997001f0294ae5c642c258fa3c49780 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: (GPL-2.0-or-later OR X11)
2/*
3 * Copyright 2013-2014 Freescale Semiconductor, Inc.
4 * Copyright 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
5 * D-82229 Seefeld, Germany.
6 * Author: Alexander Stein
7 */
8
9#include "ls1021a.dtsi"
10
11/ {
12 model = "TQMLS102xA SOM";
13 compatible = "tq,ls1021a-tqmls1021a", "fsl,ls1021a";
14
15 reg_3p3v_som: regulator-3p3v-som {
16 compatible = "regulator-fixed";
17 regulator-name = "3P3V_SOM";
18 regulator-min-microvolt = <3300000>;
19 regulator-max-microvolt = <3300000>;
20 regulator-always-on;
21 };
22};
23
24&esdhc {
25 /* e-MMC over 8 data lines */
26 bus-width = <8>;
27 status = "okay";
28};
29
30&i2c0 {
31 status = "okay";
32
33 /* MC34VR500 DC/DC regulator at 0x8, managed by PMIC */
34 /* On-board PMC at 0x11 */
35
36 sa56004: temperature-sensor@4c {
37 compatible = "nxp,sa56004";
38 reg = <0x4c>;
39 vcc-supply = <&reg_3p3v_som>;
40 };
41
42 rtc0: rtc@51 {
43 compatible = "nxp,pcf85063a";
44 reg = <0x51>;
45 quartz-load-femtofarads = <12500>;
46 };
47
48 m24c64_54: eeprom@54 {
49 compatible = "atmel,24c64";
50 reg = <0x54>;
51 pagesize = <32>;
52 read-only;
53 vcc-supply = <&reg_3p3v_som>;
54 };
55};
56
57&mdio0 {
58 tbi1: tbi-phy@8 {
59 reg = <0x8>;
60 device_type = "tbi-phy";
61 };
62};
63
64&qspi {
65 status = "okay";
66
67 qflash0: flash@0 {
68 compatible = "jedec,spi-nor";
69 #address-cells = <1>;
70 #size-cells = <1>;
71 spi-max-frequency = <20000000>;
72 spi-rx-bus-width = <4>;
73 spi-tx-bus-width = <4>;
74 reg = <0>;
75
76 partitions {
77 compatible = "fixed-partitions";
78 #address-cells = <1>;
79 #size-cells = <1>;
80
81 uboot@0 {
82 label = "U-Boot-PBL";
83 reg = <0x0 0xe0000>;
84 };
85
86 env@e0000 {
87 label = "U-Boot Environment";
88 reg = <0xe0000 0x10000>;
89 };
90
91 dtb@f0000 {
92 label = "DTB";
93 reg = <0xf0000 0x10000>;
94 };
95
96 linux@100000 {
97 label = "Linux";
98 reg = <0x100000 0x700000>;
99 };
100
101 rootfs@800000 {
102 label = "RootFS";
103 reg = <0x800000 0x3800000>;
104 };
105 };
106 };
107};