__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * This header provides constants for OMAP pinctrl bindings.
 *
 * Copyright (C) 2009 Nokia
 * Copyright (C) 2009-2010 Texas Instruments
 */

#ifndef _DT_BINDINGS_PINCTRL_OMAP_H
#define _DT_BINDINGS_PINCTRL_OMAP_H

/* 34xx mux mode options for each pin. See TRM for options */
#define MUX_MODE0	0
#define MUX_MODE1	1
#define MUX_MODE2	2
#define MUX_MODE3	3
#define MUX_MODE4	4
#define MUX_MODE5	5
#define MUX_MODE6	6
#define MUX_MODE7	7

/* 24xx/34xx mux bit defines */
#define PULL_ENA		(1 << 3)
#define PULL_UP			(1 << 4)
#define ALTELECTRICALSEL	(1 << 5)

/* omap3/4/5 specific mux bit defines */
#define INPUT_EN		(1 << 8)
#define OFF_EN			(1 << 9)
#define OFFOUT_EN		(1 << 10)
#define OFFOUT_VAL		(1 << 11)
#define OFF_PULL_EN		(1 << 12)
#define OFF_PULL_UP		(1 << 13)
#define WAKEUP_EN		(1 << 14)
#define WAKEUP_EVENT		(1 << 15)

/* Active pin states */
#define PIN_OUTPUT		0
#define PIN_OUTPUT_PULLUP	(PIN_OUTPUT | PULL_ENA | PULL_UP)
#define PIN_OUTPUT_PULLDOWN	(PIN_OUTPUT | PULL_ENA)
#define PIN_INPUT		INPUT_EN
#define PIN_INPUT_PULLUP	(PULL_ENA | INPUT_EN | PULL_UP)
#define PIN_INPUT_PULLDOWN	(PULL_ENA | INPUT_EN)

/* Off mode states */
#define PIN_OFF_NONE		0
#define PIN_OFF_OUTPUT_HIGH	(OFF_EN | OFFOUT_EN | OFFOUT_VAL)
#define PIN_OFF_OUTPUT_LOW	(OFF_EN | OFFOUT_EN)
#define PIN_OFF_INPUT_PULLUP	(OFF_EN | OFFOUT_EN | OFF_PULL_EN | OFF_PULL_UP)
#define PIN_OFF_INPUT_PULLDOWN	(OFF_EN | OFFOUT_EN | OFF_PULL_EN)
#define PIN_OFF_WAKEUPENABLE	WAKEUP_EN

/*
 * Macros to allow using the absolute physical address instead of the
 * padconf registers instead of the offset from padconf base.
 */
#define OMAP_IOPAD_OFFSET(pa, offset)	(((pa) & 0xffff) - (offset))

#define OMAP2420_CORE_IOPAD(pa, val)	OMAP_IOPAD_OFFSET((pa), 0x0030) (val)
#define OMAP2430_CORE_IOPAD(pa, val)	OMAP_IOPAD_OFFSET((pa), 0x2030) (val)
#define OMAP3_CORE1_IOPAD(pa, val)	OMAP_IOPAD_OFFSET((pa), 0x2030) (val)
#define OMAP3430_CORE2_IOPAD(pa, val)	OMAP_IOPAD_OFFSET((pa), 0x25d8) (val)
#define OMAP3630_CORE2_IOPAD(pa, val)	OMAP_IOPAD_OFFSET((pa), 0x25a0) (val)
#define OMAP3_WKUP_IOPAD(pa, val)	OMAP_IOPAD_OFFSET((pa), 0x2a00) (val)
#define DM814X_IOPAD(pa, val)		OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define DM816X_IOPAD(pa, val)		OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define AM33XX_IOPAD(pa, val)		OMAP_IOPAD_OFFSET((pa), 0x0800) (val) (0)
#define AM33XX_PADCONF(pa, conf, mux)	OMAP_IOPAD_OFFSET((pa), 0x0800) (conf) (mux)

/*
 * Macros to allow using the offset from the padconf physical address
 * instead  of the offset from padconf base.
 */
#define OMAP_PADCONF_OFFSET(offset, base_offset)	((offset) - (base_offset))

#define OMAP4_IOPAD(offset, val)	OMAP_PADCONF_OFFSET((offset), 0x0040) (val)
#define OMAP5_IOPAD(offset, val)	OMAP_PADCONF_OFFSET((offset), 0x0040) (val)

/*
 * Define some commonly used pins configured by the boards.
 * Note that some boards use alternative pins, so check
 * the schematics before using these.
 */
#define OMAP3_UART1_RX		0x152
#define OMAP3_UART2_RX		0x14a
#define OMAP3_UART3_RX		0x16e
#define OMAP4_UART2_RX		0xdc
#define OMAP4_UART3_RX		0x104
#define OMAP4_UART4_RX		0x11c

#endif


Filemanager

Name Type Size Permission Actions
am33xx.h File 5.57 KB 0644
am43xx.h File 1.72 KB 0644
apple.h File 382 B 0644
at91.h File 1.46 KB 0644
bcm2835.h File 670 B 0644
brcm,pinctrl-stingray.h File 2.65 KB 0644
dm814x.h File 1.25 KB 0644
dra.h File 2.49 KB 0644
hisi.h File 1.63 KB 0644
k210-fpioa.h File 14.71 KB 0644
keystone.h File 764 B 0644
lochnagar.h File 4.79 KB 0644
mediatek,mt8188-pinfunc.h File 67.11 KB 0644
mt6397-pinfunc.h File 13.12 KB 0644
mt65xx.h File 1.07 KB 0644
mt6779-pinfunc.h File 59.94 KB 0644
mt6795-pinfunc.h File 40.33 KB 0644
mt6797-pinfunc.h File 64.23 KB 0644
mt7623-pinfunc.h File 31.66 KB 0644
mt8135-pinfunc.h File 70.37 KB 0644
mt8183-pinfunc.h File 54.22 KB 0644
mt8186-pinfunc.h File 57.3 KB 0644
mt8192-pinfunc.h File 65.59 KB 0644
mt8195-pinfunc.h File 46.85 KB 0644
mt8365-pinfunc.h File 46.48 KB 0644
nomadik.h File 739 B 0644
omap.h File 3.09 KB 0644
pads-imx8dxl.h File 58.6 KB 0644
pads-imx8qm.h File 55.56 KB 0644
pads-imx8qxp.h File 68.28 KB 0644
pinctrl-cv1800b.h File 1.59 KB 0644
pinctrl-cv1812h.h File 4.55 KB 0644
pinctrl-cv18xx.h File 475 B 0644
pinctrl-sg2000.h File 4.54 KB 0644
pinctrl-sg2002.h File 2 KB 0644
pinctrl-starfive-jh7100.h File 10.22 KB 0644
pinctrl-tegra-io-pad.h File 482 B 0644
pinctrl-tegra-xusb.h File 240 B 0644
pinctrl-tegra.h File 1.03 KB 0644
pinctrl-zynq.h File 426 B 0644
pinctrl-zynqmp.h File 449 B 0644
qcom,pmic-gpio.h File 5.28 KB 0644
qcom,pmic-mpp.h File 2.66 KB 0644
r7s72100-pinctrl.h File 517 B 0644
r7s9210-pinctrl.h File 1.1 KB 0644
renesas,r9a09g047-pinctrl.h File 1.03 KB 0644
renesas,r9a09g057-pinctrl.h File 853 B 0644
rockchip.h File 920 B 0644
rzg2l-pinctrl.h File 700 B 0644
rzn1-pinctrl.h File 6.8 KB 0644
rzv2m-pinctrl.h File 694 B 0644
sppctl-sp7021.h File 7.17 KB 0644
sppctl.h File 1 KB 0644
starfive,jh7110-pinctrl.h File 3.13 KB 0644
stm32-pinfunc.h File 1.01 KB 0644
sun4i-a10.h File 2.54 KB 0644
Filemanager