brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · d8cce73 Raw
51 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/gpio/rockchip,rk3328-grf-gpio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Rockchip RK3328 General Register Files GPIO controller8 9description:10  The Rockchip RK3328 General Register File (GRF) outputs only the11  GPIO_MUTE pin, originally for codec mute control, but it can also be used12  for general purpose. It is manipulated by the GRF_SOC_CON10 register.13  If needed in the future support for the HDMI pins can also be added.14  The GPIO node should be declared as the child of the GRF node.15 16  The GPIO_MUTE pin is referred to in the format17 18  <&grf_gpio 0 GPIO_ACTIVE_LOW>19 20  The first cell is the pin number and21  the second cell is used to specify the GPIO polarity22    0 = Active high23    1 = Active low24 25maintainers:26  - Heiko Stuebner <heiko@sntech.de>27 28properties:29  compatible:30    const: rockchip,rk3328-grf-gpio31 32  gpio-controller: true33 34  "#gpio-cells":35    const: 236 37required:38  - compatible39  - gpio-controller40  - "#gpio-cells"41 42additionalProperties: false43 44examples:45  - |46    grf_gpio: gpio {47      compatible = "rockchip,rk3328-grf-gpio";48      gpio-controller;49      #gpio-cells = <2>;50    };51