Linux Audio

Check our new training course

Loading...
v5.4
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Device tree for EFM32GG-DK3750 development board.
 4 *
 5 * Documentation available from
 6 * http://www.silabs.com/Support%20Documents/TechnicalDocs/efm32gg-dk3750-ug.pdf
 7 */
 8
 9/dts-v1/;
10#include "efm32gg.dtsi"
11
12/ {
13	model = "Energy Micro Giant Gecko Development Kit";
14	compatible = "efm32,dk3750";
15
16	chosen {
17		bootargs = "console=ttyefm4,115200 init=/linuxrc ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/dev/mtdblock0";
18	};
19
20	memory@88000000 {
21		device_type = "memory";
22		reg = <0x88000000 0x400000>;
23	};
24
25	soc {
26		adc@40002000 {
27			status = "ok";
28		};
29
30		i2c@4000a000 {
31			energymicro,location = <3>;
32			status = "ok";
33
34			temp@48 {
35				compatible = "st,stds75";
36				reg = <0x48>;
37			};
38
39			eeprom@50 {
40				compatible = "microchip,24c02", "atmel,24c02";
41				reg = <0x50>;
42				pagesize = <16>;
43			};
44		};
45
46		spi0: spi@4000c000 { /* USART0 */
47			cs-gpios = <&gpio 68 1>; // E4
48			energymicro,location = <1>;
49			status = "ok";
50
51			microsd@0 {
52				compatible = "mmc-spi-slot";
53				spi-max-frequency = <100000>;
54				voltage-ranges = <3200 3400>;
55				broken-cd;
56				reg = <0>;
57			};
58		};
59
60		spi1: spi@4000c400 { /* USART1 */
61			cs-gpios = <&gpio 51 1>; // D3
62			energymicro,location = <1>;
63			status = "ok";
64
65			ks8851@0 {
66				compatible = "ks8851";
67				spi-max-frequency = <6000000>;
68				reg = <0>;
69				interrupt-parent = <&boardfpga>;
70				interrupts = <4>;
71			};
72		};
73
74		uart4: uart@4000e400 { /* UART1 */
75			energymicro,location = <2>;
76			status = "ok";
77		};
78
79		boardfpga: boardfpga@80000000 {
80			compatible = "efm32board";
81			reg = <0x80000000 0x400>;
82			irq-gpios = <&gpio 64 1>;
83			interrupt-controller;
84			#interrupt-cells = <1>;
85			status = "ok";
86		};
87	};
88};
v4.6
 
 1/*
 2 * Device tree for EFM32GG-DK3750 development board.
 3 *
 4 * Documentation available from
 5 * http://www.silabs.com/Support%20Documents/TechnicalDocs/efm32gg-dk3750-ug.pdf
 6 */
 7
 8/dts-v1/;
 9#include "efm32gg.dtsi"
10
11/ {
12	model = "Energy Micro Giant Gecko Development Kit";
13	compatible = "efm32,dk3750";
14
15	chosen {
16		bootargs = "console=ttyefm4,115200 init=/linuxrc ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/dev/mtdblock0";
17	};
18
19	memory {
 
20		reg = <0x88000000 0x400000>;
21	};
22
23	soc {
24		adc@40002000 {
25			status = "ok";
26		};
27
28		i2c@4000a000 {
29			energymicro,location = <3>;
30			status = "ok";
31
32			temp@48 {
33				compatible = "st,stds75";
34				reg = <0x48>;
35			};
36
37			eeprom@50 {
38				compatible = "microchip,24c02";
39				reg = <0x50>;
40				pagesize = <16>;
41			};
42		};
43
44		spi0: spi@4000c000 { /* USART0 */
45			cs-gpios = <&gpio 68 1>; // E4
46			energymicro,location = <1>;
47			status = "ok";
48
49			microsd@0 {
50				compatible = "mmc-spi-slot";
51				spi-max-frequency = <100000>;
52				voltage-ranges = <3200 3400>;
53				broken-cd;
54				reg = <0>;
55			};
56		};
57
58		spi1: spi@4000c400 { /* USART1 */
59			cs-gpios = <&gpio 51 1>; // D3
60			energymicro,location = <1>;
61			status = "ok";
62
63			ks8851@0 {
64				compatible = "ks8851";
65				spi-max-frequency = <6000000>;
66				reg = <0>;
67				interrupt-parent = <&boardfpga>;
68				interrupts = <4>;
69			};
70		};
71
72		uart4: uart@4000e400 { /* UART1 */
73			energymicro,location = <2>;
74			status = "ok";
75		};
76
77		boardfpga: boardfpga {
78			compatible = "efm32board";
79			reg = <0x80000000 0x400>;
80			irq-gpios = <&gpio 64 1>;
81			interrupt-controller;
82			#interrupt-cells = <1>;
83			status = "ok";
84		};
85	};
86};