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 pinctrl-names = "default";
39 pinctrl-0 = <&msmgpio_leds>,
43 compatible = "gpio-leds";
46 label = "apq8016-sbc:green:user1";
47 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
48 linux,default-trigger = "heartbeat";
49 default-state = "off";
53 label = "apq8016-sbc:green:user2";
54 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
55 linux,default-trigger = "mmc0";
56 default-state = "off";
60 label = "apq8016-sbc:green:user3";
61 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
62 linux,default-trigger = "mmc1";
63 default-state = "off";
67 label = "apq8016-sbc:green:user4";
68 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
69 linux,default-trigger = "none";
70 default-state = "off";
74 label = "apq8016-sbc:yellow:wlan";
75 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
76 linux,default-trigger = "wlan";
77 default-state = "off";
81 label = "apq8016-sbc:blue:bt";
82 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
83 linux,default-trigger = "bt";
84 default-state = "off";