ARM: efm32: properly namespace i2c location property
[linux/fpc-iii.git] / arch / arm / boot / dts / efm32gg-dk3750.dts
blobb4031fa4a567610b2a58086f98bddfaf253e77bd
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  */
8 /dts-v1/;
9 #include "efm32gg.dtsi"
11 / {
12         model = "Energy Micro Giant Gecko Development Kit";
13         compatible = "efm32,dk3750";
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         };
19         memory {
20                 reg = <0x88000000 0x400000>;
21         };
23         soc {
24                 adc@40002000 {
25                         status = "ok";
26                 };
28                 i2c@4000a000 {
29                         efm32,location = <3>;
30                         status = "ok";
32                         temp@48 {
33                                 compatible = "st,stds75";
34                                 reg = <0x48>;
35                         };
37                         eeprom@50 {
38                                 compatible = "microchip,24c02";
39                                 reg = <0x50>;
40                                 pagesize = <16>;
41                         };
42                 };
44                 spi0: spi@4000c000 { /* USART0 */
45                         cs-gpios = <&gpio 68 1>; // E4
46                         location = <1>;
47                         status = "ok";
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                 };
58                 spi1: spi@4000c400 { /* USART1 */
59                         cs-gpios = <&gpio 51 1>; // D3
60                         location = <1>;
61                         status = "ok";
63                         ks8851@0 {
64                                 compatible = "ks8851";
65                                 spi-max-frequency = <6000000>;
66                                 reg = <0>;
67                                 interrupt-parent = <&boardfpga>;
68                                 interrupts = <4>;
69                         };
70                 };
72                 uart4: uart@4000e400 { /* UART1 */
73                         location = <2>;
74                         status = "ok";
75                 };
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         };