summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi
blob: 1b13851ad997001f0294ae5c642c258fa3c49780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// SPDX-License-Identifier: (GPL-2.0-or-later OR X11)
/*
 * Copyright 2013-2014 Freescale Semiconductor, Inc.
 * Copyright 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
 * D-82229 Seefeld, Germany.
 * Author: Alexander Stein
 */

#include "ls1021a.dtsi"

/ {
	model = "TQMLS102xA SOM";
	compatible = "tq,ls1021a-tqmls1021a", "fsl,ls1021a";

	reg_3p3v_som: regulator-3p3v-som {
		compatible = "regulator-fixed";
		regulator-name = "3P3V_SOM";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};
};

&esdhc {
	/* e-MMC over 8 data lines */
	bus-width = <8>;
	status = "okay";
};

&i2c0 {
	status = "okay";

	/* MC34VR500 DC/DC regulator at 0x8, managed by PMIC */
	/* On-board PMC at 0x11 */

	sa56004: temperature-sensor@4c {
		compatible = "nxp,sa56004";
		reg = <0x4c>;
		vcc-supply = <&reg_3p3v_som>;
	};

	rtc0: rtc@51 {
		compatible = "nxp,pcf85063a";
		reg = <0x51>;
		quartz-load-femtofarads = <12500>;
	};

	m24c64_54: eeprom@54 {
		compatible = "atmel,24c64";
		reg = <0x54>;
		pagesize = <32>;
		read-only;
		vcc-supply = <&reg_3p3v_som>;
	};
};

&mdio0 {
	tbi1: tbi-phy@8 {
		reg = <0x8>;
		device_type = "tbi-phy";
	};
};

&qspi {
	status = "okay";

	qflash0: flash@0 {
		compatible = "jedec,spi-nor";
		#address-cells = <1>;
		#size-cells = <1>;
		spi-max-frequency = <20000000>;
		spi-rx-bus-width = <4>;
		spi-tx-bus-width = <4>;
		reg = <0>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			uboot@0 {
				label = "U-Boot-PBL";
				reg = <0x0 0xe0000>;
			};

			env@e0000 {
				label = "U-Boot Environment";
				reg = <0xe0000 0x10000>;
			};

			dtb@f0000 {
				label = "DTB";
				reg = <0xf0000 0x10000>;
			};

			linux@100000 {
				label = "Linux";
				reg = <0x100000 0x700000>;
			};

			rootfs@800000 {
				label = "RootFS";
				reg = <0x800000 0x3800000>;
			};
		};
	};
};