xref: /freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/l2cache.txt (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*c66ec88fSEmmanuel VadotFreescale L2 Cache Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotL2 cache is present in Freescale's QorIQ and QorIQ Qonverge platforms.
4*c66ec88fSEmmanuel VadotThe cache bindings explained below are Devicetree Specification compliant
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired Properties:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot- compatible	: Should include one of the following:
9*c66ec88fSEmmanuel Vadot		  "fsl,b4420-l2-cache-controller"
10*c66ec88fSEmmanuel Vadot		  "fsl,b4860-l2-cache-controller"
11*c66ec88fSEmmanuel Vadot		  "fsl,bsc9131-l2-cache-controller"
12*c66ec88fSEmmanuel Vadot		  "fsl,bsc9132-l2-cache-controller"
13*c66ec88fSEmmanuel Vadot		  "fsl,c293-l2-cache-controller"
14*c66ec88fSEmmanuel Vadot		  "fsl,mpc8536-l2-cache-controller"
15*c66ec88fSEmmanuel Vadot		  "fsl,mpc8540-l2-cache-controller"
16*c66ec88fSEmmanuel Vadot		  "fsl,mpc8541-l2-cache-controller"
17*c66ec88fSEmmanuel Vadot		  "fsl,mpc8544-l2-cache-controller"
18*c66ec88fSEmmanuel Vadot		  "fsl,mpc8548-l2-cache-controller"
19*c66ec88fSEmmanuel Vadot		  "fsl,mpc8555-l2-cache-controller"
20*c66ec88fSEmmanuel Vadot		  "fsl,mpc8560-l2-cache-controller"
21*c66ec88fSEmmanuel Vadot		  "fsl,mpc8568-l2-cache-controller"
22*c66ec88fSEmmanuel Vadot		  "fsl,mpc8569-l2-cache-controller"
23*c66ec88fSEmmanuel Vadot		  "fsl,mpc8572-l2-cache-controller"
24*c66ec88fSEmmanuel Vadot		  "fsl,p1010-l2-cache-controller"
25*c66ec88fSEmmanuel Vadot		  "fsl,p1011-l2-cache-controller"
26*c66ec88fSEmmanuel Vadot		  "fsl,p1012-l2-cache-controller"
27*c66ec88fSEmmanuel Vadot		  "fsl,p1013-l2-cache-controller"
28*c66ec88fSEmmanuel Vadot		  "fsl,p1014-l2-cache-controller"
29*c66ec88fSEmmanuel Vadot		  "fsl,p1015-l2-cache-controller"
30*c66ec88fSEmmanuel Vadot		  "fsl,p1016-l2-cache-controller"
31*c66ec88fSEmmanuel Vadot		  "fsl,p1020-l2-cache-controller"
32*c66ec88fSEmmanuel Vadot		  "fsl,p1021-l2-cache-controller"
33*c66ec88fSEmmanuel Vadot		  "fsl,p1022-l2-cache-controller"
34*c66ec88fSEmmanuel Vadot		  "fsl,p1023-l2-cache-controller"
35*c66ec88fSEmmanuel Vadot		  "fsl,p1024-l2-cache-controller"
36*c66ec88fSEmmanuel Vadot		  "fsl,p1025-l2-cache-controller"
37*c66ec88fSEmmanuel Vadot		  "fsl,p2010-l2-cache-controller"
38*c66ec88fSEmmanuel Vadot		  "fsl,p2020-l2-cache-controller"
39*c66ec88fSEmmanuel Vadot		  "fsl,t2080-l2-cache-controller"
40*c66ec88fSEmmanuel Vadot		  "fsl,t4240-l2-cache-controller"
41*c66ec88fSEmmanuel Vadot		  and "cache".
42*c66ec88fSEmmanuel Vadot- reg		: Address and size of L2 cache controller registers
43*c66ec88fSEmmanuel Vadot- cache-size	: Size of the entire L2 cache
44*c66ec88fSEmmanuel Vadot- interrupts	: Error interrupt of L2 controller
45*c66ec88fSEmmanuel Vadot- cache-line-size : Size of L2 cache lines
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel VadotExample:
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot	L2: l2-cache-controller@20000 {
50*c66ec88fSEmmanuel Vadot		compatible = "fsl,bsc9132-l2-cache-controller", "cache";
51*c66ec88fSEmmanuel Vadot		reg = <0x20000 0x1000>;
52*c66ec88fSEmmanuel Vadot		cache-line-size = <32>; // 32 bytes
53*c66ec88fSEmmanuel Vadot		cache-size = <0x40000>; // L2,256K
54*c66ec88fSEmmanuel Vadot		interrupts = <16 2 1 0>;
55*c66ec88fSEmmanuel Vadot	};
56