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#include <dt-bindings/gpio/gpio.h> 13 14/ { 15 model = "Qualcomm Technologies, Inc. IPQ5018/AP-RDP432.1-C2"; 16 compatible = "qcom,ipq5018-rdp432-c2", "qcom,ipq5018"; 17 18 aliases { 19 serial0 = &blsp1_uart1; 20 }; 21 22 chosen { 23 stdout-path = "serial0:115200n8"; 24 }; 25}; 26 27&blsp1_uart1 { 28 pinctrl-0 = <&uart1_pins>; 29 pinctrl-names = "default"; 30 status = "okay"; 31}; 32 33&pcie0 { 34 pinctrl-0 = <&pcie0_default>; 35 pinctrl-names = "default"; 36 37 perst-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>; 38 wake-gpios = <&tlmm 16 GPIO_ACTIVE_LOW>; 39 40 status = "okay"; 41}; 42 43&pcie0_phy { 44 status = "okay"; 45}; 46 47&sdhc_1 { 48 pinctrl-0 = <&sdc_default_state>; 49 pinctrl-names = "default"; 50 mmc-ddr-1_8v; 51 mmc-hs200-1_8v; 52 max-frequency = <192000000>; 53 bus-width = <4>; 54 status = "okay"; 55}; 56 57&sleep_clk { 58 clock-frequency = <32000>; 59}; 60 61&tlmm { 62 pcie0_default: pcie0-default-state { 63 clkreq-n-pins { 64 pins = "gpio14"; 65 function = "pcie0_clk"; 66 drive-strength = <8>; 67 bias-pull-up; 68 }; 69 70 perst-n-pins { 71 pins = "gpio15"; 72 function = "gpio"; 73 drive-strength = <8>; 74 bias-pull-up; 75 output-low; 76 }; 77 78 wake-n-pins { 79 pins = "gpio16"; 80 function = "pcie0_wake"; 81 drive-strength = <8>; 82 bias-pull-up; 83 }; 84 }; 85 86 sdc_default_state: sdc-default-state { 87 clk-pins { 88 pins = "gpio9"; 89 function = "sdc1_clk"; 90 drive-strength = <8>; 91 bias-disable; 92 }; 93 94 cmd-pins { 95 pins = "gpio8"; 96 function = "sdc1_cmd"; 97 drive-strength = <8>; 98 bias-pull-up; 99 }; 100 101 data-pins { 102 pins = "gpio4", "gpio5", "gpio6", "gpio7"; 103 function = "sdc1_data"; 104 drive-strength = <8>; 105 bias-disable; 106 }; 107 }; 108}; 109 110&usb { 111 status = "okay"; 112}; 113 114&usb_dwc { 115 dr_mode = "host"; 116}; 117 118&usbphy0 { 119 status = "okay"; 120}; 121 122&xo_board_clk { 123 clock-frequency = <24000000>; 124}; 125