| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 |
/* |
| 3 |
* IPQ9574 RDP418 board device tree source |
| 4 |
* |
| 5 |
* Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. |
| 6 |
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. |
| 7 |
*/ |
| 8 |
|
| 9 |
/dts-v1/; |
| 10 |
|
| 11 |
#include "ipq9574-rdp-common.dtsi" |
| 12 |
|
| 13 |
/ { |
| 14 |
model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C2"; |
| 15 |
compatible = "qcom,ipq9574-ap-al02-c2", "qcom,ipq9574"; |
| 16 |
|
| 17 |
}; |
| 18 |
|
| 19 |
&sdhc_1 { |
| 20 |
pinctrl-0 = <&sdc_default_state>; |
| 21 |
pinctrl-names = "default"; |
| 22 |
mmc-ddr-1_8v; |
| 23 |
mmc-hs200-1_8v; |
| 24 |
mmc-hs400-1_8v; |
| 25 |
mmc-hs400-enhanced-strobe; |
| 26 |
max-frequency = <384000000>; |
| 27 |
bus-width = <8>; |
| 28 |
status = "okay"; |
| 29 |
}; |
| 30 |
|
| 31 |
&tlmm { |
| 32 |
sdc_default_state: sdc-default-state { |
| 33 |
clk-pins { |
| 34 |
pins = "gpio5"; |
| 35 |
function = "sdc_clk"; |
| 36 |
drive-strength = <8>; |
| 37 |
bias-disable; |
| 38 |
}; |
| 39 |
|
| 40 |
cmd-pins { |
| 41 |
pins = "gpio4"; |
| 42 |
function = "sdc_cmd"; |
| 43 |
drive-strength = <8>; |
| 44 |
bias-pull-up; |
| 45 |
}; |
| 46 |
|
| 47 |
data-pins { |
| 48 |
pins = "gpio0", "gpio1", "gpio2", |
| 49 |
"gpio3", "gpio6", "gpio7", |
| 50 |
"gpio8", "gpio9"; |
| 51 |
function = "sdc_data"; |
| 52 |
drive-strength = <8>; |
| 53 |
bias-pull-up; |
| 54 |
}; |
| 55 |
|
| 56 |
rclk-pins { |
| 57 |
pins = "gpio10"; |
| 58 |
function = "sdc_rclk"; |
| 59 |
drive-strength = <8>; |
| 60 |
bias-pull-down; |
| 61 |
}; |
| 62 |
}; |
| 63 |
}; |