/u-boot/board/pine64/rockpro64_rk3399/ |
A D | rockpro64-rk3399.c | 24 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 D | roc-pc-rk3399.c | 54 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 D | pinebook-pro-rk3399.c | 46 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 D | rockchip,rk3399-dmc.txt | 6 - rockchip,pmugrf: this driver should access pmugrf regs, so need get pmugrf here
|
/u-boot/drivers/ram/rockchip/ |
A D | sdram_px30.c | 32 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 D | dmc-rk3368.c | 34 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 D | sdram_rk3399.c | 81 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 D | rk3399.c | 122 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 D | rk3368-sheep-u-boot.dtsi | 19 &pmugrf {
|
A D | rk3368-geekbox-u-boot.dtsi | 19 &pmugrf {
|
A D | rk3399-u-boot.dtsi | 27 rockchip,pmu = <&pmugrf>; 103 &pmugrf {
|
A D | rk3326-odroid-go2-u-boot.dtsi | 44 &pmugrf {
|
A D | px30-u-boot.dtsi | 55 &pmugrf {
|
A D | rk3368-px5-evb-u-boot.dtsi | 40 &pmugrf {
|
A D | rk3368-lion-u-boot.dtsi | 71 &pmugrf {
|
A D | rv1108.dtsi | 166 pmugrf: syscon@20060000 { label 167 compatible = "rockchip,rv1108-pmugrf", "syscon"; 301 rockchip,pmu = <&pmugrf>;
|
A D | rk3368.dtsi | 659 pmugrf: syscon@ff738000 { label 660 compatible = "rockchip,rk3368-pmugrf", "syscon"; 713 rockchip,pmu = <&pmugrf>;
|
A D | rk3399.dtsi | 1124 pmugrf: syscon@ff320000 { label 1125 compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd"; 1342 rockchip,grf = <&pmugrf>; 1899 rockchip,pmu = <&pmugrf>;
|
A D | px30.dtsi | 328 pmugrf: syscon@ff010000 { label 329 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd"; 1201 rockchip,pmu = <&pmugrf>;
|
/u-boot/arch/arm/mach-rockchip/rk3368/ |
A D | rk3368.c | 200 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 D | px30.c | 217 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()
|