Home
last modified time | relevance | path

Searched refs:of_machine_is_compatible (Results 1 – 25 of 168) sorted by relevance

1234567

/openbmc/linux/arch/arm/mach-exynos/
H A Dexynos.c122 if (of_machine_is_compatible("samsung,exynos4")) { in exynos_set_delayed_reset_assertion()
178 if (of_machine_is_compatible("samsung,exynos4210") || in exynos_dt_machine_init()
179 of_machine_is_compatible("samsung,exynos3250")) in exynos_dt_machine_init()
182 if (of_machine_is_compatible("samsung,exynos4210") || in exynos_dt_machine_init()
183 of_machine_is_compatible("samsung,exynos4212") || in exynos_dt_machine_init()
184 (of_machine_is_compatible("samsung,exynos4412") && in exynos_dt_machine_init()
185 (of_machine_is_compatible("samsung,trats2") || in exynos_dt_machine_init()
186 of_machine_is_compatible("samsung,midas") || in exynos_dt_machine_init()
187 of_machine_is_compatible("samsung,p4note"))) || in exynos_dt_machine_init()
188 of_machine_is_compatible("samsung,exynos3250") || in exynos_dt_machine_init()
[all …]
/openbmc/linux/drivers/cpufreq/
H A Dimx-cpufreq-dt.c95 if (of_machine_is_compatible("fsl,imx7ulp")) { in imx_cpufreq_dt_probe()
120 if (of_machine_is_compatible("fsl,imx8mn") || in imx_cpufreq_dt_probe()
121 of_machine_is_compatible("fsl,imx8mp")) in imx_cpufreq_dt_probe()
128 if (of_machine_is_compatible("fsl,imx8mp")) in imx_cpufreq_dt_probe()
143 if (of_machine_is_compatible("fsl,imx8mm") || in imx_cpufreq_dt_probe()
144 of_machine_is_compatible("fsl,imx8mq")) in imx_cpufreq_dt_probe()
146 if (of_machine_is_compatible("fsl,imx8mn") || in imx_cpufreq_dt_probe()
147 of_machine_is_compatible("fsl,imx8mp")) in imx_cpufreq_dt_probe()
178 if (!of_machine_is_compatible("fsl,imx7ulp")) in imx_cpufreq_dt_remove()
H A Dsti-cpufreq.c143 if (of_machine_is_compatible("st,stih407") || in sti_cpufreq_match()
144 of_machine_is_compatible("st,stih410") || in sti_cpufreq_match()
145 of_machine_is_compatible("st,stih418")) in sti_cpufreq_match()
259 if ((!of_machine_is_compatible("st,stih407")) && in sti_cpufreq_init()
260 (!of_machine_is_compatible("st,stih410")) && in sti_cpufreq_init()
261 (!of_machine_is_compatible("st,stih418"))) in sti_cpufreq_init()
H A Dimx6q-cpufreq.c118 if (of_machine_is_compatible("fsl,imx6ul") || in imx6q_set_target()
119 of_machine_is_compatible("fsl,imx6ull")) { in imx6q_set_target()
267 if (of_machine_is_compatible("fsl,imx6q") || in imx6q_opp_check_speed_grading()
268 of_machine_is_compatible("fsl,imx6qp")) { in imx6q_opp_check_speed_grading()
325 if (of_machine_is_compatible("fsl,imx6ul")) in imx6ul_opp_check_speed_grading()
329 if (of_machine_is_compatible("fsl,imx6ull")) { in imx6ul_opp_check_speed_grading()
362 if (of_machine_is_compatible("fsl,imx6ul") || in imx6q_cpufreq_probe()
363 of_machine_is_compatible("fsl,imx6ull")) in imx6q_cpufreq_probe()
394 if (of_machine_is_compatible("fsl,imx6ul") || in imx6q_cpufreq_probe()
395 of_machine_is_compatible("fsl,imx6ull")) { in imx6q_cpufreq_probe()
H A Dpmac64-cpufreq.c353 if (of_machine_is_compatible("PowerMac8,1") || in g5_neo2_cpufreq_init()
354 of_machine_is_compatible("PowerMac8,2") || in g5_neo2_cpufreq_init()
355 of_machine_is_compatible("PowerMac9,1") || in g5_neo2_cpufreq_init()
356 of_machine_is_compatible("PowerMac12,1")) in g5_neo2_cpufreq_init()
358 else if (of_machine_is_compatible("PowerMac11,2")) in g5_neo2_cpufreq_init()
659 if (of_machine_is_compatible("PowerMac7,2") || in g5_cpufreq_init()
660 of_machine_is_compatible("PowerMac7,3") || in g5_cpufreq_init()
661 of_machine_is_compatible("RackMac3,1")) in g5_cpufreq_init()
H A Dpmac32-cpufreq.c634 if (of_machine_is_compatible("MacRISC3") && in pmac_cpufreq_setup()
643 } else if (of_machine_is_compatible("PowerBook3,4") || in pmac_cpufreq_setup()
644 of_machine_is_compatible("PowerBook3,5") || in pmac_cpufreq_setup()
645 of_machine_is_compatible("MacRISC3")) { in pmac_cpufreq_setup()
648 } else if (of_machine_is_compatible("PowerBook4,1")) { in pmac_cpufreq_setup()
655 else if (of_machine_is_compatible("PowerBook3,3") && cur_freq == 550000) { in pmac_cpufreq_setup()
662 else if (of_machine_is_compatible("PowerBook3,2")) { in pmac_cpufreq_setup()
/openbmc/linux/arch/arm/mach-mediatek/
H A Dmediatek.c23 if (of_machine_is_compatible("mediatek,mt6589") || in mediatek_timer_init()
24 of_machine_is_compatible("mediatek,mt7623") || in mediatek_timer_init()
25 of_machine_is_compatible("mediatek,mt8135") || in mediatek_timer_init()
26 of_machine_is_compatible("mediatek,mt8127")) { in mediatek_timer_init()
/openbmc/linux/drivers/clk/mvebu/
H A Dmv98dx3236.c76 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) in mv98dx3236_get_cpu_freq()
78 else if (of_machine_is_compatible("marvell,armadaxp-98dx3236")) in mv98dx3236_get_cpu_freq()
125 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) { in mv98dx3236_get_clk_ratio()
128 } else if (of_machine_is_compatible("marvell,armadaxp-98dx3236")) { in mv98dx3236_get_clk_ratio()
134 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) { in mv98dx3236_get_clk_ratio()
137 } else if (of_machine_is_compatible("marvell,armadaxp-98dx3236")) { in mv98dx3236_get_clk_ratio()
/openbmc/linux/drivers/gpio/
H A Dgpio-stp-xway.c200 if (of_machine_is_compatible("lantiq,grx390") in xway_stp_hw_init()
201 || of_machine_is_compatible("lantiq,ar10")) { in xway_stp_hw_init()
208 if (of_machine_is_compatible("lantiq,grx390")) { in xway_stp_hw_init()
273 if (of_machine_is_compatible("lantiq,ar9") || in xway_stp_probe()
274 of_machine_is_compatible("lantiq,gr9") || in xway_stp_probe()
275 of_machine_is_compatible("lantiq,vr9") || in xway_stp_probe()
276 of_machine_is_compatible("lantiq,ar10") || in xway_stp_probe()
277 of_machine_is_compatible("lantiq,grx390")) { in xway_stp_probe()
284 if (of_machine_is_compatible("lantiq,ar10") || in xway_stp_probe()
285 of_machine_is_compatible("lantiq,grx390")) { in xway_stp_probe()
[all …]
/openbmc/linux/arch/mips/lantiq/xway/
H A Dsysctrl.c206 if (of_machine_is_compatible("lantiq,ar10") in pmu_enable()
207 || of_machine_is_compatible("lantiq,grx390")) { in pmu_enable()
232 if (of_machine_is_compatible("lantiq,ar10") in pmu_disable()
233 || of_machine_is_compatible("lantiq,grx390")) { in pmu_disable()
255 if (of_machine_is_compatible("lantiq,ar9") || in pci_enable()
256 of_machine_is_compatible("lantiq,vr9")) { in pci_enable()
477 if (of_machine_is_compatible("lantiq,vr9")) { in ltq_soc_init()
484 if (!of_machine_is_compatible("lantiq,ase")) in ltq_soc_init()
487 if (of_machine_is_compatible("lantiq,grx390") || in ltq_soc_init()
488 of_machine_is_compatible("lantiq,ar10")) { in ltq_soc_init()
[all …]
/openbmc/linux/arch/arm/mach-mvebu/
H A Dpm.c156 if (of_machine_is_compatible("marvell,armadaxp")) in mvebu_pm_store_bootinfo()
219 if (!of_machine_is_compatible("marvell,armadaxp") && in mvebu_pm_init()
220 !of_machine_is_compatible("marvell,armada370") && in mvebu_pm_init()
221 !of_machine_is_compatible("marvell,armada380") && in mvebu_pm_init()
222 !of_machine_is_compatible("marvell,armada390")) in mvebu_pm_init()
/openbmc/linux/arch/arm/mach-mxs/
H A Dmach-mxs.c425 if (of_machine_is_compatible("fsl,imx28-evk")) in mxs_machine_init()
427 if (of_machine_is_compatible("armadeus,imx28-apf28")) in mxs_machine_init()
429 else if (of_machine_is_compatible("bluegiga,apx4devkit")) in mxs_machine_init()
431 else if (of_machine_is_compatible("crystalfontz,cfa10036")) in mxs_machine_init()
433 else if (of_machine_is_compatible("eukrea,mbmx283lc")) in mxs_machine_init()
435 else if (of_machine_is_compatible("i2se,duckbill") || in mxs_machine_init()
436 of_machine_is_compatible("i2se,duckbill-2")) in mxs_machine_init()
438 else if (of_machine_is_compatible("msr,m28cu3")) in mxs_machine_init()
/openbmc/linux/arch/arm/mach-tegra/
H A Dtegra.c87 of_machine_is_compatible("compal,paz00")) in tegra_dt_init_late()
91 of_machine_is_compatible("nvidia,tegra20")) in tegra_dt_init_late()
98 of_machine_is_compatible("nvidia,tegra30")) in tegra_dt_init_late()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c70 if (of_machine_is_compatible("ti,dm8148")) in ti_cm_get_macid()
73 if (of_machine_is_compatible("ti,am33xx")) in ti_cm_get_macid()
82 if (of_machine_is_compatible("ti,am43")) in ti_cm_get_macid()
85 if (of_machine_is_compatible("ti,dra7")) in ti_cm_get_macid()
/openbmc/u-boot/drivers/net/ti/
H A Dcpsw-common.c101 if (of_machine_is_compatible("ti,dm8148")) in ti_cm_get_macid()
104 if (of_machine_is_compatible("ti,am33xx")) in ti_cm_get_macid()
113 if (of_machine_is_compatible("ti,am43")) in ti_cm_get_macid()
116 if (of_machine_is_compatible("ti,dra7")) in ti_cm_get_macid()
/openbmc/linux/arch/arm/mach-shmobile/
H A Dregulator-quirk-rcar-gen2.c150 if (!of_machine_is_compatible("renesas,koelsch") && in rcar_gen2_regulator_quirk()
151 !of_machine_is_compatible("renesas,lager") && in rcar_gen2_regulator_quirk()
152 !of_machine_is_compatible("renesas,porter") && in rcar_gen2_regulator_quirk()
153 !of_machine_is_compatible("renesas,stout") && in rcar_gen2_regulator_quirk()
154 !of_machine_is_compatible("renesas,gose")) in rcar_gen2_regulator_quirk()
H A Dsetup-rcar-gen2.c83 if (of_machine_is_compatible("renesas,r8a7745") || in rcar_gen2_timer_init()
84 of_machine_is_compatible("renesas,r8a77470") || in rcar_gen2_timer_init()
85 of_machine_is_compatible("renesas,r8a7792") || in rcar_gen2_timer_init()
86 of_machine_is_compatible("renesas,r8a7794")) { in rcar_gen2_timer_init()
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dtime.c228 if (!of_machine_is_compatible("MacRISC2") && in pmac_calibrate_decr()
229 !of_machine_is_compatible("MacRISC3") && in pmac_calibrate_decr()
230 !of_machine_is_compatible("MacRISC4")) in pmac_calibrate_decr()
239 if (of_machine_is_compatible("PowerMac3,5")) in pmac_calibrate_decr()
/openbmc/linux/drivers/macintosh/
H A Dvia-pmu-backlight.c143 of_machine_is_compatible("AAPL,3400/2400") || in pmu_backlight_init()
144 of_machine_is_compatible("AAPL,3500"); in pmu_backlight_init()
148 !of_machine_is_compatible("AAPL,PowerBook1998") && in pmu_backlight_init()
149 !of_machine_is_compatible("PowerBook1,1")) in pmu_backlight_init()
/openbmc/linux/drivers/clk/ti/
H A Dclkctrl.c531 if (of_machine_is_compatible("ti,omap4")) in _ti_omap4_clkctrl_setup()
535 if (of_machine_is_compatible("ti,omap5")) in _ti_omap4_clkctrl_setup()
539 if (of_machine_is_compatible("ti,dra7")) in _ti_omap4_clkctrl_setup()
541 if (of_machine_is_compatible("ti,dra72")) in _ti_omap4_clkctrl_setup()
543 if (of_machine_is_compatible("ti,dra74")) in _ti_omap4_clkctrl_setup()
545 if (of_machine_is_compatible("ti,dra76")) in _ti_omap4_clkctrl_setup()
549 if (of_machine_is_compatible("ti,am33xx")) in _ti_omap4_clkctrl_setup()
553 if (of_machine_is_compatible("ti,am4372")) in _ti_omap4_clkctrl_setup()
556 if (of_machine_is_compatible("ti,am438x")) in _ti_omap4_clkctrl_setup()
560 if (of_machine_is_compatible("ti,dm814")) in _ti_omap4_clkctrl_setup()
[all …]
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dp1010rdb.c59 if (of_machine_is_compatible("fsl,P1010RDB")) in p1010_rdb_probe()
61 if (of_machine_is_compatible("fsl,P1010RDB-PB")) in p1010_rdb_probe()
/openbmc/linux/drivers/soc/mediatek/
H A Dmtk-regulator-coupler.c148 if (!of_machine_is_compatible("mediatek,mt8183") && in mediatek_regulator_coupler_init()
149 !of_machine_is_compatible("mediatek,mt8186") && in mediatek_regulator_coupler_init()
150 !of_machine_is_compatible("mediatek,mt8192")) in mediatek_regulator_coupler_init()
/openbmc/linux/arch/arm/mach-orion5x/
H A Dboard-dt.c60 if (of_machine_is_compatible("maxtor,shared-storage-2")) in orion5x_dt_init()
63 if (of_machine_is_compatible("lacie,d2-network")) in orion5x_dt_init()
/openbmc/linux/drivers/clocksource/
H A Dtimer-sun4i.c186 if (of_machine_is_compatible("allwinner,sun4i-a10") || in sun4i_timer_init()
187 of_machine_is_compatible("allwinner,sun5i-a13") || in sun4i_timer_init()
188 of_machine_is_compatible("allwinner,sun5i-a10s") || in sun4i_timer_init()
189 of_machine_is_compatible("allwinner,suniv-f1c100s")) in sun4i_timer_init()
/openbmc/u-boot/board/Marvell/mvebu_armada-37xx/
H A Dboard.c71 if (!of_machine_is_compatible("marvell,armada-3720-db")) in board_ahci_enable()
109 if (!of_machine_is_compatible("marvell,armada-3720-db")) in board_xhci_enable()
201 if (!of_machine_is_compatible("marvell,armada-3720-espressobin")) in board_network_enable()

1234567