/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk322x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3228-cru.h> 8 #include <dt-bindings/thermal/thermal.h> 9 #include <dt-bindings/power/rk3228-power.h> 12 #address-cells = <1>; 13 #size-cells = <1>; [all …]
|
H A D | rk3228-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 8 model = "Rockchip RK3228 Evaluation board"; 9 compatible = "rockchip,rk3228-evb", "rockchip,rk3228"; 20 vcc_phy: vcc-phy-regulator { 21 compatible = "regulator-fixed"; 22 enable-active-high; 23 regulator-name = "vcc_phy"; 24 regulator-min-microvolt = <1800000>; 25 regulator-max-microvolt = <1800000>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | rockchip,rk3228-cru.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 --- 4 $id: http://devicetree.org/schemas/clock/rockchip,rk3228-cru.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip RK3228 Clock and Reset Unit (CRU) 10 - Elaine Zhang <zhangqing@rock-chips.com> 11 - Heiko Stuebner <heiko@sntech.de> 14 The RK3228 clock controller generates and supplies clocks to various 19 preprocessor macros in the dt-bindings/clock/rk3228-cru.h headers and can be 24 clock-output-names: [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk322x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/clock/rk3228-cru.h> 11 #include <dt-bindings/thermal/thermal.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 17 interrupt-parent = <&gic>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-rockchip-inno-hdmi.txt | 4 - compatible : should be one of the listed compatibles: 5 * "rockchip,rk3228-hdmi-phy", 6 * "rockchip,rk3328-hdmi-phy"; 7 - reg : Address and length of the hdmi phy control register set 8 - clocks : phandle + clock specifier for the phy clocks 9 - clock-names : string, clock name, must contain "sysclk" for system 10 control and register configuration, "refoclk" for crystal- 11 oscillator reference PLL clock input and "refpclk" for pclk- 13 - #clock-cells: should be 0. 14 - clock-output-names : shall be the name for the output clock. [all …]
|
H A D | rockchip,inno-usb2phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip,inno-usb2phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-usb2phy 16 - rockchip,rk3128-usb2phy 17 - rockchip,rk3228-usb2phy 18 - rockchip,rk3308-usb2phy 19 - rockchip,rk3328-usb2phy [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | rockchip-dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/rockchip-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Wu <david.wu@rock-chips.com> 18 - rockchip,px30-gmac 19 - rockchip,rk3128-gmac 20 - rockchip,rk3228-gmac 21 - rockchip,rk3288-gmac 22 - rockchip,rk3308-gmac [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/rockchip/ |
H A D | grf.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - items: 16 - enum: 17 - rockchip,rk3288-sgrf 18 - rockchip,rk3566-pipe-grf 19 - rockchip,rk3568-pcie3-phy-grf 20 - rockchip,rk3568-pipe-grf [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/ |
H A D | rockchip,power-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/rockchip,power-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Elaine Zhang <zhangqing@rock-chips.com> 11 - Heiko Stuebner <heiko@sntech.de> 18 Power domains contained within power-controller node are 20 Documentation/devicetree/bindings/power/power-domain.yaml. 23 "power-domains" property that is a phandle for the 28 const: power-controller [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | rockchip-rga.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/media/rockchip-rga.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Jacob Chen <jacob-chen@iotwrt.com> 16 - Ezequiel Garcia <ezequiel@collabora.com> 21 - const: rockchip,rk3288-rga 22 - const: rockchip,rk3399-rga 23 - items: 24 - enum: [all …]
|
H A D | rockchip,vdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 12 description: |- 19 - const: rockchip,rk3399-vdec 20 - items: 21 - enum: 22 - rockchip,rk3228-vdec 23 - rockchip,rk3328-vdec [all …]
|
H A D | rockchip-vpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/rockchip-vpu.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Ezequiel Garcia <ezequiel@collabora.com> 19 - enum: 20 - rockchip,rk3036-vpu 21 - rockchip,rk3066-vpu 22 - rockchip,rk3288-vpu 23 - rockchip,rk3328-vpu [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | rockchip-thermal.yaml | 1 # 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-rk3x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-rk3x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - $ref: /schemas/i2c/i2c-controller.yaml# 17 - Heiko Stuebner <heiko@sntech.de> 23 - const: rockchip,rv1108-i2c 24 - const: rockchip,rk3066-i2c 25 - const: rockchip,rk3188-i2c 26 - const: rockchip,rk3228-i2c [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/rockchip/ |
H A D | rockchip-vop.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip-vop.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Sandy Huang <hjc@rock-chips.com> 16 - Heiko Stuebner <heiko@sntech.de> 21 - rockchip,px30-vop-big 22 - rockchip,px30-vop-lit 23 - rockchip,rk3036-vop 24 - rockchip,rk3066-vop [all …]
|
H A D | rockchip,dw-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Yao <markyao0591@gmail.com> 17 - $ref: ../bridge/synopsys,dw-hdmi.yaml# 22 - rockchip,rk3228-dw-hdmi 23 - rockchip,rk3288-dw-hdmi 24 - rockchip,rk3328-dw-hdmi 25 - rockchip,rk3399-dw-hdmi [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | rockchip,rk-timer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/timer/rockchip,rk-timer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daniel Lezcano <daniel.lezcano@linaro.org> 15 - const: rockchip,rk3288-timer 16 - const: rockchip,rk3399-timer 17 - items: 18 - enum: 19 - rockchip,rv1108-timer [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | rockchip-spdif.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Heiko Stuebner <heiko@sntech.de> 20 - const: rockchip,rk3066-spdif 21 - const: rockchip,rk3228-spdif 22 - const: rockchip,rk3328-spdif 23 - const: rockchip,rk3366-spdif 24 - const: rockchip,rk3368-spdif [all …]
|
H A D | rockchip-i2s.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The I2S bus (Inter-IC sound bus) is a serial link for digital 14 - Heiko Stuebner <heiko@sntech.de> 17 - $ref: dai-common.yaml# 22 - const: rockchip,rk3066-i2s 23 - items: 24 - enum: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | rockchip-dw-mshc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/rockchip-dw-mshc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 controller that are not already included in the synopsys-dw-mshc-common.yaml 17 - $ref: synopsys-dw-mshc-common.yaml# 20 - Heiko Stuebner <heiko@sntech.de> 27 - const: rockchip,rk2928-dw-mshc 29 - const: rockchip,rk3288-dw-mshc 30 - items: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/ |
H A D | rockchip-efuse.yaml | 1 # SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/rockchip-efuse.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 13 - $ref: nvmem.yaml# 18 - rockchip,rk3066a-efuse 19 - rockchip,rk3188-efuse 20 - rockchip,rk3228-efuse 21 - rockchip,rk3288-efuse [all …]
|
/openbmc/u-boot/drivers/clk/rockchip/ |
H A D | clk_rk322x.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <clk-uclass.h> 16 #include <dt-bindings/clock/rk3228-cru.h> 41 static int rkclk_set_pll(struct rk322x_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() argument 45 struct rk322x_pll *pll = &cru->pll[pll_id]; in rkclk_set_pll() 48 uint vco_hz = OSC_HZ / 1000 * div->fbdiv / div->refdiv * 1000; in rkclk_set_pll() 49 uint output_hz = vco_hz / div->postdiv1 / div->postdiv2; in rkclk_set_pll() 52 pll, div->fbdiv, div->refdiv, div->postdiv1, in rkclk_set_pll() 53 div->postdiv2, vco_hz, output_hz); in rkclk_set_pll() 58 rk_setreg(&pll->con1, 1 << PLL_DSMPD_SHIFT); in rkclk_set_pll() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-rockchip.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-rockchip.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - $ref: spi-controller.yaml# 17 - Heiko Stuebner <heiko@sntech.de> 23 - const: rockchip,rk3036-spi 24 - const: rockchip,rk3066-spi 25 - const: rockchip,rk3228-spi 26 - const: rockchip,rv1108-spi [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | syscon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 represent as any specific type of device. The typical use-case is 13 for some other node's driver, or platform-specific code, to acquire 20 - Lee Jones <lee@kernel.org> 27 - syscon 30 - compatible 35 - items: 36 - enum: [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | gmac_rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Rockchip GMAC ethernet IP driver for U-Boot 24 #include <dt-bindings/clock/rk3288-cru.h> 58 pdata->clock_input = true; in gmac_rockchip_ofdata_to_platdata() 60 pdata->clock_input = false; in gmac_rockchip_ofdata_to_platdata() 62 /* Check the new naming-style first... */ in gmac_rockchip_ofdata_to_platdata() 63 pdata->tx_delay = dev_read_u32_default(dev, "tx_delay", -ENOENT); in gmac_rockchip_ofdata_to_platdata() 64 pdata->rx_delay = dev_read_u32_default(dev, "rx_delay", -ENOENT); in gmac_rockchip_ofdata_to_platdata() 67 if (pdata->tx_delay == -ENOENT) in gmac_rockchip_ofdata_to_platdata() 68 pdata->tx_delay = dev_read_u32_default(dev, "tx-delay", 0x30); in gmac_rockchip_ofdata_to_platdata() [all …]
|