Home
last modified time | relevance | path

Searched refs:pmugrf (Results 1 – 21 of 21) sorted by relevance

/u-boot/board/pine64/rockpro64_rk3399/
A Drockpro64-rk3399.c24 struct rk3399_pmugrf_regs *pmugrf = in setup_iodomain() local
31 rk_setreg(&pmugrf->soc_con0, 1 << PMUGRF_CON0_VSEL_SHIFT); in setup_iodomain()
/u-boot/board/firefly/roc-pc-rk3399/
A Droc-pc-rk3399.c54 struct rk3399_pmugrf_regs * const pmugrf = (void *)PMUGRF_BASE; in led_setup() local
67 spl_gpio_set_pull(&pmugrf->gpio0_p, GPIO(BANK_A, 5), in led_setup()
/u-boot/board/pine64/pinebook-pro-rk3399/
A Dpinebook-pro-rk3399.c46 struct rk3399_pmugrf_regs *pmugrf = in setup_iodomain() local
53 rk_setreg(&pmugrf->soc_con0, 1 << PMUGRF_CON0_VSEL_SHIFT); in setup_iodomain()
/u-boot/doc/device-tree-bindings/clock/
A Drockchip,rk3399-dmc.txt6 - rockchip,pmugrf: this driver should access pmugrf regs, so need get pmugrf here
/u-boot/drivers/ram/rockchip/
A Dsdram_px30.c32 struct px30_pmugrf *pmugrf; member
427 writel(sys_reg2, &dram->pmugrf->os_reg[2]); in dram_all_config()
428 writel(sys_reg3, &dram->pmugrf->os_reg[3]); in dram_all_config()
672 sys_reg = readl(&dram->pmugrf->os_reg[2]); in sdram_init_detect()
673 sys_reg3 = readl(&dram->pmugrf->os_reg[3]); in sdram_init_detect()
676 writel(sys_reg, &dram->pmugrf->os_reg[2]); in sdram_init_detect()
677 writel(sys_reg3, &dram->pmugrf->os_reg[3]); in sdram_init_detect()
706 dram_info.pmugrf = (void *)PMUGRF_BASE_ADDR; in sdram_init()
727 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); in px30_dmc_probe()
728 debug("%s: grf=%p\n", __func__, priv->pmugrf); in px30_dmc_probe()
[all …]
A Ddmc-rk3368.c34 struct rk3368_pmu_grf *pmugrf; member
776 struct rk3368_pmu_grf *pmugrf = priv->pmugrf; in dram_all_config() local
795 writel(sys_reg, &pmugrf->os_reg[2]); in dram_all_config()
931 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); in rk3368_dmc_probe()
932 debug("%s: pmugrf=%p\n", __func__, priv->pmugrf); in rk3368_dmc_probe()
965 rockchip_sdram_size((phys_addr_t)&priv->pmugrf->os_reg[2]); in rk3368_dmc_probe()
A Dsdram_rk3399.c81 struct rk3399_pmugrf_regs *pmugrf; member
1533 writel(sys_reg2, &dram->pmugrf->os_reg2); in dram_all_config()
1534 writel(sys_reg3, &dram->pmugrf->os_reg3); in dram_all_config()
3087 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); in rk3399_dmc_init()
3106 priv->cic, priv->pmugrf, priv->pmusgrf, priv->pmucru, priv->pmu); in rk3399_dmc_init()
3143 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); in rk3399_dmc_probe()
3144 debug("%s: pmugrf = %p\n", __func__, priv->pmugrf); in rk3399_dmc_probe()
3147 rockchip_sdram_size((phys_addr_t)&priv->pmugrf->os_reg2); in rk3399_dmc_probe()
/u-boot/arch/arm/mach-rockchip/rk3399/
A Drk3399.c122 struct rk3399_pmugrf_regs * const pmugrf = (void *)PMUGRF_BASE; in board_debug_uart_init() local
151 spl_gpio_set_pull(&pmugrf->gpio0_p, GPIO(BANK_B, 2), GPIO_PULL_NORMAL); in board_debug_uart_init()
154 spl_gpio_set_pull(&pmugrf->gpio0_p, GPIO(BANK_B, 4), GPIO_PULL_NORMAL); in board_debug_uart_init()
/u-boot/arch/arm/dts/
A Drk3368-sheep-u-boot.dtsi19 &pmugrf {
A Drk3368-geekbox-u-boot.dtsi19 &pmugrf {
A Drk3399-u-boot.dtsi27 rockchip,pmu = <&pmugrf>;
103 &pmugrf {
A Drk3326-odroid-go2-u-boot.dtsi44 &pmugrf {
A Dpx30-u-boot.dtsi55 &pmugrf {
A Drk3368-px5-evb-u-boot.dtsi40 &pmugrf {
A Drk3368-lion-u-boot.dtsi71 &pmugrf {
A Drv1108.dtsi166 pmugrf: syscon@20060000 { label
167 compatible = "rockchip,rv1108-pmugrf", "syscon";
301 rockchip,pmu = <&pmugrf>;
A Drk3368.dtsi659 pmugrf: syscon@ff738000 { label
660 compatible = "rockchip,rk3368-pmugrf", "syscon";
713 rockchip,pmu = <&pmugrf>;
A Drk3399.dtsi1124 pmugrf: syscon@ff320000 { label
1125 compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd";
1342 rockchip,grf = <&pmugrf>;
1899 rockchip,pmu = <&pmugrf>;
A Dpx30.dtsi328 pmugrf: syscon@ff010000 { label
329 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
1201 rockchip,pmu = <&pmugrf>;
/u-boot/arch/arm/mach-rockchip/rk3368/
A Drk3368.c200 struct rk3368_pmu_grf * const pmugrf __maybe_unused = in board_debug_uart_init()
215 rk_clrsetreg(&pmugrf->gpio0d_iomux, in board_debug_uart_init()
/u-boot/arch/arm/mach-rockchip/px30/
A Dpx30.c217 static struct px30_pmugrf * const pmugrf = (void *)PMUGRF_BASE; in board_debug_uart_init() local
266 rk_clrsetreg(&pmugrf->gpio0cl_iomux, in board_debug_uart_init()

Completed in 30 milliseconds