summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/fsl-ls1021a-iot.dts
blob: 47eebcb6a95e1db26bc0fbbb028f310cae99bdee (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
// SPDX-License-Identifier: GPL-2.0+
/*
 * Freescale ls1021a IOT board device tree source
 *
 * Copyright 2016 Freescale Semiconductor, Inc.
 */

/dts-v1/;

#include <arm/nxp/ls/ls1021a-iot.dts>

/ {
	chosen {
		stdout-path = &uart0;

		environment {
			compatible = "barebox,environment";
			device-path = &environment_qspi;
		};
	};
};

&qspi {
	bus-num = <0>;
	status = "okay";

	s70fl01gs: flash@0 {
		compatible = "jedec,spi-nor";
		#address-cells = <1>;
		#size-cells = <1>;
		spi-max-frequency = <20000000>;
		reg = <0>;

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

			compatible = "fixed-partitions";

			partition@0 {
				label = "barebox";
				reg = <0 0x100000>;
			};

			environment_qspi: partition@100000 {
				label = "barebox-environment";
				reg = <0x100000 0x40000>;
			};
		};
	};
};

&i2c0 {
	status = "disabled";
};

&i2c1 {
	status = "okay";
	eeprom@51 {
		compatible = "atmel,24c512";
		reg = <0x51>;
	};
};

/* I2C1 and I2C2 are connected due to Errata on rev1 board */
&i2c2 {
	status = "disabled";
};

&uart0 {
	status = "okay";
	clock-frequency = <150000000>;
};

&uart1 {
	status = "disabled";
};