arm64: dts: apq8016-sbc: enable UART0 on LS connector
[deliverable/linux.git] / arch / arm64 / boot / dts / qcom / apq8016-sbc.dtsi
CommitLineData
282703e8
KG
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"
729ee9c4 15#include "pm8916.dtsi"
a190a1ce
II
16#include "apq8016-sbc-soc-pins.dtsi"
17#include "apq8016-sbc-pmic-pins.dtsi"
282703e8
KG
18
19/ {
20 aliases {
21 serial0 = &blsp1_uart2;
9f43020d 22 serial1 = &blsp1_uart1;
282703e8
KG
23 };
24
25 chosen {
26 stdout-path = "serial0";
27 };
28
29 soc {
700dfee1
RH
30 serial@78af000 {
31 status = "okay";
32 pinctrl-names = "default", "sleep";
33 pinctrl-0 = <&blsp1_uart1_default>;
34 pinctrl-1 = <&blsp1_uart1_sleep>;
35 };
36
282703e8
KG
37 serial@78b0000 {
38 status = "okay";
39 pinctrl-names = "default", "sleep";
40 pinctrl-0 = <&blsp1_uart2_default>;
41 pinctrl-1 = <&blsp1_uart2_sleep>;
42 };
9943230c 43
7c6764b0
SK
44 i2c@78b6000 {
45 /* On Low speed expansion */
46 status = "okay";
47 };
48
49 i2c@78b8000 {
50 /* On High speed expansion */
51 status = "okay";
52 };
53
54 i2c@78ba000 {
55 /* On Low speed expansion */
56 status = "okay";
57 };
58
00a9e053
SK
59 spi@78b7000 {
60 /* On High speed expansion */
61 status = "okay";
62 };
63
64 spi@78b9000 {
65 /* On Low speed expansion */
66 status = "okay";
67 };
68
9943230c
II
69 leds {
70 pinctrl-names = "default";
71 pinctrl-0 = <&msmgpio_leds>,
72 <&pm8916_gpios_leds>,
73 <&pm8916_mpps_leds>;
74
75 compatible = "gpio-leds";
76
77 led@1 {
78 label = "apq8016-sbc:green:user1";
79 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
80 linux,default-trigger = "heartbeat";
81 default-state = "off";
82 };
83
84 led@2 {
85 label = "apq8016-sbc:green:user2";
86 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
87 linux,default-trigger = "mmc0";
88 default-state = "off";
89 };
90
91 led@3 {
92 label = "apq8016-sbc:green:user3";
93 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
94 linux,default-trigger = "mmc1";
95 default-state = "off";
96 };
97
98 led@4 {
99 label = "apq8016-sbc:green:user4";
100 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
101 linux,default-trigger = "none";
102 default-state = "off";
103 };
104
105 led@5 {
106 label = "apq8016-sbc:yellow:wlan";
107 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
108 linux,default-trigger = "wlan";
109 default-state = "off";
110 };
111
112 led@6 {
113 label = "apq8016-sbc:blue:bt";
114 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
115 linux,default-trigger = "bt";
116 default-state = "off";
117 };
118 };
282703e8
KG
119 };
120};
5941c9bb
GD
121
122&sdhc_1 {
123 status = "okay";
124};
This page took 0.082751 seconds and 5 git commands to generate.