xref: /linux/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts (revision 8e1bb4a41aa78d6105e59186af3dcd545fc66e70)
1// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2/*
3 * IPQ5018 MP03.1-C2 board device tree source
4 *
5 * Copyright (c) 2023 The Linux Foundation. All rights reserved.
6 */
7
8/dts-v1/;
9
10#include "ipq5018.dtsi"
11
12/ {
13	model = "Qualcomm Technologies, Inc. IPQ5018/AP-RDP432.1-C2";
14	compatible = "qcom,ipq5018-rdp432-c2", "qcom,ipq5018";
15
16	aliases {
17		serial0 = &blsp1_uart1;
18	};
19
20	chosen {
21		stdout-path = "serial0:115200n8";
22	};
23};
24
25&blsp1_uart1 {
26	pinctrl-0 = <&uart1_pins>;
27	pinctrl-names = "default";
28	status = "okay";
29};
30
31&sdhc_1 {
32	pinctrl-0 = <&sdc_default_state>;
33	pinctrl-names = "default";
34	mmc-ddr-1_8v;
35	mmc-hs200-1_8v;
36	max-frequency = <192000000>;
37	bus-width = <4>;
38	status = "okay";
39};
40
41&sleep_clk {
42	clock-frequency = <32000>;
43};
44
45&tlmm {
46	sdc_default_state: sdc-default-state {
47		clk-pins {
48			pins = "gpio9";
49			function = "sdc1_clk";
50			drive-strength = <8>;
51			bias-disable;
52		};
53
54		cmd-pins {
55			pins = "gpio8";
56			function = "sdc1_cmd";
57			drive-strength = <8>;
58			bias-pull-up;
59		};
60
61		data-pins {
62			pins = "gpio4", "gpio5", "gpio6", "gpio7";
63			function = "sdc1_data";
64			drive-strength = <8>;
65			bias-disable;
66		};
67	};
68};
69
70&usb {
71	status = "okay";
72};
73
74&usb_dwc {
75	dr_mode = "host";
76};
77
78&usbphy0 {
79	status = "okay";
80};
81
82&xo_board_clk {
83	clock-frequency = <24000000>;
84};
85