summaryrefstree
path: root/kernel/arch/arm64/boot/dts/exynos7420-zenlte_modem-mdm9x35.dtsi
blob: 5740f05945d96cf0d943db6bd4cd8a3572763025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/*
 * SAMSUNG board device tree source
 *
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
 *             http://www.samsung.com
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

/ {

	mdm1: qcom,mdm1  {
                compatible = "qcom,ext-mdm9x35";

		pinctrl-names = "default";
		pinctrl-0 = <&ap2mdm_errfatal &ap2mdm_soft_reset &ap2mdm_hostrdy &ap2mdm_status
				&ap2mdm_hsic_ready &ap2mdm_vddmin>;

                qcom,ramdump-delay-ms = <2000>;
                qcom,ramdump-timeout-ms = <120000>;
		qcom,sfr-query;
		qcom,sysmon-subsys-id = <20>;
		qcom,support-shutdown;

		qcom,mdm2ap-errfatal-gpio = <&gpa3 0 0xf>;
		qcom,ap2mdm-errfatal-gpio = <&gpa3 4 0x1>;
		qcom,mdm2ap-status-gpio   = <&gpa1 0 0xf>;
		qcom,ap2mdm-status-gpio   = <&gpf0 4 0x1>;
		qcom,ap2mdm-soft-reset-gpio = <&gpf5 0 0x1>;
		qcom,mdm2ap-pblrdy-gpio = <&gpf2 2 0xf>;
		qcom,ap2mdm-vddmin-gpio = <&gpf2 1 0x1>;
		qcom,mdm2ap-vddmin-gpio = <&gpf2 0 0x0>;
		qcom,ap2mdm-hsic-ready-gpio = <&gpf2 3 0x1>;
	};

	mdmpm_pdata {
                compatible = "qcom,mdm-hsic-pm";

		/* TODO below gpio check */
		qcom,ap2mdm-hostrdy-gpio = <&gpf3 3 0x1>; /* power active */
		qcom,mdm2ap-devicerdy-gpio = <&gpa1 1 0x0>;/* power active */
		qcom,mdm2ap-hostwake-gpio = <&gpa3 1 0xf>;

		reg = <0x15510000 0x100>, /* EHCI */
		      <0x15530000 0x100>, /* PHY */
		      <0x105C0704 0xC>, /* PMU */
		      <0x156E0204 0xC>; /* USB phy clk CMU_FSYS1 */
	};

 	pinctrl@10580000{
		ap2mdm_errfatal: ap2mdm_errfatal {
			samsung,pins = "gpa3-4";
			samsung,pin-function = <0x1>;	/* OUT */
			samsung,pin-pud = <1>;			/* PULL DOWN */
			samsung,pin-drv = <0>;
		};
	};
 	pinctrl@14870000{
		ap2mdm_soft_reset: ap2mdm_soft_reset {
			samsung,pins = "gpf5-0";
			samsung,pin-function = <0x1>;	/* OUT */
			samsung,pin-pud = <0>;			/* No PULL */
			samsung,pin-drv = <0>;
		};
		ap2mdm_hostrdy: ap2mdm_hostrdy {
			samsung,pins = "gpf3-3";
			samsung,pin-function = <0x1>;	/* OUT */
			samsung,pin-pud = <1>;			/* PULL DOWN */
			samsung,pin-drv = <0>;
		};
		ap2mdm_status: ap2mdm_status {
			samsung,pins = "gpf0-4";
			samsung,pin-function = <0x1>;	/* OUT */
			samsung,pin-pud = <3>;			/* PULL UP */
			samsung,pin-drv = <3>;
		};
		ap2mdm_hsic_ready: ap2mdm_hsic_ready {
			samsung,pins = "gpf2-3";
			samsung,pin-function = <0x1>;	/* OUT */
			samsung,pin-pud = <1>;			/* PULL DOWN */
			samsung,pin-drv = <0>;
		};

		ap2mdm_vddmin: ap2mdm_vddmin {
			samsung,pins = "gpf2-1";
			samsung,pin-function = <0x1>;	/* OUT */
			samsung,pin-pud = <1>;			/* PULL DOWN */
			samsung,pin-drv = <0>;
		};
	};

	mhi: qcom,mhi {
		compatible = "qcom,msm_pcie";
		mhi-device-wake-gpio = <&gpf4 2 0x1>;
		esoc-names = "mdm";
		esoc-0 = <&mdm1>;
	};

	pcie0@155C0000 {
		status = "okay";
	};

};