Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Qualcomm APQ8016 based Dragonboard 410C board device tree source |
| 4 | * |
| 5 | * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
Stephan Gerhold | 698c1df | 2021-06-27 13:06:15 +0200 | [diff] [blame] | 10 | #include <dt-bindings/gpio/gpio.h> |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 11 | |
Caleb Connolly | 3e015bc | 2023-11-21 16:34:53 +0000 | [diff] [blame^] | 12 | #include "msm8916.dtsi" |
| 13 | #include "pm8916.dtsi" |
| 14 | |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 15 | / { |
| 16 | model = "Qualcomm Technologies, Inc. Dragonboard 410c"; |
Caleb Connolly | 1ccfdb5 | 2023-11-14 19:41:44 +0000 | [diff] [blame] | 17 | compatible = "qcom,apq8016-sbc", "qcom,apq8016"; |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 18 | qcom,msm-id = <0xce 0x0 0xf8 0x0 0xf9 0x0 0xfa 0x0 0xf7 0x0>; |
| 19 | qcom,board-id = <0x10018 0x0>; |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 20 | |
Ramon Fried | 6b0861a | 2018-09-21 13:35:45 +0300 | [diff] [blame] | 21 | aliases { |
| 22 | usb0 = "/soc/ehci@78d9000"; |
Caleb Connolly | 3e015bc | 2023-11-21 16:34:53 +0000 | [diff] [blame^] | 23 | serial0 = &blsp_uart2; |
Ramon Fried | 6b0861a | 2018-09-21 13:35:45 +0300 | [diff] [blame] | 24 | }; |
| 25 | |
Caleb Connolly | 3e015bc | 2023-11-21 16:34:53 +0000 | [diff] [blame^] | 26 | memory@80000000 { |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 27 | device_type = "memory"; |
| 28 | reg = <0 0x80000000 0 0x3da00000>; |
| 29 | }; |
| 30 | |
| 31 | chosen { |
| 32 | stdout-path = "/soc/serial@78b0000"; |
| 33 | }; |
| 34 | |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 35 | leds { |
| 36 | compatible = "gpio-leds"; |
| 37 | user1 { |
| 38 | label = "green:user1"; |
Caleb Connolly | 3e015bc | 2023-11-21 16:34:53 +0000 | [diff] [blame^] | 39 | gpios = <&tlmm 21 0>; |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | user2 { |
| 43 | label = "green:user2"; |
Caleb Connolly | 3e015bc | 2023-11-21 16:34:53 +0000 | [diff] [blame^] | 44 | gpios = <&tlmm 120 0>; |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 45 | }; |
| 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 Connolly | 3e015bc | 2023-11-21 16:34:53 +0000 | [diff] [blame^] | 59 | &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 | }; |