提交 c054065b 编写于 作者: K Kumar Gala

[POWERPC] 85xx: Add next-level-cache property

Added next-level-cache to the L1 and a reference to the new L2 label.
This is per the ePAPR 0.94 spec.  Since we are't really dependent on this
today we aren't supporting the "legacy" l2-cache phandle that is specified
in the PPC v2.1 OF Binding spec.
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 acd4b715
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
timebase-frequency = <0>; /* From U-boot */ timebase-frequency = <0>; /* From U-boot */
bus-frequency = <0>; /* From U-boot */ bus-frequency = <0>; /* From U-boot */
clock-frequency = <0>; /* From U-boot */ clock-frequency = <0>; /* From U-boot */
next-level-cache = <&L2>;
}; };
}; };
...@@ -62,7 +63,7 @@ ...@@ -62,7 +63,7 @@
interrupts = <0x12 0x2>; interrupts = <0x12 0x2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <0x20>; /* 32 bytes */ cache-line-size = <0x20>; /* 32 bytes */
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
timebase-frequency = <0>; // 33 MHz, from uboot timebase-frequency = <0>; // 33 MHz, from uboot
bus-frequency = <0>; // 166 MHz bus-frequency = <0>; // 166 MHz
clock-frequency = <0>; // 825 MHz, from uboot clock-frequency = <0>; // 825 MHz, from uboot
next-level-cache = <&L2>;
}; };
}; };
...@@ -63,7 +64,7 @@ ...@@ -63,7 +64,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
timebase-frequency = <0>; // 33 MHz, from uboot timebase-frequency = <0>; // 33 MHz, from uboot
bus-frequency = <0>; // 166 MHz bus-frequency = <0>; // 166 MHz
clock-frequency = <0>; // 825 MHz, from uboot clock-frequency = <0>; // 825 MHz, from uboot
next-level-cache = <&L2>;
}; };
}; };
...@@ -63,7 +64,7 @@ ...@@ -63,7 +64,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8541-l2-cache-controller"; compatible = "fsl,8541-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -65,7 +66,7 @@ ...@@ -65,7 +66,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8544-l2-cache-controller"; compatible = "fsl,8544-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
timebase-frequency = <0>; // 33 MHz, from uboot timebase-frequency = <0>; // 33 MHz, from uboot
bus-frequency = <0>; // 166 MHz bus-frequency = <0>; // 166 MHz
clock-frequency = <0>; // 825 MHz, from uboot clock-frequency = <0>; // 825 MHz, from uboot
next-level-cache = <&L2>;
}; };
}; };
...@@ -68,7 +69,7 @@ ...@@ -68,7 +69,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8548-l2-cache-controller"; compatible = "fsl,8548-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
timebase-frequency = <0>; // 33 MHz, from uboot timebase-frequency = <0>; // 33 MHz, from uboot
bus-frequency = <0>; // 166 MHz bus-frequency = <0>; // 166 MHz
clock-frequency = <0>; // 825 MHz, from uboot clock-frequency = <0>; // 825 MHz, from uboot
next-level-cache = <&L2>;
}; };
}; };
...@@ -63,7 +64,7 @@ ...@@ -63,7 +64,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8555-l2-cache-controller"; compatible = "fsl,8555-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -70,7 +71,7 @@ ...@@ -70,7 +71,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8568-l2-cache-controller"; compatible = "fsl,8568-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
PowerPC,8572@1 { PowerPC,8572@1 {
...@@ -54,6 +55,7 @@ ...@@ -54,6 +55,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -84,7 +86,7 @@ ...@@ -84,7 +86,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,mpc8572-l2-cache-controller"; compatible = "fsl,mpc8572-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; // 32 bytes cache-line-size = <32>; // 32 bytes
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
timebase-frequency = <0>; // From uboot timebase-frequency = <0>; // From uboot
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -161,7 +162,7 @@ ...@@ -161,7 +162,7 @@
interrupts = <0x12 0x2>; interrupts = <0x12 0x2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8548-l2-cache-controller"; compatible = "fsl,8548-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <0x20>; // 32 bytes cache-line-size = <0x20>; // 32 bytes
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
timebase-frequency = <0>; // From uboot timebase-frequency = <0>; // From uboot
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -66,7 +67,7 @@ ...@@ -66,7 +67,7 @@
interrupts = <0x12 0x2>; interrupts = <0x12 0x2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8560-l2-cache-controller"; compatible = "fsl,8560-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <0x20>; // 32 bytes cache-line-size = <0x20>; // 32 bytes
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -62,7 +63,7 @@ ...@@ -62,7 +63,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; cache-line-size = <32>;
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -64,7 +65,7 @@ ...@@ -64,7 +65,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; cache-line-size = <32>;
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -63,7 +64,7 @@ ...@@ -63,7 +64,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; cache-line-size = <32>;
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -63,7 +64,7 @@ ...@@ -63,7 +64,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; cache-line-size = <32>;
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
timebase-frequency = <0>; timebase-frequency = <0>;
bus-frequency = <0>; bus-frequency = <0>;
clock-frequency = <0>; clock-frequency = <0>;
next-level-cache = <&L2>;
}; };
}; };
...@@ -64,7 +65,7 @@ ...@@ -64,7 +65,7 @@
interrupts = <18 2>; interrupts = <18 2>;
}; };
l2-cache-controller@20000 { L2: l2-cache-controller@20000 {
compatible = "fsl,8540-l2-cache-controller"; compatible = "fsl,8540-l2-cache-controller";
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
cache-line-size = <32>; cache-line-size = <32>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册