Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af8cd374 authored by zhaochen's avatar zhaochen Committed by zhaoyuan cheng
Browse files

ARM: dts: msm: Add pinctrl conifg to support led and pcie on sdm845 rb3



Add bt-led, wifi-led and PCIE 3.3v config on sdm845-pinctrl

Change-Id: I3da783689e06013f63fc7bec032fdba4596e45fc
Signed-off-by: default avatarzhaoyuan cheng <zhaochen@codeaurora.org>
parent e61a939d
Loading
Loading
Loading
Loading
+45 −1
Original line number Diff line number Diff line
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -341,6 +341,32 @@
					bias-pull-up;
				};
			};

			pcie0_3v3_on: pcie0_3v3_on {
				mux {
					pins = "gpio90";
					function = "gpio";
				};
				config {
					pins = "gpio90";
					drive_strength = <2>;
					bias-disable;
					output-high;
				};
			};

			pcie0_1v5_on: pcie0_1v5_on {
				mux {
					pins = "gpio90";
					function = "gpio";
				};
				config {
					pins = "gpio90";
					drive_strength = <2>;
					bias-disable;
					output-high;
				};
			};
		};

		pcie1 {
@@ -3538,6 +3564,15 @@
		};
	};

	led_bt {
		led_bt_default: led_bt_default {
			pins = "gpio5";
			function = "normal";
			power-source = <0>;
			output-low;
		};
	};

	key_vol_up {
		key_vol_up_default: key_vol_up_default {
			pins = "gpio6";
@@ -3568,6 +3603,15 @@
		};
	};

	led_wifi {
		led_wifi_default: led_wifi_default {
			pins = "gpio9";
			function = "normal";
			power-source = <0>;
			output-low;
		};
	};

	camera_dvdd_en {
		camera_dvdd_en_default: camera_dvdd_en_default {
			pins = "gpio9";