Home
last modified time | relevance | path

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

12345678

/u-boot/arch/arm/cpu/arm920t/ep93xx/
A Dcpu.c19 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in reset_cpu() local
23 writel(0xAA, &syscon->sysswlock); in reset_cpu()
24 value = readl(&syscon->devicecfg); in reset_cpu()
26 writel(value, &syscon->devicecfg); in reset_cpu()
29 writel(0xAA, &syscon->sysswlock); in reset_cpu()
30 value = readl(&syscon->devicecfg); in reset_cpu()
32 writel(value, &syscon->devicecfg); in reset_cpu()
A 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()
/u-boot/drivers/usb/host/
A 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()
/u-boot/arch/arm/dts/
A 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>;
A Dmt7629.dtsi68 infracfg: syscon@10000000 {
69 compatible = "mediatek,mt7629-infracfg", "syscon";
74 pericfg: syscon@10002000 {
75 compatible = "mediatek,mt7629-pericfg", "syscon";
100 mcucfg: syscon@10200000 {
101 compatible = "mediatek,mt7629-mcucfg", "syscon";
277 ethsys: syscon@1b000000 {
278 compatible = "mediatek,mt7629-ethsys", "syscon";
285 compatible = "mediatek,mt7629-eth", "syscon";
325 sgmiisys0: syscon@1b128000 {
[all …]
A 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>;
A Dsocfpga_agilex-u-boot.dtsi33 altr,sysmgr-syscon = <&sysmgr 0x48 0>;
37 altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
88 compatible = "altr,sys-mgr", "syscon";
A Drk3399-u-boot.dtsi17 cic: syscon@ff620000 {
19 compatible = "rockchip,rk3399-cic", "syscon";
55 pmusgrf: syscon@ff330000 {
57 compatible = "rockchip,rk3399-pmusgrf", "syscon";
A Dam4372-u-boot.dtsi14 compatible = "ti,control-phy-usb2-am437", "syscon";
18 compatible = "ti,control-phy-usb2-am437", "syscon";
A Dsocfpga_arria10-u-boot.dtsi43 altr,sysmgr-syscon = <&sysmgr 0x44 0>;
48 altr,sysmgr-syscon = <&sysmgr 0x48 0>;
53 altr,sysmgr-syscon = <&sysmgr 0x4C 0>;
/u-boot/drivers/sysreset/
A Dsysreset_sti.c34 struct udevice *syscon; in sti_sysreset_probe() local
50 &syscon); in sti_sysreset_probe()
57 regmap = syscon_get_regmap(syscon); in sti_sysreset_probe()
59 pr_err("unable to get regmap for %s\n", syscon->name); in sti_sysreset_probe()
/u-boot/board/cirrus/edb93xx/
A Dedb93xx.c75 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in board_init() local
76 writel(CLKSET2_VAL, &syscon->clkset2); in board_init()
120 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in board_early_init_f() local
121 writel(SYSCON_PWRCNT_UART_BAUD, &syscon->pwrcnt); in board_early_init_f()
235 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in dram_init() local
237 unsigned chip_id = readl(&syscon->chipid); in dram_init()
/u-boot/drivers/net/ti/
A Dcpsw-common.c63 int syscon; in ti_cm_get_macid_addr() local
89 syscon = fdtdec_lookup_phandle(fdt, node, "syscon"); in ti_cm_get_macid_addr()
90 if (syscon < 0) { in ti_cm_get_macid_addr()
95 data->syscon_addr = (u32)map_physmem(fdt_translate_address(fdt, syscon, in ti_cm_get_macid_addr()
/u-boot/doc/device-tree-bindings/pinctrl/
A Dbcm6838-pinctrl.txt5 - regmap: specify the gpio test port syscon
14 gpio_test_port: syscon@14e00294 {
15 compatible = "syscon";
/u-boot/test/dm/
A Dsyscon-reset.c31 struct udevice *syscon; in dm_test_syscon_reset() local
38 &syscon)); in dm_test_syscon_reset()
41 ut_assertok_ptr((map = syscon_get_regmap(syscon))); in dm_test_syscon_reset()
/u-boot/doc/device-tree-bindings/reset/
A Dsyscon-reset.txt3 This is a generic reset driver using syscon to map the reset register.
5 defined by the register map pointed by syscon reference plus the offset and
16 - compatible: should contain "syscon-reset"
30 compatible = "syscon-reset";
/u-boot/drivers/core/
A Dsyscon-uclass.c104 struct udevice *syscon; in syscon_regmap_lookup_by_phandle() local
111 name, &syscon); in syscon_regmap_lookup_by_phandle()
123 err = syscon_probe_by_ofnode(node, &syscon); in syscon_regmap_lookup_by_phandle()
128 r = syscon_get_regmap(syscon); in syscon_regmap_lookup_by_phandle()
174 UCLASS_DRIVER(syscon) = {
/u-boot/drivers/clk/
A Dclk_boston.c64 struct udevice *syscon; in clk_boston_of_to_plat() local
68 "regmap", &syscon); in clk_boston_of_to_plat()
74 state->regmap = syscon_get_regmap(syscon); in clk_boston_of_to_plat()
/u-boot/doc/device-tree-bindings/mfd/
A Dkendryte,k210-sysctl.txt9 "kendryte,k210-sysctl", "syscon", "simple-mfd"
23 sysctl: syscon@50440000 {
24 compatible = "kendryte,k210-sysctl", "syscon", "simple-mfd";
/u-boot/doc/device-tree-bindings/net/
A Dmediatek,mt7628-eth.txt7 - syscon: phandle to the system controller
16 syscon = <&sysc>;
/u-boot/drivers/phy/rockchip/
A Dphy-rockchip-snps-pcie3.c93 struct udevice *syscon; in rockchip_p3phy_probe() local
101 "rockchip,phy-grf", &syscon); in rockchip_p3phy_probe()
107 priv->phy_grf = syscon_get_regmap(syscon); in rockchip_p3phy_probe()
/u-boot/arch/mips/dts/
A Dmscc,serval.dtsi60 cpu_ctrl: syscon@0 {
61 compatible = "mscc,serval-cpu-syscon", "syscon";
197 hsio: syscon@10d0000 {
198 compatible = "mscc,serval-hsio", "syscon", "simple-mfd";
A Dbrcm,bcm3380.dtsi89 pll_cntl: syscon@14e00094 {
90 compatible = "syscon";
94 syscon-reboot {
95 compatible = "syscon-reboot";
A Dbrcm,bcm6338.dtsi69 pll_cntl: syscon@fffe0008 {
70 compatible = "syscon";
74 syscon-reboot {
75 compatible = "syscon-reboot";
/u-boot/drivers/phy/
A Dsti_usb_phy.c108 struct udevice *syscon; in sti_usb_phy_probe() local
123 &syscon); in sti_usb_phy_probe()
129 priv->regmap = syscon_get_regmap(syscon); in sti_usb_phy_probe()

Completed in 26 milliseconds

12345678