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

qcom,ipq8064-pinctrl.txt (3343B)


      1Qualcomm IPQ8064 TLMM block
      2
      3Required properties:
      4- compatible: "qcom,ipq8064-pinctrl"
      5- reg: Should be the base address and length of the TLMM block.
      6- interrupts: Should be the parent IRQ of the TLMM block.
      7- interrupt-controller: Marks the device node as an interrupt controller.
      8- #interrupt-cells: Should be two.
      9- gpio-controller: Marks the device node as a GPIO controller.
     10- #gpio-cells : Should be two.
     11                The first cell is the gpio pin number and the
     12                second cell is used for optional parameters.
     13- gpio-ranges: see ../gpio/gpio.txt
     14
     15Optional properties:
     16
     17- gpio-reserved-ranges: see ../gpio/gpio.txt
     18
     19Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
     20a general description of GPIO and interrupt bindings.
     21
     22Please refer to pinctrl-bindings.txt in this directory for details of the
     23common pinctrl bindings used by client devices, including the meaning of the
     24phrase "pin configuration node".
     25
     26Qualcomm's pin configuration nodes act as a container for an arbitrary number of
     27subnodes. Each of these subnodes represents some desired configuration for a
     28pin, a group, or a list of pins or groups. This configuration can include the
     29mux function to select on those pin(s)/group(s), and various pin configuration
     30parameters, such as pull-up, drive strength, etc.
     31
     32The name of each subnode is not important; all subnodes should be enumerated
     33and processed purely based on their content.
     34
     35Each subnode only affects those parameters that are explicitly listed. In
     36other words, a subnode that lists a mux function but no pin configuration
     37parameters implies no information about any pin configuration parameters.
     38Similarly, a pin subnode that describes a pullup parameter implies no
     39information about e.g. the mux function.
     40
     41
     42The following generic properties as defined in pinctrl-bindings.txt are valid
     43to specify in a pin configuration subnode:
     44
     45 pins, function, bias-disable, bias-pull-down, bias-pull-up, drive-strength,
     46 output-low, output-high.
     47
     48Non-empty subnodes must specify the 'pins' property.
     49
     50Valid values for qcom,pins are:
     51  gpio0-gpio68
     52   Supports mux, bias, and drive-strength
     53
     54  sdc3_clk, sdc3_cmd, sdc3_data
     55   Supports bias and drive-strength
     56
     57
     58Valid values for function are:
     59  mdio, mi2s, pdm, ssbi, spmi, audio_pcm, gpio, gsbi1, gsbi2, gsbi4, gsbi5,
     60  gsbi5_spi_cs1, gsbi5_spi_cs2, gsbi5_spi_cs3, gsbi6, gsbi7, nss_spi, sdc1,
     61  spdif, nand, tsif1, tsif2, usb_fs_n, usb_fs, usb2_hsic, rgmii2, sata,
     62  pcie1_rst, pcie1_prsnt, pcie1_pwren_n, pcie1_pwren, pcie1_pwrflt,
     63  pcie1_clk_req, pcie2_rst, pcie2_prsnt, pcie2_pwren_n, pcie2_pwren,
     64  pcie2_pwrflt, pcie2_clk_req, pcie3_rst, pcie3_prsnt, pcie3_pwren_n,
     65  pcie3_pwren, pcie3_pwrflt, pcie3_clk_req, ps_hold
     66
     67Example:
     68
     69	pinmux: pinctrl@800000 {
     70		compatible = "qcom,ipq8064-pinctrl";
     71		reg = <0x800000 0x4000>;
     72
     73		gpio-controller;
     74		#gpio-cells = <2>;
     75		gpio-ranges = <&pinmux 0 0 69>;
     76		interrupt-controller;
     77		#interrupt-cells = <2>;
     78		interrupts = <0 32 0x4>;
     79
     80		pinctrl-names = "default";
     81		pinctrl-0 = <&gsbi5_uart_default>;
     82
     83		gsbi5_uart_default: gsbi5_uart_default {
     84			mux {
     85				pins = "gpio18", "gpio19";
     86				function = "gsbi5";
     87			};
     88
     89			tx {
     90				pins = "gpio18";
     91				drive-strength = <4>;
     92				bias-disable;
     93			};
     94
     95			rx {
     96				pins = "gpio19";
     97				drive-strength = <2>;
     98				bias-pull-up;
     99			};
    100		};
    101	};