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;
26 stdout-path = "serial0";
32 pinctrl-names = "default", "sleep";
33 pinctrl-0 = <&blsp1_uart2_default>;
34 pinctrl-1 = <&blsp1_uart2_sleep>;
38 /* On Low speed expansion */
43 /* On High speed expansion */
48 /* On Low speed expansion */
53 /* On High speed expansion */
58 /* On Low speed expansion */
63 pinctrl-names = "default";
64 pinctrl-0 = <&msmgpio_leds>,
68 compatible = "gpio-leds";
71 label = "apq8016-sbc:green:user1";
72 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
73 linux,default-trigger = "heartbeat";
74 default-state = "off";
78 label = "apq8016-sbc:green:user2";
79 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
80 linux,default-trigger = "mmc0";
81 default-state = "off";
85 label = "apq8016-sbc:green:user3";
86 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
87 linux,default-trigger = "mmc1";
88 default-state = "off";
92 label = "apq8016-sbc:green:user4";
93 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
94 linux,default-trigger = "none";
95 default-state = "off";
99 label = "apq8016-sbc:yellow:wlan";
100 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
101 linux,default-trigger = "wlan";
102 default-state = "off";
106 label = "apq8016-sbc:blue:bt";
107 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
108 linux,default-trigger = "bt";
109 default-state = "off";