blob: 87f95d3f5827c980d9fc219e85a0e803a19c3b2b [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Mateusz Kulikowski626f0482016-03-31 23:12:33 +02002/*
3 * Qualcomm APQ8016 based Dragonboard 410C board device tree source
4 *
5 * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Mateusz Kulikowski626f0482016-03-31 23:12:33 +02006 */
7
8/dts-v1/;
9
Stephan Gerhold698c1df2021-06-27 13:06:15 +020010#include <dt-bindings/gpio/gpio.h>
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020011
Caleb Connolly3e015bc2023-11-21 16:34:53 +000012#include "msm8916.dtsi"
13#include "pm8916.dtsi"
14
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020015/ {
16 model = "Qualcomm Technologies, Inc. Dragonboard 410c";
Caleb Connolly1ccfdb52023-11-14 19:41:44 +000017 compatible = "qcom,apq8016-sbc", "qcom,apq8016";
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020018 qcom,msm-id = <0xce 0x0 0xf8 0x0 0xf9 0x0 0xfa 0x0 0xf7 0x0>;
19 qcom,board-id = <0x10018 0x0>;
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020020
Ramon Fried6b0861a2018-09-21 13:35:45 +030021 aliases {
22 usb0 = "/soc/ehci@78d9000";
Caleb Connolly3e015bc2023-11-21 16:34:53 +000023 serial0 = &blsp_uart2;
Ramon Fried6b0861a2018-09-21 13:35:45 +030024 };
25
Caleb Connolly3e015bc2023-11-21 16:34:53 +000026 memory@80000000 {
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020027 device_type = "memory";
28 reg = <0 0x80000000 0 0x3da00000>;
29 };
30
31 chosen {
32 stdout-path = "/soc/serial@78b0000";
33 };
34
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020035 leds {
36 compatible = "gpio-leds";
37 user1 {
38 label = "green:user1";
Caleb Connolly3e015bc2023-11-21 16:34:53 +000039 gpios = <&tlmm 21 0>;
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020040 };
41
42 user2 {
43 label = "green:user2";
Caleb Connolly3e015bc2023-11-21 16:34:53 +000044 gpios = <&tlmm 120 0>;
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020045 };
46
47 user3 {
48 label = "green:user3";
49 gpios = <&pm8916_gpios 0 0>;
50 };
51
52 user4 {
53 label = "green:user4";
54 gpios = <&pm8916_gpios 1 0>;
55 };
56 };
57};
58
Caleb Connolly3e015bc2023-11-21 16:34:53 +000059&blsp_uart2 {
60 status = "okay";
61};
62
63&pm8916_gpios {
64 usb_hub_reset_pm {
65 gpios = <&pm8916_gpios 2 0>;
66 };
67
68 usb_sw_sel_pm {
69 gpios = <&pm8916_gpios 3 0>;
70 };
71};
72
73&pm8916_resin {
74 status = "okay";
75};
76
77&sdhc_1 {
78 status = "okay";
79 clock-frequency = <100000000>;
80};
81
82&sdhc_2 {
83 status = "okay";
84 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
85 clock-frequency = <200000000>;
86};
87
88&usb {
89 status = "okay";
90};