cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

msm8916-pins.dtsi (9441B)


      1// SPDX-License-Identifier: GPL-2.0-only
      2/*
      3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
      4 */
      5
      6&msmgpio {
      7
      8	blsp1_uart1_default: blsp1-uart1-default {
      9		//	TX, RX, CTS_N, RTS_N
     10		pins = "gpio0", "gpio1", "gpio2", "gpio3";
     11		function = "blsp_uart1";
     12
     13		drive-strength = <16>;
     14		bias-disable;
     15	};
     16
     17	blsp1_uart1_sleep: blsp1-uart1-sleep {
     18		pins = "gpio0", "gpio1", "gpio2", "gpio3";
     19		function = "gpio";
     20
     21		drive-strength = <2>;
     22		bias-pull-down;
     23	};
     24
     25	blsp1_uart2_default: blsp1-uart2-default {
     26		pins = "gpio4", "gpio5";
     27		function = "blsp_uart2";
     28
     29		drive-strength = <16>;
     30		bias-disable;
     31	};
     32
     33	blsp1_uart2_sleep: blsp1-uart2-sleep {
     34		pins = "gpio4", "gpio5";
     35		function = "gpio";
     36
     37		drive-strength = <2>;
     38		bias-pull-down;
     39	};
     40
     41	spi1_default: spi1-default {
     42		pins = "gpio0", "gpio1", "gpio3";
     43		function = "blsp_spi1";
     44
     45		drive-strength = <12>;
     46		bias-disable;
     47
     48		cs {
     49			pins = "gpio2";
     50			function = "gpio";
     51
     52			drive-strength = <16>;
     53			bias-disable;
     54			output-high;
     55		};
     56	};
     57
     58	spi1_sleep: spi1-sleep {
     59		pins = "gpio0", "gpio1", "gpio2", "gpio3";
     60		function = "gpio";
     61
     62		drive-strength = <2>;
     63		bias-pull-down;
     64	};
     65
     66	spi2_default: spi2-default {
     67		pins = "gpio4", "gpio5", "gpio7";
     68		function = "blsp_spi2";
     69
     70		drive-strength = <12>;
     71		bias-disable;
     72
     73		cs {
     74			pins = "gpio6";
     75			function = "gpio";
     76
     77			drive-strength = <16>;
     78			bias-disable;
     79			output-high;
     80		};
     81	};
     82
     83	spi2_sleep: spi2-sleep {
     84		pins = "gpio4", "gpio5", "gpio6", "gpio7";
     85		function = "gpio";
     86
     87		drive-strength = <2>;
     88		bias-pull-down;
     89	};
     90
     91	spi3_default: spi3-default {
     92		pins = "gpio8", "gpio9", "gpio11";
     93		function = "blsp_spi3";
     94
     95		drive-strength = <12>;
     96		bias-disable;
     97
     98		cs {
     99			pins = "gpio10";
    100			function = "gpio";
    101
    102			drive-strength = <16>;
    103			bias-disable;
    104			output-high;
    105		};
    106	};
    107
    108	spi3_sleep: spi3-sleep {
    109		pins = "gpio8", "gpio9", "gpio10", "gpio11";
    110		function = "gpio";
    111
    112		drive-strength = <2>;
    113		bias-pull-down;
    114	};
    115
    116	spi4_default: spi4-default {
    117		pins = "gpio12", "gpio13", "gpio15";
    118		function = "blsp_spi4";
    119
    120		drive-strength = <12>;
    121		bias-disable;
    122
    123		cs {
    124			pins = "gpio14";
    125			function = "gpio";
    126
    127			drive-strength = <16>;
    128			bias-disable;
    129			output-high;
    130		};
    131	};
    132
    133	spi4_sleep: spi4-sleep {
    134		pins = "gpio12", "gpio13", "gpio14", "gpio15";
    135		function = "gpio";
    136
    137		drive-strength = <2>;
    138		bias-pull-down;
    139	};
    140
    141	spi5_default: spi5-default {
    142		pins = "gpio16", "gpio17", "gpio19";
    143		function = "blsp_spi5";
    144
    145		drive-strength = <12>;
    146		bias-disable;
    147
    148		cs {
    149			pins = "gpio18";
    150			function = "gpio";
    151
    152			drive-strength = <16>;
    153			bias-disable;
    154			output-high;
    155		};
    156	};
    157
    158	spi5_sleep: spi5-sleep {
    159		pins = "gpio16", "gpio17", "gpio18", "gpio19";
    160		function = "gpio";
    161
    162		drive-strength = <2>;
    163		bias-pull-down;
    164	};
    165
    166	spi6_default: spi6-default {
    167		pins = "gpio20", "gpio21", "gpio23";
    168		function = "blsp_spi6";
    169
    170		drive-strength = <12>;
    171		bias-disable;
    172
    173		cs {
    174			pins = "gpio22";
    175			function = "gpio";
    176
    177			drive-strength = <16>;
    178			bias-disable;
    179			output-high;
    180		};
    181	};
    182
    183	spi6_sleep: spi6-sleep {
    184		pins = "gpio20", "gpio21", "gpio22", "gpio23";
    185		function = "gpio";
    186
    187		drive-strength = <2>;
    188		bias-pull-down;
    189	};
    190
    191	i2c1_default: i2c1-default {
    192		pins = "gpio2", "gpio3";
    193		function = "blsp_i2c1";
    194
    195		drive-strength = <2>;
    196		bias-disable;
    197	};
    198
    199	i2c1_sleep: i2c1-sleep {
    200		pins = "gpio2", "gpio3";
    201		function = "gpio";
    202
    203		drive-strength = <2>;
    204		bias-disable;
    205	};
    206
    207	i2c2_default: i2c2-default {
    208		pins = "gpio6", "gpio7";
    209		function = "blsp_i2c2";
    210
    211		drive-strength = <2>;
    212		bias-disable;
    213	};
    214
    215	i2c2_sleep: i2c2-sleep {
    216		pins = "gpio6", "gpio7";
    217		function = "gpio";
    218
    219		drive-strength = <2>;
    220		bias-disable;
    221	};
    222
    223	i2c3_default: i2c3-default {
    224		pins = "gpio10", "gpio11";
    225		function = "blsp_i2c3";
    226
    227		drive-strength = <2>;
    228		bias-disable;
    229	};
    230
    231	i2c3_sleep: i2c3-sleep {
    232		pins = "gpio10", "gpio11";
    233		function = "gpio";
    234
    235		drive-strength = <2>;
    236		bias-disable;
    237	};
    238
    239	i2c4_default: i2c4-default {
    240		pins = "gpio14", "gpio15";
    241		function = "blsp_i2c4";
    242
    243		drive-strength = <2>;
    244		bias-disable;
    245	};
    246
    247	i2c4_sleep: i2c4-sleep {
    248		pins = "gpio14", "gpio15";
    249		function = "gpio";
    250
    251		drive-strength = <2>;
    252		bias-disable;
    253	};
    254
    255	i2c5_default: i2c5-default {
    256		pins = "gpio18", "gpio19";
    257		function = "blsp_i2c5";
    258
    259		drive-strength = <2>;
    260		bias-disable;
    261	};
    262
    263	i2c5_sleep: i2c5-sleep {
    264		pins = "gpio18", "gpio19";
    265		function = "gpio";
    266
    267		drive-strength = <2>;
    268		bias-disable;
    269	};
    270
    271	i2c6_default: i2c6-default {
    272		pins = "gpio22", "gpio23";
    273		function = "blsp_i2c6";
    274
    275		drive-strength = <2>;
    276		bias-disable;
    277	};
    278
    279	i2c6_sleep: i2c6-sleep {
    280		pins = "gpio22", "gpio23";
    281		function = "gpio";
    282
    283		drive-strength = <2>;
    284		bias-disable;
    285	};
    286
    287	pmx-sdc1-clk {
    288		sdc1_clk_on: clk-on {
    289			pins = "sdc1_clk";
    290
    291			bias-disable;
    292			drive-strength = <16>;
    293		};
    294		sdc1_clk_off: clk-off {
    295			pins = "sdc1_clk";
    296
    297			bias-disable;
    298			drive-strength = <2>;
    299		};
    300	};
    301
    302	pmx-sdc1-cmd {
    303		sdc1_cmd_on: cmd-on {
    304			pins = "sdc1_cmd";
    305
    306			bias-pull-up;
    307			drive-strength = <10>;
    308		};
    309		sdc1_cmd_off: cmd-off {
    310			pins = "sdc1_cmd";
    311
    312			bias-pull-up;
    313			drive-strength = <2>;
    314		};
    315	};
    316
    317	pmx-sdc1-data {
    318		sdc1_data_on: data-on {
    319			pins = "sdc1_data";
    320
    321			bias-pull-up;
    322			drive-strength = <10>;
    323		};
    324		sdc1_data_off: data-off {
    325			pins = "sdc1_data";
    326
    327			bias-pull-up;
    328			drive-strength = <2>;
    329		};
    330	};
    331
    332	pmx-sdc2-clk {
    333		sdc2_clk_on: clk-on {
    334			pins = "sdc2_clk";
    335
    336			bias-disable;
    337			drive-strength = <16>;
    338		};
    339		sdc2_clk_off: clk-off {
    340			pins = "sdc2_clk";
    341
    342			bias-disable;
    343			drive-strength = <2>;
    344		};
    345	};
    346
    347	pmx-sdc2-cmd {
    348		sdc2_cmd_on: cmd-on {
    349			pins = "sdc2_cmd";
    350
    351			bias-pull-up;
    352			drive-strength = <10>;
    353		};
    354		sdc2_cmd_off: cmd-off {
    355			pins = "sdc2_cmd";
    356
    357			bias-pull-up;
    358			drive-strength = <2>;
    359		};
    360	};
    361
    362	pmx-sdc2-data {
    363		sdc2_data_on: data-on {
    364			pins = "sdc2_data";
    365
    366			bias-pull-up;
    367			drive-strength = <10>;
    368		};
    369		sdc2_data_off: data-off {
    370			pins = "sdc2_data";
    371
    372			bias-pull-up;
    373			drive-strength = <2>;
    374		};
    375	};
    376
    377	pmx-sdc2-cd-pin {
    378		sdc2_cd_on: cd-on {
    379			pins = "gpio38";
    380			function = "gpio";
    381
    382			drive-strength = <2>;
    383			bias-pull-up;
    384		};
    385		sdc2_cd_off: cd-off {
    386			pins = "gpio38";
    387			function = "gpio";
    388
    389			drive-strength = <2>;
    390			bias-disable;
    391		};
    392	};
    393
    394	cdc-pdm-lines {
    395		cdc_pdm_lines_act: pdm-lines-on {
    396			pins = "gpio63", "gpio64", "gpio65", "gpio66",
    397			       "gpio67", "gpio68";
    398			function = "cdc_pdm0";
    399
    400			drive-strength = <8>;
    401			bias-disable;
    402		};
    403		cdc_pdm_lines_sus: pdm-lines-off {
    404			pins = "gpio63", "gpio64", "gpio65", "gpio66",
    405			       "gpio67", "gpio68";
    406			function = "cdc_pdm0";
    407
    408			drive-strength = <2>;
    409			bias-pull-down;
    410		};
    411	};
    412
    413	ext-pri-tlmm-lines {
    414		ext_pri_tlmm_lines_act: ext-pa-on {
    415			pins = "gpio113", "gpio114", "gpio115", "gpio116";
    416			function = "pri_mi2s";
    417
    418			drive-strength = <8>;
    419			bias-disable;
    420		};
    421		ext_pri_tlmm_lines_sus: ext-pa-off {
    422			pins = "gpio113", "gpio114", "gpio115", "gpio116";
    423			function = "pri_mi2s";
    424
    425			drive-strength = <2>;
    426			bias-disable;
    427		};
    428	};
    429
    430	ext-pri-ws-line {
    431		ext_pri_ws_act: ext-pa-on {
    432			pins = "gpio110";
    433			function = "pri_mi2s_ws";
    434
    435			drive-strength = <8>;
    436			bias-disable;
    437		};
    438		ext_pri_ws_sus: ext-pa-off {
    439			pins = "gpio110";
    440			function = "pri_mi2s_ws";
    441
    442			drive-strength = <2>;
    443			bias-disable;
    444		};
    445	};
    446
    447	ext-mclk-tlmm-lines {
    448		ext_mclk_tlmm_lines_act: mclk-lines-on {
    449			pins = "gpio116";
    450			function = "pri_mi2s";
    451
    452			drive-strength = <8>;
    453			bias-disable;
    454		};
    455		ext_mclk_tlmm_lines_sus: mclk-lines-off {
    456			pins = "gpio116";
    457			function = "pri_mi2s";
    458
    459			drive-strength = <2>;
    460			bias-disable;
    461		};
    462	};
    463
    464	/* secondary Mi2S */
    465	ext-sec-tlmm-lines {
    466		ext_sec_tlmm_lines_act: tlmm-lines-on {
    467			pins = "gpio112", "gpio117", "gpio118", "gpio119";
    468			function = "sec_mi2s";
    469
    470			drive-strength = <8>;
    471			bias-disable;
    472		};
    473		ext_sec_tlmm_lines_sus: tlmm-lines-off {
    474			pins = "gpio112", "gpio117", "gpio118", "gpio119";
    475			function = "sec_mi2s";
    476
    477			drive-strength = <2>;
    478			bias-disable;
    479		};
    480	};
    481
    482	cdc-dmic-lines {
    483		cdc_dmic_lines_act: dmic-lines-on {
    484			clk {
    485				pins = "gpio0";
    486				function = "dmic0_clk";
    487
    488				drive-strength = <8>;
    489			};
    490			data {
    491				pins = "gpio1";
    492				function = "dmic0_data";
    493
    494				drive-strength = <8>;
    495			};
    496		};
    497		cdc_dmic_lines_sus: dmic-lines-off {
    498			clk {
    499				pins = "gpio0";
    500				function = "dmic0_clk";
    501
    502				drive-strength = <2>;
    503				bias-disable;
    504			};
    505			data {
    506				pins = "gpio1";
    507				function = "dmic0_data";
    508
    509				drive-strength = <2>;
    510				bias-disable;
    511			};
    512		};
    513	};
    514
    515	wcnss_pin_a: wcnss-active {
    516		pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
    517		function = "wcss_wlan";
    518
    519		drive-strength = <6>;
    520		bias-pull-up;
    521	};
    522
    523	cci0_default: cci0-default {
    524		pins = "gpio29", "gpio30";
    525		function = "cci_i2c";
    526
    527		drive-strength = <16>;
    528		bias-disable;
    529	};
    530
    531	camera_front_default: camera-front-default {
    532		pwdn {
    533			pins = "gpio33";
    534			function = "gpio";
    535
    536			drive-strength = <16>;
    537			bias-disable;
    538		};
    539		rst {
    540			pins = "gpio28";
    541			function = "gpio";
    542
    543			drive-strength = <16>;
    544			bias-disable;
    545		};
    546		mclk1 {
    547			pins = "gpio27";
    548			function = "cam_mclk1";
    549
    550			drive-strength = <16>;
    551			bias-disable;
    552		};
    553	};
    554
    555	camera_rear_default: camera-rear-default {
    556		pwdn {
    557			pins = "gpio34";
    558			function = "gpio";
    559
    560			drive-strength = <16>;
    561			bias-disable;
    562		};
    563		rst {
    564			pins = "gpio35";
    565			function = "gpio";
    566
    567			drive-strength = <16>;
    568			bias-disable;
    569		};
    570		mclk0 {
    571			pins = "gpio26";
    572			function = "cam_mclk0";
    573
    574			drive-strength = <16>;
    575			bias-disable;
    576		};
    577	};
    578};