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