xref: /linux/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi (revision b615879dbfea6cf1236acbc3f2fb25ae84e07071)
1// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
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		spi-max-frequency = <20000000>;
70		spi-rx-bus-width = <4>;
71		spi-tx-bus-width = <4>;
72		reg = <0>;
73		vcc-supply = <&reg_3p3v_som>;
74
75		partitions {
76			compatible = "fixed-partitions";
77			#address-cells = <1>;
78			#size-cells = <1>;
79
80			uboot@0 {
81				label = "U-Boot-PBL";
82				reg = <0x0 0xe0000>;
83			};
84
85			env@e0000 {
86				label = "U-Boot Environment";
87				reg = <0xe0000 0x10000>;
88			};
89
90			dtb@f0000 {
91				label = "DTB";
92				reg = <0xf0000 0x10000>;
93			};
94
95			linux@100000 {
96				label = "Linux";
97				reg = <0x100000 0x700000>;
98			};
99
100			rootfs@800000 {
101				label = "RootFS";
102				reg = <0x800000 0x3800000>;
103			};
104		};
105	};
106};
107