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