summaryrefslogtreecommitdiffstats
path: root/dts/src/arm/efm32gg-dk3750.dts
blob: adfa559a488bff295461c3fd78d1874937211c6e (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
// SPDX-License-Identifier: GPL-2.0
/*
 * Device tree for EFM32GG-DK3750 development board.
 *
 * Documentation available from
 * http://www.silabs.com/Support%20Documents/TechnicalDocs/efm32gg-dk3750-ug.pdf
 */

/dts-v1/;
#include "efm32gg.dtsi"

/ {
	model = "Energy Micro Giant Gecko Development Kit";
	compatible = "efm32,dk3750";

	chosen {
		bootargs = "console=ttyefm4,115200 init=/linuxrc ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/dev/mtdblock0";
	};

	memory@88000000 {
		device_type = "memory";
		reg = <0x88000000 0x400000>;
	};

	soc {
		adc@40002000 {
			status = "ok";
		};

		i2c@4000a000 {
			energymicro,location = <3>;
			status = "ok";

			temp@48 {
				compatible = "st,stds75";
				reg = <0x48>;
			};

			eeprom@50 {
				compatible = "microchip,24c02", "atmel,24c02";
				reg = <0x50>;
				pagesize = <16>;
			};
		};

		spi0: spi@4000c000 { /* USART0 */
			cs-gpios = <&gpio 68 1>; // E4
			energymicro,location = <1>;
			status = "ok";

			microsd@0 {
				compatible = "mmc-spi-slot";
				spi-max-frequency = <100000>;
				voltage-ranges = <3200 3400>;
				broken-cd;
				reg = <0>;
			};
		};

		spi1: spi@4000c400 { /* USART1 */
			cs-gpios = <&gpio 51 1>; // D3
			energymicro,location = <1>;
			status = "ok";

			ks8851@0 {
				compatible = "ks8851";
				spi-max-frequency = <6000000>;
				reg = <0>;
				interrupt-parent = <&boardfpga>;
				interrupts = <4>;
			};
		};

		uart4: uart@4000e400 { /* UART1 */
			energymicro,location = <2>;
			status = "ok";
		};

		boardfpga: boardfpga@80000000 {
			compatible = "efm32board";
			reg = <0x80000000 0x400>;
			irq-gpios = <&gpio 64 1>;
			interrupt-controller;
			#interrupt-cells = <1>;
			status = "ok";
		};
	};
};