Home
last modified time | relevance | path

Searched refs:syscon (Results 1 – 25 of 162) sorted by relevance

1234567

/external/u-boot/drivers/core/
Dsyscon-uclass.c100 UCLASS_DRIVER(syscon) = {
128 struct syscon { struct
134 static struct syscon *of_syscon_register(ofnode node) in of_syscon_register() argument
136 struct syscon *syscon; in of_syscon_register() local
142 syscon = malloc(sizeof(*syscon)); in of_syscon_register()
143 if (!syscon) in of_syscon_register()
146 ret = regmap_init_mem(node, &syscon->regmap); in of_syscon_register()
148 free(syscon); in of_syscon_register()
152 list_add_tail(&syscon->list, &syscon_list); in of_syscon_register()
154 return syscon; in of_syscon_register()
[all …]
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/
Dspeed.c44 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_FCLK() local
46 const uint32_t clkset1 = readl(&syscon->clkset1); in get_FCLK()
49 const ulong fclk_rate = get_PLLCLK(&syscon->clkset1) / fclk_div; in get_FCLK()
58 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_HCLK() local
60 const uint32_t clkset1 = readl(&syscon->clkset1); in get_HCLK()
63 const ulong hclk_rate = get_PLLCLK(&syscon->clkset1) / hclk_div; in get_HCLK()
72 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_PCLK() local
74 const uint32_t clkset1 = readl(&syscon->clkset1); in get_PCLK()
85 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_UCLK() local
88 const uint32_t value = readl(&syscon->pwrcnt); in get_UCLK()
Dcpu.c18 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in reset_cpu() local
22 writel(0xAA, &syscon->sysswlock); in reset_cpu()
23 value = readl(&syscon->devicecfg); in reset_cpu()
25 writel(value, &syscon->devicecfg); in reset_cpu()
28 writel(0xAA, &syscon->sysswlock); in reset_cpu()
29 value = readl(&syscon->devicecfg); in reset_cpu()
31 writel(value, &syscon->devicecfg); in reset_cpu()
/external/u-boot/drivers/usb/host/
Dohci-ep93xx.c16 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in usb_cpu_init() local
17 unsigned long pwr = readl(&syscon->pwrcnt); in usb_cpu_init()
18 writel(pwr | SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt); in usb_cpu_init()
25 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in usb_cpu_stop() local
26 unsigned long pwr = readl(&syscon->pwrcnt); in usb_cpu_stop()
27 writel(pwr & ~SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt); in usb_cpu_stop()
/external/u-boot/drivers/net/
Dcpsw-common.c27 int syscon; in davinci_emac_3517_get_macid() local
30 syscon = fdtdec_lookup_phandle(fdt, node, "syscon"); in davinci_emac_3517_get_macid()
31 if (syscon < 0) { in davinci_emac_3517_get_macid()
36 addr = (u32)map_physmem(fdt_translate_address(fdt, syscon, &gmii), in davinci_emac_3517_get_macid()
67 int syscon; in cpsw_am33xx_cm_get_macid() local
70 syscon = fdtdec_lookup_phandle(fdt, node, "syscon"); in cpsw_am33xx_cm_get_macid()
71 if (syscon < 0) { in cpsw_am33xx_cm_get_macid()
76 addr = (u32)map_physmem(fdt_translate_address(fdt, syscon, &gmii), in cpsw_am33xx_cm_get_macid()
/external/u-boot/arch/arm/dts/
Dkeystone-k2hk.dtsi50 gpio,syscon-dev = <&devctrl 0x240>;
57 gpio,syscon-dev = <&devctrl 0x244>;
64 gpio,syscon-dev = <&devctrl 0x248>;
71 gpio,syscon-dev = <&devctrl 0x24c>;
78 gpio,syscon-dev = <&devctrl 0x250>;
85 gpio,syscon-dev = <&devctrl 0x254>;
92 gpio,syscon-dev = <&devctrl 0x258>;
99 gpio,syscon-dev = <&devctrl 0x25c>;
Dsun50i-a64-pine64-plus-u-boot.dtsi7 syscon: syscon@1c00000 { label
9 "syscon";
15 syscon = <&syscon>;
Dkeystone-k2l.dtsi58 gpio,syscon-dev = <&devctrl 0x240>;
65 gpio,syscon-dev = <&devctrl 0x244>;
72 gpio,syscon-dev = <&devctrl 0x248>;
79 gpio,syscon-dev = <&devctrl 0x24c>;
Drk3399.dtsi282 arasan,soc-ctl-syscon = <&grf>;
735 compatible = "syscon";
740 compatible = "syscon";
745 compatible = "syscon";
750 compatible = "syscon";
755 compatible = "syscon";
760 compatible = "syscon";
765 compatible = "syscon";
770 compatible = "syscon";
775 compatible = "syscon";
[all …]
Duniphier-ld11.dtsi200 socionext,syscon = <&soc_glue>;
276 "simple-mfd", "syscon";
380 "simple-mfd", "syscon";
391 "simple-mfd", "syscon";
468 "simple-mfd", "syscon";
485 "simple-mfd", "syscon";
529 "simple-mfd", "syscon";
558 socionext,syscon-phy-mode = <&soc_glue 0>;
Ddra74x.dtsi33 compatible = "syscon";
67 ti,syscon-mmuconfig = <&dsp2_system 0x0>;
77 ti,syscon-mmuconfig = <&dsp2_system 0x1>;
/external/u-boot/board/cirrus/edb93xx/
Dedb93xx.c69 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in board_init() local
70 writel(CLKSET2_VAL, &syscon->clkset2); in board_init()
114 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in board_early_init_f() local
115 writel(SYSCON_PWRCNT_UART_BAUD, &syscon->pwrcnt); in board_early_init_f()
229 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in dram_init() local
231 unsigned chip_id = readl(&syscon->chipid); in dram_init()
/external/u-boot/drivers/sysreset/
Dsysreset_sti.c32 struct udevice *syscon; in sti_sysreset_probe() local
48 &syscon); in sti_sysreset_probe()
55 regmap = syscon_get_regmap(syscon); in sti_sysreset_probe()
57 pr_err("unable to get regmap for %s\n", syscon->name); in sti_sysreset_probe()
Dsysreset_syscon.c38 struct udevice *syscon; in syscon_reboot_probe() local
43 "regmap", &syscon); in syscon_reboot_probe()
49 priv->regmap = syscon_get_regmap(syscon); in syscon_reboot_probe()
/external/u-boot/drivers/clk/at91/
Dclk-utmi.c108 struct udevice *syscon; in utmi_clk_ofdata_to_platdata() local
111 "regmap-sfr", &syscon); in utmi_clk_ofdata_to_platdata()
113 if (syscon) in utmi_clk_ofdata_to_platdata()
114 plat->regmap_sfr = syscon_get_regmap(syscon); in utmi_clk_ofdata_to_platdata()
/external/u-boot/drivers/clk/
Dclk_boston.c63 struct udevice *syscon; in clk_boston_ofdata_to_platdata() local
67 "regmap", &syscon); in clk_boston_ofdata_to_platdata()
73 state->regmap = syscon_get_regmap(syscon); in clk_boston_ofdata_to_platdata()
/external/u-boot/arch/mips/dts/
Dbrcm,bcm6338.dtsi68 pll_cntl: syscon@fffe0008 {
69 compatible = "syscon";
73 syscon-reboot {
74 compatible = "syscon-reboot";
Dbrcm,bcm6348.dtsi68 pll_cntl: syscon@fffe0008 {
69 compatible = "syscon";
73 syscon-reboot {
74 compatible = "syscon-reboot";
Dbrcm,bcm3380.dtsi89 pll_cntl: syscon@14e00094 {
90 compatible = "syscon";
94 syscon-reboot {
95 compatible = "syscon-reboot";
Dbrcm,bcm6368.dtsi75 pll_cntl: syscon@10000008 {
76 compatible = "syscon";
80 syscon-reboot {
81 compatible = "syscon-reboot";
Dbrcm,bcm6328.dtsi78 pll_cntl: syscon@10000068 {
79 compatible = "syscon";
83 syscon-reboot {
84 compatible = "syscon-reboot";
Dbrcm,bcm6318.dtsi82 pll_cntl: syscon@10000074 {
83 compatible = "syscon";
87 syscon-reboot {
88 compatible = "syscon-reboot";
Dbrcm,bcm6358.dtsi75 pll_cntl: syscon@fffe0008 {
76 compatible = "syscon";
80 syscon-reboot {
81 compatible = "syscon-reboot";
Dbrcm,bcm6362.dtsi73 pll_cntl: syscon@10000008 {
74 compatible = "syscon";
78 syscon-reboot {
79 compatible = "syscon-reboot";
/external/u-boot/drivers/phy/
Dsti_usb_phy.c106 struct udevice *syscon; in sti_usb_phy_probe() local
121 &syscon); in sti_usb_phy_probe()
127 priv->regmap = syscon_get_regmap(syscon); in sti_usb_phy_probe()

1234567