2 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
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.
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.
14 #include "msm8916.dtsi"
15 #include "pm8916.dtsi"
16 #include "apq8016-sbc-soc-pins.dtsi"
17 #include "apq8016-sbc-pmic-pins.dtsi"
21 serial0 = &blsp1_uart2;
22 serial1 = &blsp1_uart1;
30 stdout-path = "serial0";
37 pinctrl-names = "default", "sleep";
38 pinctrl-0 = <&blsp1_uart1_default>;
39 pinctrl-1 = <&blsp1_uart1_sleep>;
45 pinctrl-names = "default", "sleep";
46 pinctrl-0 = <&blsp1_uart2_default>;
47 pinctrl-1 = <&blsp1_uart2_sleep>;
51 /* On Low speed expansion */
57 /* On High speed expansion */
63 /* On Low speed expansion */
69 /* On High speed expansion */
75 /* On Low speed expansion */
81 pinctrl-names = "default";
82 pinctrl-0 = <&msmgpio_leds>,
86 compatible = "gpio-leds";
89 label = "apq8016-sbc:green:user1";
90 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
91 linux,default-trigger = "heartbeat";
92 default-state = "off";
96 label = "apq8016-sbc:green:user2";
97 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
98 linux,default-trigger = "mmc0";
99 default-state = "off";
103 label = "apq8016-sbc:green:user3";
104 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
105 linux,default-trigger = "mmc1";
106 default-state = "off";
110 label = "apq8016-sbc:green:user4";
111 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
112 linux,default-trigger = "none";
113 default-state = "off";
117 label = "apq8016-sbc:yellow:wlan";
118 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
119 linux,default-trigger = "wlan";
120 default-state = "off";
124 label = "apq8016-sbc:blue:bt";
125 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
126 linux,default-trigger = "bt";
127 default-state = "off";