/openbmc/linux/drivers/clk/ |
H A D | clk-rk808.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Clkout driver for Rockchip RK808 7 * Author:Chris Zhong <zyw@rock-chips.com> 10 #include <linux/clk-provider.h> 14 #include <linux/mfd/rk808.h> 34 return regmap_update_bits(rk808_clkout->regmap, RK808_CLK32OUT_REG, in rk808_clkout2_enable() 55 int ret = regmap_read(rk808_clkout->regmap, RK808_CLK32OUT_REG, &val); in rk808_clkout2_is_prepared() 78 unsigned int idx = clkspec->args[0]; in of_clk_rk808_get() 82 return ERR_PTR(-EINVAL); in of_clk_rk808_get() 85 return idx ? &rk808_clkout->clkout2_hw : &rk808_clkout->clkout1_hw; in of_clk_rk808_get() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk808.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rockchip,rk808.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RK808 Power Management Integrated Circuit 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 14 Rockchip RK808 series PMIC. This device consists of an i2c controlled MFD 20 - rockchip,rk808 28 '#clock-cells': [all …]
|
H A D | rockchip,rk809.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 20 - rockchip,rk809 28 '#clock-cells': 30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 34 clock-output-names: 38 rockchip,system-power-controller: [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-evb-rk808.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include "rk3288-evb.dtsi" 7 model = "Rockchip RK3288 EVB RK808"; 8 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; 12 clock-frequency = <400000>; 14 rk808: pmic@1b { label 15 compatible = "rockchip,rk808"; 17 interrupt-parent = <&gpio0>; 19 pinctrl-names = "default"; [all …]
|
H A D | rk3288-vmarc-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 12 compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; 14 vccio_flash: vccio-flash-regulator { 15 compatible = "regulator-fixed"; 16 regulator-name = "vccio_flash"; 17 regulator-min-microvolt = <1800000>; 18 regulator-max-microvolt = <1800000>; 19 vin-supply = <&vcc_io>; [all …]
|
H A D | rk3188-px3-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com> 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 11 model = "Rockchip PX3-EVB"; 12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188"; 20 stdout-path = "serial2:115200n8"; 28 gpio-keys { 29 compatible = "gpio-keys"; 32 key-power { [all …]
|
H A D | rk3288-tinker.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/rockchip,rk808.h> 12 stdout-path = "serial2:115200n8"; 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; 23 clock-frequency = <125000000>; 24 clock-output-names = "ext_gmac"; 27 gpio-keys { [all …]
|
H A D | rk3036-kylin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 9 compatible = "rockchip,rk3036-kylin", "rockchip,rk3036"; 16 leds: gpio-leds { 17 compatible = "gpio-leds"; 19 work_led: led-0 { 22 pinctrl-names = "default"; 23 pinctrl-0 = <&led_ctl>; 27 sdio_pwrseq: sdio-pwrseq { 28 compatible = "mmc-pwrseq-simple"; [all …]
|
H A D | rv1126-edgeble-neu2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 compatible = "edgeble,neural-compute-module-2", "rockchip,rv1126"; 14 vccio_flash: vccio-flash-regulator { 15 compatible = "regulator-fixed"; 16 enable-active-high; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&flash_vol_sel>; 20 regulator-name = "vccio_flash"; 21 regulator-always-on; 22 regulator-boot-on; [all …]
|
H A D | rk3288-vyasa.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 10 model = "Amarula Vyasa-RK3288"; 11 compatible = "amarula,vyasa-rk3288", "rockchip,rk3288"; 14 stdout-path = &uart2; 22 dc12_vbat: dc12-vbat { 23 compatible = "regulator-fixed"; 24 regulator-name = "dc12_vbat"; 25 regulator-min-microvolt = <12000000>; 26 regulator-max-microvolt = <12000000>; [all …]
|
H A D | rk3288-popmetal.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2014, 2015 Andy Yan <andy.yan@rock-chips.com> 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 11 model = "PopMetal-RK3288"; 12 compatible = "chipspark,popmetal-rk3288", "rockchip,rk3288"; 19 ext_gmac: external-gmac-clock { 20 compatible = "fixed-clock"; 21 clock-frequency = <125000000>; 22 clock-output-names = "ext_gmac"; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3368-lion.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 6 /dts-v1/; 8 #include "rk3368-lion-u-boot.dtsi" 9 #include <dt-bindings/input/input.h> 12 model = "Theobroma Systems RK3368-uQ7 SoM"; 13 compatible = "tsd,rk3368-uq7", "tsd,lion", "rockchip,rk3368"; 25 ext_gmac: gmac-clk { 26 compatible = "fixed-clock"; 27 clock-frequency = <125000000>; 28 clock-output-names = "ext_gmac"; [all …]
|
H A D | rk3368-sheep.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 15 stdout-path = "serial2:115200n8"; 23 ext_gmac: gmac-clk { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "ext_gmac"; 27 #clock-cells = <0>; 30 ir: ir-receiver { [all …]
|
H A D | rk3368-px5-evb.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include <dt-bindings/input/input.h> 49 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368"; 52 stdout-path = "serial4:115200n8"; 60 ext_gmac: gmac-clk { 61 compatible = "fixed-clock"; 62 clock-frequency = <125000000>; 63 clock-output-names = "ext_gmac"; 64 #clock-cells = <0>; [all …]
|
H A D | rk3368-geekbox.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include <dt-bindings/input/input.h> 52 stdout-path = "serial2:115200n8"; 60 ext_gmac: gmac-clk { 61 compatible = "fixed-clock"; 62 clock-frequency = <125000000>; 63 clock-output-names = "ext_gmac"; 64 #clock-cells = <0>; 67 ir: ir-receiver { [all …]
|
H A D | rk3399-rock960.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/pwm/pwm.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 11 vcc1v8_s0: vcc1v8-s0 { 12 compatible = "regulator-fixed"; 13 regulator-name = "vcc1v8_s0"; 14 regulator-min-microvolt = <1800000>; 15 regulator-max-microvolt = <1800000>; 16 regulator-always-on; 19 vcc_sys: vcc-sys { [all …]
|
H A D | rk3288-fennec.dtsi | 2 * This file is dual-licensed: you can use it either under the terms 49 ext_gmac: external-gmac-clock { 50 compatible = "fixed-clock"; 51 #clock-cells = <0>; 52 clock-frequency = <125000000>; 53 clock-output-names = "ext_gmac"; 56 vcc_sys: vsys-regulator { 57 compatible = "regulator-fixed"; 58 regulator-name = "vcc_sys"; 59 regulator-min-microvolt = <5000000>; [all …]
|
H A D | rk3288-vyasa.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 47 model = "Amarula Vyasa-RK3288"; 48 compatible = "amarula,vyasa-rk3288", "rockchip,rk3288"; 51 stdout-path = &uart2; 59 dc12_vbat: dc12-vbat { 60 compatible = "regulator-fixed"; 61 regulator-name = "dc12_vbat"; 62 regulator-min-microvolt = <12000000>; 63 regulator-max-microvolt = <12000000>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3368-px5-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368"; 20 stdout-path = "serial4:115200n8"; 28 keys: gpio-keys { 29 compatible = "gpio-keys"; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&pwr_key>; 33 key-power { [all …]
|
H A D | rk3368-geekbox.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 19 stdout-path = "serial2:115200n8"; 27 ext_gmac: gmac-clk { 28 compatible = "fixed-clock"; 29 clock-frequency = <125000000>; 30 clock-output-names = "ext_gmac"; 31 #clock-cells = <0>; 34 ir: ir-receiver { [all …]
|
H A D | px30-engicam-px30-core.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 13 compatible = "engicam,px30-core", "rockchip,px30"; 21 cpu-supply = <&vdd_arm>; 25 cpu-supply = <&vdd_arm>; 29 cpu-supply = <&vdd_arm>; 33 cpu-supply = <&vdd_arm>; 37 cap-mmc-highspeed; 38 mmc-hs200-1_8v; [all …]
|
H A D | rk3368-lion.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 15 stdout-path = "serial0:115200n8"; 18 ext_gmac: gmac-clk { 19 compatible = "fixed-clock"; 20 clock-frequency = <125000000>; 21 clock-output-names = "ext_gmac"; 22 #clock-cells = <0>; 26 compatible = "i2c-mux-gpio"; 27 #address-cells = <1>; [all …]
|
H A D | rk3399-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399"; 19 compatible = "pwm-backlight"; 20 brightness-levels = < 53 default-brightness-level = <200>; 57 edp_panel: edp-panel { 58 compatible = "lg,lp079qx1-sp0v"; 60 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | rk3399-leez-p710.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 11 #include "rk3399-opp.dtsi" 24 stdout-path = "serial2:1500000n8"; 27 clkin_gmac: external-gmac-clock { 28 compatible = "fixed-clock"; 29 clock-frequency = <125000000>; [all …]
|
H A D | rk3399-rock960.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include "rk3399-opp.dtsi" 10 #include <dt-bindings/interrupt-controller/irq.h> 19 sdio_pwrseq: sdio-pwrseq { 20 compatible = "mmc-pwrseq-simple"; 21 clocks = <&rk808 1>; 22 clock-names = "ext_clock"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&wifi_enable_h>; 25 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; [all …]
|