Merge branch 'work.splice_read' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / arch / arm64 / boot / dts / qcom / apq8096-db820c.dtsi
1 /*
2  * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 and
6  * only version 2 as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14 #include "msm8996.dtsi"
15 #include "apq8096-db820c-pins.dtsi"
16
17 / {
18         aliases {
19                 serial0 = &blsp2_uart1;
20                 serial1 = &blsp2_uart2;
21                 i2c0    = &blsp1_i2c2;
22                 i2c1    = &blsp2_i2c1;
23                 i2c2    = &blsp2_i2c0;
24                 spi0    = &blsp1_spi0;
25                 spi1    = &blsp2_spi5;
26         };
27
28         chosen {
29                 stdout-path = "serial0:115200n8";
30         };
31
32         soc {
33                 serial@75b0000 {
34                         label = "LS-UART1";
35                         status = "okay";
36                         pinctrl-names = "default", "sleep";
37                         pinctrl-0 = <&blsp2_uart1_2pins_default>;
38                         pinctrl-1 = <&blsp2_uart1_2pins_sleep>;
39                 };
40
41                 serial@75b1000 {
42                         label = "LS-UART0";
43                         status = "okay";
44                         pinctrl-names = "default", "sleep";
45                         pinctrl-0 = <&blsp2_uart2_4pins_default>;
46                         pinctrl-1 = <&blsp2_uart2_4pins_sleep>;
47                 };
48
49                 i2c@07577000 {
50                 /* On Low speed expansion */
51                         label = "LS-I2C0";
52                         status = "okay";
53                 };
54
55                 i2c@075b6000 {
56                 /* On Low speed expansion */
57                         label = "LS-I2C1";
58                         status = "okay";
59                 };
60
61                 spi@07575000 {
62                 /* On Low speed expansion */
63                         label = "LS-SPI0";
64                         status = "okay";
65                 };
66
67                 i2c@075b5000 {
68                 /* On High speed expansion */
69                         label = "HS-I2C2";
70                         status = "okay";
71                 };
72
73                 spi@075ba000{
74                 /* On High speed expansion */
75                         label = "HS-SPI1";
76                         status = "okay";
77                 };
78
79                 sdhci@74a4900 {
80                 /* External SD card */
81                         pinctrl-names = "default", "sleep";
82                         pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
83                         pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
84                         cd-gpios = <&msmgpio 38 0x1>;
85                         status = "okay";
86                 };
87         };
88 };