mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-13 20:16:06 +07:00
97fb5e8d9b
Based on 1 normalized pattern(s): 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 only version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 294 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141900.825281744@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
91 lines
1.6 KiB
Plaintext
91 lines
1.6 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
&msmgpio {
|
|
blsp1_uart2_default: blsp1_uart2_default {
|
|
pinmux {
|
|
function = "blsp_uart2";
|
|
pins = "gpio4", "gpio5";
|
|
};
|
|
pinconf {
|
|
pins = "gpio4", "gpio5";
|
|
drive-strength = <16>;
|
|
bias-disable;
|
|
};
|
|
};
|
|
|
|
blsp1_uart2_sleep: blsp1_uart2_sleep {
|
|
pinmux {
|
|
function = "gpio";
|
|
pins = "gpio4", "gpio5";
|
|
};
|
|
pinconf {
|
|
pins = "gpio4", "gpio5";
|
|
drive-strength = <2>;
|
|
bias-pull-down;
|
|
};
|
|
};
|
|
|
|
/* 0-3 for sdc1 4-6 for sdc2 */
|
|
/* Order of pins */
|
|
/* SDC1: CLK -> 0, CMD -> 1, DATA -> 2, RCLK -> 3 */
|
|
/* SDC2: CLK -> 4, CMD -> 5, DATA -> 6 */
|
|
sdc1_clk_on: clk-on {
|
|
pinconf {
|
|
pins = "sdc1_clk";
|
|
bias-disable = <0>; /* No pull */
|
|
drive-strength = <16>; /* 16mA */
|
|
};
|
|
};
|
|
|
|
sdc1_clk_off: clk-off {
|
|
pinconf {
|
|
pins = "sdc1_clk";
|
|
bias-disable = <0>; /* No pull */
|
|
drive-strength = <2>; /* 2mA */
|
|
};
|
|
};
|
|
|
|
sdc1_cmd_on: cmd-on {
|
|
pinconf {
|
|
pins = "sdc1_cmd";
|
|
bias-pull-up;
|
|
drive-strength = <8>;
|
|
};
|
|
};
|
|
|
|
sdc1_cmd_off: cmd-off {
|
|
pinconf {
|
|
pins = "sdc1_cmd";
|
|
bias-pull-up = <0x3>; /* same as 3.10 ?? */
|
|
drive-strength = <2>; /* 2mA */
|
|
};
|
|
};
|
|
|
|
sdc1_data_on: data-on {
|
|
pinconf {
|
|
pins = "sdc1_data";
|
|
bias-pull-up;
|
|
drive-strength = <8>; /* 8mA */
|
|
};
|
|
};
|
|
|
|
sdc1_data_off: data-off {
|
|
pinconf {
|
|
pins = "sdc1_data";
|
|
bias-pull-up;
|
|
drive-strength = <2>;
|
|
};
|
|
};
|
|
|
|
sdc1_rclk_on: rclk-on {
|
|
bias-pull-down; /* pull down */
|
|
};
|
|
|
|
sdc1_rclk_off: rclk-off {
|
|
bias-pull-down; /* pull down */
|
|
};
|
|
};
|