Lines Matching +full:snoop +full:- +full:ports
1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (c) 2003 - 2006 Zultys Technologies
22 #include <asm/dcr-regs.h>
29 * L2-cache
83 np = of_find_compatible_node(NULL, NULL, "ibm,l2-cache"); in ppc4xx_l2c_probe()
88 prop = of_get_property(np, "cache-size", NULL); in ppc4xx_l2c_probe()
90 printk(KERN_ERR "%pOF: Can't get cache-size!\n", np); in ppc4xx_l2c_probe()
92 return -ENODEV; in ppc4xx_l2c_probe()
97 dcrreg = of_get_property(np, "dcr-reg", &len); in ppc4xx_l2c_probe()
101 return -ENODEV; in ppc4xx_l2c_probe()
111 return -ENODEV; in ppc4xx_l2c_probe()
119 return -ENODEV; in ppc4xx_l2c_probe()
153 /* Enable 64G snoop region starting at 0 */ in ppc4xx_l2c_probe()
166 /* Enable ICU/DCU ports */ in ppc4xx_l2c_probe()
174 if (of_device_is_compatible(np, "ibm,l2-cache-460ex") || in ppc4xx_l2c_probe()
175 of_device_is_compatible(np, "ibm,l2-cache-460gt")) in ppc4xx_l2c_probe()
183 printk(KERN_INFO "%dk L2-cache enabled\n", l2_size >> 10); in ppc4xx_l2c_probe()
192 * provided via the "reset-type" property in the cpu node.
202 prop = of_get_property(np, "reset-type", NULL); in ppc4xx_reset_system()
206 * 1 - PPC4xx core reset in ppc4xx_reset_system()
207 * 2 - PPC4xx chip reset in ppc4xx_reset_system()
208 * 3 - PPC4xx system reset (default) in ppc4xx_reset_system()