summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx53-qsb-common.dtsi
blob: 24bbd6741aa29e026c7c32f483b98a4ac7770b46 (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
/*
 * Copyright 2011 Freescale Semiconductor, Inc.
 * Copyright 2011 Linaro Ltd.
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

/ {
	chosen {
		stdout-path = &uart1;

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

	/*
	 * The buttons are marked as active high in the upstream dts.
	 * Remove these once fixed upstream.
	 */
	gpio-keys {
		power {
			gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
		};

		volume-up {
			gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
		};

		volume-down {
			gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
		};
	};
};

&esdhc1 {
	#address-cells = <1>;
	#size-cells = <1>;

	bareboxenv: partition@e0000 {
		label = "barebox-environment";
		reg = <0xe0000 0x20000>;
	};
};

&iim {
	barebox,provide-mac-address = <&fec 1 9>;
};