Home
last modified time | relevance | path

Searched +full:rk3328 +full:- +full:grf +full:- +full:gpio (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Drockchip,rk3328-grf-gpio.txt1 Rockchip RK3328 GRF (General Register Files) GPIO controller.
3 In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute
5 GRF_SOC_CON10 register in GRF. Aside from the GPIO_MUTE pin, the HDMI pins can
8 Currently this GPIO controller only supports the mute pin. If needed in the
12 - compatible: Should contain "rockchip,rk3328-grf-gpio".
13 - gpio-controller: Marks the device node as a gpio controller.
14 - #gpio-cells: Should be 2. The first cell is the pin number and
15 the second cell is used to specify the gpio polarity:
21 grf: syscon@ff100000 {
22 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
[all …]
H A Drockchip,rk3328-grf-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/gpio/rockchip,rk3328-grf-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip RK3328 General Register Files GPIO controller
10 The Rockchip RK3328 General Register File (GRF) outputs only the
14 The GPIO node should be declared as the child of the GRF node.
21 the second cell is used to specify the GPIO polarity
26 - Heiko Stuebner <heiko@sntech.de>
30 const: rockchip,rk3328-grf-gpio
[all …]
/freebsd/sys/contrib/device-tree/Bindings/soc/rockchip/
H A Dgrf.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip General Register Files (GRF)
10 - Heik
[all...]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Drockchip,rk3328-codec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip rk3328 internal codec
10 - Heiko Stuebner <heiko@sntech.de>
12 - $ref: dai-common.yaml#
17 const: rockchip,rk3328-codec
24 - description: clock for audio codec
25 - description: clock for I2S master clock
[all …]
H A Drockchip,rk3328-codec.txt1 * Rockchip Rk3328 internal codec
5 - compatible: "rockchip,rk3328-codec"
6 - reg: physical base address of the controller and length of memory mapped
8 - rockchip,grf: the phandle of the syscon node for GRF register.
9 - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
10 - clock-names: should be "pclk".
11 - spk-depop-time-ms: speak depop time msec.
15 - mute-gpios: GPIO specifier for external line driver control (typically the
18 Example for rk3328 internal codec:
21 compatible = "rockchip,rk3328-codec";
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3328.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3328-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-binding
284 grf: syscon@ff100000 { global() label
[all...]
H A Drk356x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3568-cru.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/interrupt-controlle
386 grf: syscon@fdc60000 { global() label
[all...]
H A Drk3308.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/clock/rk3308-cru.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controlle
167 grf: grf@ff000000 { global() label
[all...]
H A Dpx30.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/px30-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controlle
454 grf: syscon@ff140000 { global() label
[all...]
H A Drk3588s.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rockchip,rk3588-cru.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/interrupt-controlle
[all...]
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Drockchip,pinctrl.txt6 muxing options with option 0 being the use as a GPIO.
8 Please refer to pinctrl-bindings.txt in this directory for details of the
16 settings such as pull-up, etc.
19 defined as gpio sub-nodes of the pinmux controller.
22 - compatible: should be
23 "rockchip,px30-pinctrl": for Rockchip PX30
24 "rockchip,rv1108-pinctrl": for Rockchip RV1108
25 "rockchip,rk2928-pinctrl": for Rockchip RK2928
26 "rockchip,rk3066a-pinctrl": for Rockchip RK3066a
27 "rockchip,rk3066b-pinctrl": for Rockchip RK3066b
[all …]
H A Drockchip,pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiko Stuebner <heiko@sntech.de>
16 options with option 0 being used as a GPIO.
18 Please refer to pinctrl-binding
[all...]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Drockchip-dwmac.txt6 - compatible: should be "rockchip,<name>-gamc"
7 "rockchip,px30-gmac": found on PX30 SoCs
8 "rockchip,rk3128-gmac": found on RK312x SoCs
9 "rockchip,rk3228-gmac": found on RK322x SoCs
10 "rockchip,rk3288-gmac": found on RK3288 SoCs
11 "rockchip,rk3328-gmac": found on RK3328 SoCs
12 "rockchip,rk3366-gmac": found on RK3366 SoCs
13 "rockchip,rk3368-gmac": found on RK3368 SoCs
14 "rockchip,rk3399-gmac": found on RK3399 SoCs
15 "rockchip,rv1108-gmac": found on RV1108 SoCs
[all …]
/freebsd/sys/contrib/device-tree/Bindings/thermal/
H A Drockchip-thermal.txt4 - compatible : should be "rockchip,<name>-tsadc"
5 "rockchip,px30-tsadc": found on PX30 SoCs
6 "rockchip,rv1108-tsadc": found on RV1108 SoCs
7 "rockchip,rk3228-tsadc": found on RK3228 SoCs
8 "rockchip,rk3288-tsadc": found on RK3288 SoCs
9 "rockchip,rk3328-tsadc": found on RK3328 SoCs
10 "rockchip,rk3368-tsadc": found on RK3368 SoCs
11 "rockchip,rk3399-tsadc": found on RK3399 SoCs
12 - reg : physical base address of the controller and length of memory mapped
14 - interrupts : The interrupt number to the cpu. The interrupt specifier format
[all …]
H A Drockchip-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/thermal/rockchip-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiko Stuebner <heiko@sntech.de>
15 - rockchip,px30-tsadc
16 - rockchip,rk3228-tsadc
17 - rockchip,rk3288-tsadc
18 - rockchip,rk3328-tsadc
19 - rockchip,rk3368-tsadc
[all …]
/freebsd/sys/arm64/rockchip/
H A Drk_tsadc.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
38 #include <sys/gpio.h>
93 /* V7 GRF register */
100 #define WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res, (_r), (_v))
101 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, (_r))
141 struct syscon *grf; member
153 {3800, -40000},
154 {3792, -35000},
155 {3783, -30000},
[all …]
H A Drk_pinctrl.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
33 #include <sys/gpio.h>
108 struct syscon *grf; member
114 #define RK_PINCTRL_LOCK(_sc) mtx_lock_spin(&(_sc)->mtx)
115 #define RK_PINCTRL_UNLOCK(_sc) mtx_unlock_spin(&(_sc)->mtx)
116 #define RK_PINCTRL_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED)
181 /* 5,0 - Empty */
184 /* 5,3 - Empty */
188 /* 6,3 - Empty */
[all …]
/freebsd/sys/dev/clk/rockchip/
H A Drk3328_cru.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2018-2021 Emmanuel Vadot <manu@freebsd.org>
213 #define PCLK_WDT 236 /* Controlled from the secure GRF */
260 /* Bit 7-8 unused */
265 /* Bit 13-15 unused */
310 /* Bit 6-7 unused */
312 /* Bit 9-15 unused */
326 /* Bit 11-15 unused */
336 /* Bit 7-15 unused */
[all …]