Merge tag 'qcom-arm64-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/agros...
[deliverable/linux.git] / arch / arm64 / boot / dts / qcom / apq8016-sbc.dtsi
1 /*
2 * Copyright (c) 2015, 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 "msm8916.dtsi"
15 #include "pm8916.dtsi"
16 #include "apq8016-sbc-soc-pins.dtsi"
17 #include "apq8016-sbc-pmic-pins.dtsi"
18
19 / {
20 aliases {
21 serial0 = &blsp1_uart2;
22 serial1 = &blsp1_uart1;
23 usid0 = &pm8916_0;
24 i2c0 = &blsp_i2c2;
25 i2c1 = &blsp_i2c6;
26 i2c3 = &blsp_i2c4;
27 };
28
29 chosen {
30 stdout-path = "serial0";
31 };
32
33 soc {
34 serial@78af000 {
35 label = "LS-UART0";
36 status = "okay";
37 pinctrl-names = "default", "sleep";
38 pinctrl-0 = <&blsp1_uart1_default>;
39 pinctrl-1 = <&blsp1_uart1_sleep>;
40 };
41
42 serial@78b0000 {
43 label = "LS-UART1";
44 status = "okay";
45 pinctrl-names = "default", "sleep";
46 pinctrl-0 = <&blsp1_uart2_default>;
47 pinctrl-1 = <&blsp1_uart2_sleep>;
48 };
49
50 i2c@78b6000 {
51 /* On Low speed expansion */
52 label = "LS-I2C0";
53 status = "okay";
54 };
55
56 i2c@78b8000 {
57 /* On High speed expansion */
58 label = "HS-I2C2";
59 status = "okay";
60 };
61
62 i2c@78ba000 {
63 /* On Low speed expansion */
64 label = "LS-I2C1";
65 status = "okay";
66 };
67
68 spi@78b7000 {
69 /* On High speed expansion */
70 label = "HS-SPI1";
71 status = "okay";
72 };
73
74 spi@78b9000 {
75 /* On Low speed expansion */
76 label = "LS-SPI0";
77 status = "okay";
78 };
79
80 leds {
81 pinctrl-names = "default";
82 pinctrl-0 = <&msmgpio_leds>,
83 <&pm8916_gpios_leds>,
84 <&pm8916_mpps_leds>;
85
86 compatible = "gpio-leds";
87
88 led@1 {
89 label = "apq8016-sbc:green:user1";
90 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
91 linux,default-trigger = "heartbeat";
92 default-state = "off";
93 };
94
95 led@2 {
96 label = "apq8016-sbc:green:user2";
97 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
98 linux,default-trigger = "mmc0";
99 default-state = "off";
100 };
101
102 led@3 {
103 label = "apq8016-sbc:green:user3";
104 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
105 linux,default-trigger = "mmc1";
106 default-state = "off";
107 };
108
109 led@4 {
110 label = "apq8016-sbc:green:user4";
111 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
112 linux,default-trigger = "none";
113 default-state = "off";
114 };
115
116 led@5 {
117 label = "apq8016-sbc:yellow:wlan";
118 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
119 linux,default-trigger = "wlan";
120 default-state = "off";
121 };
122
123 led@6 {
124 label = "apq8016-sbc:blue:bt";
125 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
126 linux,default-trigger = "bt";
127 default-state = "off";
128 };
129 };
130 };
131 };
132
133 &sdhc_1 {
134 status = "okay";
135 };
This page took 0.034992 seconds and 5 git commands to generate.