diff options
author | Li Yang <leoyang.li@nxp.com> | 2016-06-16 19:35:04 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-06-21 02:33:34 -0400 |
commit | 2983e625bf2af422a6f55febb784fe34df834322 (patch) | |
tree | 878123b830591dbbba26a5fca224138ece8acb90 | |
parent | ec049f334872e98332dcf044943f3fa7cea742ee (diff) |
arm64: dts: ls2080a: Add cache nodes for cacheinfo support
Adds the cache nodes and next-level-cache property for the
cacheinfo to work.
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index e8a48f229fb6..21023a388c29 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | |||
@@ -67,6 +67,7 @@ | |||
67 | compatible = "arm,cortex-a57"; | 67 | compatible = "arm,cortex-a57"; |
68 | reg = <0x0>; | 68 | reg = <0x0>; |
69 | clocks = <&clockgen 1 0>; | 69 | clocks = <&clockgen 1 0>; |
70 | next-level-cache = <&cluster0_l2>; | ||
70 | }; | 71 | }; |
71 | 72 | ||
72 | cpu@1 { | 73 | cpu@1 { |
@@ -74,6 +75,7 @@ | |||
74 | compatible = "arm,cortex-a57"; | 75 | compatible = "arm,cortex-a57"; |
75 | reg = <0x1>; | 76 | reg = <0x1>; |
76 | clocks = <&clockgen 1 0>; | 77 | clocks = <&clockgen 1 0>; |
78 | next-level-cache = <&cluster0_l2>; | ||
77 | }; | 79 | }; |
78 | 80 | ||
79 | cpu@100 { | 81 | cpu@100 { |
@@ -81,6 +83,7 @@ | |||
81 | compatible = "arm,cortex-a57"; | 83 | compatible = "arm,cortex-a57"; |
82 | reg = <0x100>; | 84 | reg = <0x100>; |
83 | clocks = <&clockgen 1 1>; | 85 | clocks = <&clockgen 1 1>; |
86 | next-level-cache = <&cluster1_l2>; | ||
84 | }; | 87 | }; |
85 | 88 | ||
86 | cpu@101 { | 89 | cpu@101 { |
@@ -88,6 +91,7 @@ | |||
88 | compatible = "arm,cortex-a57"; | 91 | compatible = "arm,cortex-a57"; |
89 | reg = <0x101>; | 92 | reg = <0x101>; |
90 | clocks = <&clockgen 1 1>; | 93 | clocks = <&clockgen 1 1>; |
94 | next-level-cache = <&cluster1_l2>; | ||
91 | }; | 95 | }; |
92 | 96 | ||
93 | cpu@200 { | 97 | cpu@200 { |
@@ -95,6 +99,7 @@ | |||
95 | compatible = "arm,cortex-a57"; | 99 | compatible = "arm,cortex-a57"; |
96 | reg = <0x200>; | 100 | reg = <0x200>; |
97 | clocks = <&clockgen 1 2>; | 101 | clocks = <&clockgen 1 2>; |
102 | next-level-cache = <&cluster2_l2>; | ||
98 | }; | 103 | }; |
99 | 104 | ||
100 | cpu@201 { | 105 | cpu@201 { |
@@ -102,6 +107,7 @@ | |||
102 | compatible = "arm,cortex-a57"; | 107 | compatible = "arm,cortex-a57"; |
103 | reg = <0x201>; | 108 | reg = <0x201>; |
104 | clocks = <&clockgen 1 2>; | 109 | clocks = <&clockgen 1 2>; |
110 | next-level-cache = <&cluster2_l2>; | ||
105 | }; | 111 | }; |
106 | 112 | ||
107 | cpu@300 { | 113 | cpu@300 { |
@@ -109,6 +115,7 @@ | |||
109 | compatible = "arm,cortex-a57"; | 115 | compatible = "arm,cortex-a57"; |
110 | reg = <0x300>; | 116 | reg = <0x300>; |
111 | clocks = <&clockgen 1 3>; | 117 | clocks = <&clockgen 1 3>; |
118 | next-level-cache = <&cluster3_l2>; | ||
112 | }; | 119 | }; |
113 | 120 | ||
114 | cpu@301 { | 121 | cpu@301 { |
@@ -116,6 +123,23 @@ | |||
116 | compatible = "arm,cortex-a57"; | 123 | compatible = "arm,cortex-a57"; |
117 | reg = <0x301>; | 124 | reg = <0x301>; |
118 | clocks = <&clockgen 1 3>; | 125 | clocks = <&clockgen 1 3>; |
126 | next-level-cache = <&cluster3_l2>; | ||
127 | }; | ||
128 | |||
129 | cluster0_l2: l2-cache0 { | ||
130 | compatible = "cache"; | ||
131 | }; | ||
132 | |||
133 | cluster1_l2: l2-cache1 { | ||
134 | compatible = "cache"; | ||
135 | }; | ||
136 | |||
137 | cluster2_l2: l2-cache2 { | ||
138 | compatible = "cache"; | ||
139 | }; | ||
140 | |||
141 | cluster3_l2: l2-cache3 { | ||
142 | compatible = "cache"; | ||
119 | }; | 143 | }; |
120 | }; | 144 | }; |
121 | 145 | ||