xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/ipq5332-rdp441.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * IPQ5332 AP-MI01.2 board device tree source
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/dts-v1/;
9f126890aSEmmanuel Vadot
10*aa1a8ff2SEmmanuel Vadot#include "ipq5332-rdp-common.dtsi"
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	model = "Qualcomm Technologies, Inc. IPQ5332 MI01.2";
14f126890aSEmmanuel Vadot	compatible = "qcom,ipq5332-ap-mi01.2", "qcom,ipq5332";
15f126890aSEmmanuel Vadot};
16f126890aSEmmanuel Vadot
17f126890aSEmmanuel Vadot&blsp1_i2c1 {
18f126890aSEmmanuel Vadot	clock-frequency = <400000>;
19f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c_1_pins>;
20f126890aSEmmanuel Vadot	pinctrl-names = "default";
21f126890aSEmmanuel Vadot	status = "okay";
22f126890aSEmmanuel Vadot};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot&sdhc {
25f126890aSEmmanuel Vadot	bus-width = <4>;
26f126890aSEmmanuel Vadot	max-frequency = <192000000>;
27f126890aSEmmanuel Vadot	mmc-ddr-1_8v;
28f126890aSEmmanuel Vadot	mmc-hs200-1_8v;
29f126890aSEmmanuel Vadot	non-removable;
30f126890aSEmmanuel Vadot	pinctrl-0 = <&sdc_default_state>;
31f126890aSEmmanuel Vadot	pinctrl-names = "default";
32f126890aSEmmanuel Vadot	status = "okay";
33f126890aSEmmanuel Vadot};
34f126890aSEmmanuel Vadot
35f126890aSEmmanuel Vadot&tlmm {
36f126890aSEmmanuel Vadot	i2c_1_pins: i2c-1-state {
37f126890aSEmmanuel Vadot		pins = "gpio29", "gpio30";
38f126890aSEmmanuel Vadot		function = "blsp1_i2c0";
39f126890aSEmmanuel Vadot		drive-strength = <8>;
40f126890aSEmmanuel Vadot		bias-pull-up;
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot	sdc_default_state: sdc-default-state {
44f126890aSEmmanuel Vadot		clk-pins {
45f126890aSEmmanuel Vadot			pins = "gpio13";
46f126890aSEmmanuel Vadot			function = "sdc_clk";
47f126890aSEmmanuel Vadot			drive-strength = <8>;
48f126890aSEmmanuel Vadot			bias-disable;
49f126890aSEmmanuel Vadot		};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		cmd-pins {
52f126890aSEmmanuel Vadot			pins = "gpio12";
53f126890aSEmmanuel Vadot			function = "sdc_cmd";
54f126890aSEmmanuel Vadot			drive-strength = <8>;
55f126890aSEmmanuel Vadot			bias-pull-up;
56f126890aSEmmanuel Vadot		};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot		data-pins {
59f126890aSEmmanuel Vadot			pins = "gpio8", "gpio9", "gpio10", "gpio11";
60f126890aSEmmanuel Vadot			function = "sdc_data";
61f126890aSEmmanuel Vadot			drive-strength = <8>;
62f126890aSEmmanuel Vadot			bias-pull-up;
63f126890aSEmmanuel Vadot		};
64f126890aSEmmanuel Vadot	};
65f126890aSEmmanuel Vadot};
66