/linux/arch/arm/boot/dts/gemini/ |
H A D | gemini.dtsi | 21 syscon = <&syscon>; 28 syscon: syscon@40000000 { label 29 compatible = "cortina,gemini-syscon", 30 "syscon", "simple-mfd"; 35 syscon-reboot { 36 compatible = "syscon-reboot"; 37 regmap = <&syscon>; 46 regmap = <&syscon>; 161 resets = <&syscon GEMINI_RESET_WDOG>; 162 clocks = <&syscon GEMINI_CLK_APB>; [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | arm,dev-platforms-syscon.yaml | 4 $id: http://devicetree.org/schemas/mfd/arm,dev-platforms-syscon.yaml# 22 - arm,integrator-ap-syscon 23 - arm,integrator-cp-syscon 24 - arm,integrator-sp-syscon 25 - arm,im-pd1-syscon 26 - const: syscon 30 - arm,integrator-ap-syscon 31 - arm,integrator-cp-syscon 32 - arm,integrator-sp-syscon 33 - arm,realview-eb-syscon [all …]
|
H A D | syscon.yaml | 4 $id: http://devicetree.org/schemas/mfd/syscon.yaml# 14 a reference to the syscon node (e.g. by phandle, node path, or 24 # syscon fallback. 38 - amd,pensando-elba-syscon 56 - axis,artpec6-syscon 76 - loongson,ls1b-syscon 77 - loongson,ls1c-syscon 78 - lsi,axxia-syscon 92 - microchip,lan966x-cpu-syscon 98 - mscc,ocelot-cpu-syscon [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-g6.dtsi | 71 clocks = <&syscon ASPEED_CLK_HPLL>; 77 compatible = "aspeed,ast2600-sdram-edac", "syscon"; 102 compatible = "aspeed,ast2600-ahbc", "syscon"; 111 clocks = <&syscon ASPEED_CLK_AHB>; 142 clocks = <&syscon ASPEED_CLK_AHB>; 165 clocks = <&syscon ASPEED_CLK_AHB>; 198 resets = <&syscon ASPEED_RESET_MII>; 209 resets = <&syscon ASPEED_RESET_MII>; 220 resets = <&syscon ASPEED_RESET_MII>; 231 resets = <&syscon ASPEED_RESET_MII>; [all …]
|
H A D | aspeed-g5.dtsi | 62 clocks = <&syscon ASPEED_CLK_AHB>; 93 clocks = <&syscon ASPEED_CLK_AHB>; 116 clocks = <&syscon ASPEED_CLK_AHB>; 153 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; 161 clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>; 169 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>; 179 clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>; 190 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>; 202 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>; 223 syscon: syscon@1e6e2000 { label [all …]
|
H A D | aspeed-g4.dtsi | 61 clocks = <&syscon ASPEED_CLK_AHB>; 106 clocks = <&syscon ASPEED_CLK_AHB>; 135 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; 143 clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>; 151 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>; 162 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>; 174 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>; 188 syscon: syscon@1e6e2000 { label 189 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd"; 224 clocks = <&syscon ASPEED_CLK_APB>; [all …]
|
/linux/arch/arm/boot/dts/cirrus/ |
H A D | ep93xx-edb9302.dts | 66 gpio-ranges = <&syscon 0 153 1>, 67 <&syscon 1 152 1>, 68 <&syscon 2 151 1>, 69 <&syscon 3 148 1>, 70 <&syscon 4 147 1>, 71 <&syscon 5 146 1>, 72 <&syscon 6 145 1>, 73 <&syscon 7 144 1>; 77 gpio-ranges = <&syscon 0 143 1>, 78 <&syscon 1 142 1>, [all …]
|
H A D | ep93xx.dtsi | 8 #include <dt-bindings/clock/cirrus,ep9301-syscon.h> 16 syscon: syscon@80930000 { label 17 compatible = "cirrus,ep9301-syscon", "syscon"; 102 clocks = <&syscon EP93XX_CLK_ADC>; 135 clocks = <&syscon EP93XX_CLK_M2P0>, 136 <&syscon EP93XX_CLK_M2P1>, 137 <&syscon EP93XX_CLK_M2P2>, 138 <&syscon EP93XX_CLK_M2P3>, 139 <&syscon EP93XX_CLK_M2P4>, 140 <&syscon EP93XX_CLK_M2P5>, [all …]
|
/linux/drivers/mfd/ |
H A D | syscon.c | 21 #include <linux/mfd/syscon.h> 27 struct syscon { struct 40 static struct syscon *of_syscon_register(struct device_node *np, bool check_res) in of_syscon_register() argument 54 struct syscon *syscon __free(kfree) = kzalloc(sizeof(*syscon), GFP_KERNEL); in of_syscon_register() 55 if (!syscon) in of_syscon_register() 149 syscon->regmap = regmap; in of_syscon_register() 150 syscon->np = np; in of_syscon_register() 152 list_add_tail(&syscon->list, &syscon_list); in of_syscon_register() 154 return_ptr(syscon); in of_syscon_register() 172 struct syscon *entry, *syscon = NULL; in device_node_get_regmap() local [all …]
|
/linux/Documentation/devicetree/bindings/soc/starfive/ |
H A D | starfive,jh7110-syscon.yaml | 4 $id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml# 20 - const: starfive,jh7110-sys-syscon 21 - const: syscon 25 - starfive,jh7110-aon-syscon 26 - starfive,jh7110-stg-syscon 27 - const: syscon 48 const: starfive,jh7110-sys-syscon 59 const: starfive,jh7110-aon-syscon 71 syscon@10240000 { 72 compatible = "starfive,jh7110-stg-syscon", "syscon"; [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | sophgo,sg2044-clk.yaml | 85 clocks = <&syscon CLK_FPLL0>, <&syscon CLK_FPLL1>, 86 <&syscon CLK_FPLL2>, <&syscon CLK_DPLL0>, 87 <&syscon CLK_DPLL1>, <&syscon CLK_DPLL2>, 88 <&syscon CLK_DPLL3>, <&syscon CLK_DPLL4>, 89 <&syscon CLK_DPLL5>, <&syscon CLK_DPLL6>, 90 <&syscon CLK_DPLL7>, <&syscon CLK_MPLL0>, 91 <&syscon CLK_MPLL1>, <&syscon CLK_MPLL2>, 92 <&syscon CLK_MPLL3>, <&syscon CLK_MPLL4>, 93 <&syscon CLK_MPLL5>;
|
/linux/Documentation/devicetree/bindings/soc/cirrus/ |
H A D | cirrus,ep9301-syscon.yaml | 4 $id: http://devicetree.org/schemas/soc/cirrus/cirrus,ep9301-syscon.yaml# 15 which can be used to prevent accidental accesses. Syscon generates 19 The System Controller (Syscon) provides: 24 Syscon registers are common for all EP93xx SoC's, through some actual peripheral 32 - cirrus,ep9302-syscon 33 - cirrus,ep9307-syscon 34 - cirrus,ep9312-syscon 35 - cirrus,ep9315-syscon 36 - const: cirrus,ep9301-syscon 37 - const: syscon [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw-common.c | 7 #include <linux/mfd/syscon.h> 19 struct regmap *syscon; in davinci_emac_3517_get_macid() local 21 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in davinci_emac_3517_get_macid() 22 if (IS_ERR(syscon)) { in davinci_emac_3517_get_macid() 23 if (PTR_ERR(syscon) == -ENODEV) in davinci_emac_3517_get_macid() 25 return PTR_ERR(syscon); in davinci_emac_3517_get_macid() 28 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lsb); in davinci_emac_3517_get_macid() 29 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_msb); in davinci_emac_3517_get_macid() 46 struct regmap *syscon; in cpsw_am33xx_cm_get_macid() local 48 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in cpsw_am33xx_cm_get_macid() [all …]
|
/linux/Documentation/devicetree/bindings/soc/spacemit/ |
H A D | spacemit,k1-syscon.yaml | 4 $id: http://devicetree.org/schemas/soc/spacemit/spacemit,k1-syscon.yaml# 19 - spacemit,k1-syscon-apbc 20 - spacemit,k1-syscon-apmu 21 - spacemit,k1-syscon-mpmu 22 - spacemit,k1-syscon-rcpu 23 - spacemit,k1-syscon-rcpu2 24 - spacemit,k1-syscon-apbc2 42 See <dt-bindings/clock/spacemit,k1-syscon.h> for valid indices. 61 - spacemit,k1-syscon-apmu 62 - spacemit,k1-syscon-mpmu [all …]
|
/linux/Documentation/devicetree/bindings/reset/ |
H A D | ti-syscon-reset.txt | 1 TI SysCon Reset Controller 8 functionalities. This register range is best represented as a syscon node to 12 A SysCon Reset Controller node defines a device that uses a syscon node 16 SysCon Reset Controller Node 18 Each of the reset provider/controller nodes should be a child of a syscon 27 "ti,syscon-reset" 34 register from the syscon register base 38 register from the syscon register base 42 from the syscon register base 47 file <dt-bindings/reset/ti-syscon.h> [all …]
|
/linux/drivers/power/reset/ |
H A D | axxia-reset.c | 11 #include <linux/mfd/syscon.h> 31 struct regmap *syscon = data->cb_data; in axxia_restart_handler() local 34 regmap_write(syscon, SC_CRIT_WRITE_KEY, 0xab); in axxia_restart_handler() 36 regmap_write(syscon, SC_LATCH_ON_RESET, 0x00000040); in axxia_restart_handler() 38 regmap_write(syscon, SC_EFUSE_INT_STATUS, EFUSE_READ_DONE); in axxia_restart_handler() 40 regmap_update_bits(syscon, SC_RESET_CONTROL, in axxia_restart_handler() 49 struct regmap *syscon; in axxia_reset_probe() local 52 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in axxia_reset_probe() 53 if (IS_ERR(syscon)) { in axxia_reset_probe() 54 pr_err("%pOFn: syscon lookup failed\n", dev->of_node); in axxia_reset_probe() [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | hisilicon,hi3670-usb3.yaml | 22 hisilicon,pericrg-syscon: 24 description: phandle of syscon used to control iso refclk. 26 hisilicon,pctrl-syscon: 28 description: phandle of syscon used to control usb tcxo. 30 hisilicon,sctrl-syscon: 32 description: phandle of syscon used to control phy deep sleep. 45 - hisilicon,pericrg-syscon 46 - hisilicon,pctrl-syscon 47 - hisilicon,sctrl-syscon 59 hisilicon,pericrg-syscon = <&crg_ctrl>; [all …]
|
/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A D | brcm,brcmstb.txt | 16 Further, syscon nodes that map platform-specific registers used for general 19 - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon" 22 "syscon" 23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon" 36 - compatible: must be "brcm,bcm7445-cpu-biu-ctrl", "brcm,brcmstb-cpu-biu-ctrl", "syscon" 51 sun_top_ctrl: syscon@404000 { 52 compatible = "brcm,bcm7445-sun-top-ctrl", "syscon"; 56 hif_cpubiuctrl: syscon@3e2400 { 57 compatible = "brcm,bcm7445-cpu-biu-ctrl", "brcm,brcmstb-cpu-biu-ctrl", "syscon"; 62 hif_continuation: syscon@452000 { [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | axxia-reset.txt | 3 This driver can do reset of the Axxia SoC. It uses the registers in the syscon 8 -syscon: phandle to the syscon node. 12 syscon: syscon@2010030000 { 13 compatible = "lsi,axxia-syscon", "syscon"; 19 syscon = <&syscon>;
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | ums512.dtsi | 177 ap_ahb_regs: syscon@20100000 { 178 compatible = "sprd,ums512-glbregs", "syscon", 194 pub_apb_regs: syscon@31050000 { 195 compatible = "sprd,ums512-glbregs", "syscon", 200 top_dvfs_apb_regs: syscon@322a0000 { 201 compatible = "sprd,ums512-glbregs", "syscon", 206 ap_intc0_regs: syscon@32310000 { 207 compatible = "sprd,ums512-glbregs", "syscon", 212 ap_intc1_regs: syscon@32320000 { 213 compatible = "sprd,ums512-glbregs", "syscon", [all …]
|
H A D | sharkl3.dtsi | 19 ap_ahb_regs: syscon@20e00000 { 20 compatible = "sprd,sc9863a-glbregs", "syscon", 34 pmu_regs: syscon@402b0000 { 35 compatible = "sprd,sc9863a-glbregs", "syscon", 51 aon_apb_regs: syscon@402e0000 { 52 compatible = "sprd,sc9863a-glbregs", "syscon", 66 anlg_phy_g2_regs: syscon@40353000 { 67 compatible = "sprd,sc9863a-glbregs", "syscon", 83 anlg_phy_g4_regs: syscon@40359000 { 84 compatible = "sprd,sc9863a-glbregs", "syscon", [all …]
|
/linux/drivers/spi/ |
H A D | spi-dw-mmio.c | 15 #include <linux/mfd/syscon.h> 52 struct regmap *syscon; member 112 dwsmscc->syscon = syscon_regmap_lookup_by_compatible(cpu_syscon); in dw_spi_mscc_init() 113 if (IS_ERR(dwsmscc->syscon)) in dw_spi_mscc_init() 114 return PTR_ERR(dwsmscc->syscon); in dw_spi_mscc_init() 120 regmap_update_bits(dwsmscc->syscon, MSCC_CPU_SYSTEM_CTRL_GENERAL_CTRL, in dw_spi_mscc_init() 133 return dw_spi_mscc_init(pdev, dwsmmio, "mscc,ocelot-cpu-syscon", in dw_spi_mscc_ocelot_init() 140 return dw_spi_mscc_init(pdev, dwsmmio, "mscc,jaguar2-cpu-syscon", in dw_spi_mscc_jaguar2_init() 159 regmap_write(dwsmscc->syscon, SPARX5_FORCE_ENA, 1); in dw_spi_sparx5_set_cs() 161 regmap_write(dwsmscc->syscon, SPARX5_FORCE_VAL, ~BIT(cs)); in dw_spi_sparx5_set_cs() [all …]
|
/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | ts4800-wdt.txt | 5 - syscon: phandle / integer array that points to the syscon node which 6 describes the FPGA's syscon registers. 7 - phandle to FPGA's syscon 15 syscon: syscon@b0010000 { 16 compatible = "syscon", "simple-mfd"; 22 syscon = <&syscon 0xe>;
|
/linux/drivers/gpio/ |
H A D | gpio-syscon.c | 3 * SYSCON GPIO driver 14 #include <linux/mfd/syscon.h> 20 /* SYSCON driver is designed to use 32-bit wide registers */ 49 struct regmap *syscon; member 63 ret = regmap_read(priv->syscon, in syscon_gpio_get() 78 return regmap_update_bits(priv->syscon, in syscon_gpio_set() 94 regmap_update_bits(priv->syscon, in syscon_gpio_dir_in() 112 regmap_update_bits(priv->syscon, in syscon_gpio_dir_out() 140 ret = regmap_write(priv->syscon, in rockchip_gpio_set() 172 priv->syscon, in keystone_gpio_set() [all …]
|
/linux/Documentation/devicetree/bindings/soc/loongson/ |
H A D | loongson,ls2k-pmc.yaml | 17 - const: syscon 23 - const: syscon 40 syscon-poweroff: 41 $ref: /schemas/power/reset/syscon-poweroff.yaml# 46 syscon-reboot: 47 $ref: /schemas/power/reset/syscon-reboot.yaml# 64 compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon"; 70 syscon-reboot { 71 compatible = "syscon-reboot"; 76 syscon-poweroff { [all …]
|