diff options
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-7040-db.dts | 46 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-70x0.dtsi | 18 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8020.dtsi | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8040-db.dts | 80 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 76 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8040.dtsi | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 34 |
7 files changed, 129 insertions, 129 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts index 52b5341cb270..44c95b97a422 100644 --- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts | |||
@@ -61,7 +61,7 @@ | |||
61 | reg = <0x0 0x0 0x0 0x80000000>; | 61 | reg = <0x0 0x0 0x0 0x80000000>; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus { | 64 | cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { |
65 | compatible = "regulator-fixed"; | 65 | compatible = "regulator-fixed"; |
66 | regulator-name = "usb3h0-vbus"; | 66 | regulator-name = "usb3h0-vbus"; |
67 | regulator-min-microvolt = <5000000>; | 67 | regulator-min-microvolt = <5000000>; |
@@ -70,7 +70,7 @@ | |||
70 | gpio = <&expander0 0 GPIO_ACTIVE_HIGH>; | 70 | gpio = <&expander0 0 GPIO_ACTIVE_HIGH>; |
71 | }; | 71 | }; |
72 | 72 | ||
73 | cpm_reg_usb3_1_vbus: cpm-usb3-1-vbus { | 73 | cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus { |
74 | compatible = "regulator-fixed"; | 74 | compatible = "regulator-fixed"; |
75 | regulator-name = "usb3h1-vbus"; | 75 | regulator-name = "usb3h1-vbus"; |
76 | regulator-min-microvolt = <5000000>; | 76 | regulator-min-microvolt = <5000000>; |
@@ -79,14 +79,14 @@ | |||
79 | gpio = <&expander0 1 GPIO_ACTIVE_HIGH>; | 79 | gpio = <&expander0 1 GPIO_ACTIVE_HIGH>; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | cpm_usb3_0_phy: cpm-usb3-0-phy { | 82 | cp0_usb3_0_phy: cp0-usb3-0-phy { |
83 | compatible = "usb-nop-xceiv"; | 83 | compatible = "usb-nop-xceiv"; |
84 | vcc-supply = <&cpm_reg_usb3_0_vbus>; | 84 | vcc-supply = <&cp0_reg_usb3_0_vbus>; |
85 | }; | 85 | }; |
86 | 86 | ||
87 | cpm_usb3_1_phy: cpm-usb3-1-phy { | 87 | cp0_usb3_1_phy: cp0-usb3-1-phy { |
88 | compatible = "usb-nop-xceiv"; | 88 | compatible = "usb-nop-xceiv"; |
89 | vcc-supply = <&cpm_reg_usb3_1_vbus>; | 89 | vcc-supply = <&cp0_reg_usb3_1_vbus>; |
90 | }; | 90 | }; |
91 | }; | 91 | }; |
92 | 92 | ||
@@ -129,11 +129,11 @@ | |||
129 | }; | 129 | }; |
130 | 130 | ||
131 | 131 | ||
132 | &cpm_pcie2 { | 132 | &cp0_pcie2 { |
133 | status = "okay"; | 133 | status = "okay"; |
134 | }; | 134 | }; |
135 | 135 | ||
136 | &cpm_i2c0 { | 136 | &cp0_i2c0 { |
137 | status = "okay"; | 137 | status = "okay"; |
138 | clock-frequency = <100000>; | 138 | clock-frequency = <100000>; |
139 | 139 | ||
@@ -156,7 +156,7 @@ | |||
156 | }; | 156 | }; |
157 | }; | 157 | }; |
158 | 158 | ||
159 | &cpm_nand { | 159 | &cp0_nand { |
160 | /* | 160 | /* |
161 | * SPI on CPM and NAND have common pins on this board. We can | 161 | * SPI on CPM and NAND have common pins on this board. We can |
162 | * use only one at a time. To enable the NAND (whihch will | 162 | * use only one at a time. To enable the NAND (whihch will |
@@ -186,7 +186,7 @@ | |||
186 | }; | 186 | }; |
187 | 187 | ||
188 | 188 | ||
189 | &cpm_spi1 { | 189 | &cp0_spi1 { |
190 | status = "okay"; | 190 | status = "okay"; |
191 | 191 | ||
192 | spi-flash@0 { | 192 | spi-flash@0 { |
@@ -214,17 +214,17 @@ | |||
214 | }; | 214 | }; |
215 | }; | 215 | }; |
216 | 216 | ||
217 | &cpm_sata0 { | 217 | &cp0_sata0 { |
218 | status = "okay"; | 218 | status = "okay"; |
219 | }; | 219 | }; |
220 | 220 | ||
221 | &cpm_usb3_0 { | 221 | &cp0_usb3_0 { |
222 | usb-phy = <&cpm_usb3_0_phy>; | 222 | usb-phy = <&cp0_usb3_0_phy>; |
223 | status = "okay"; | 223 | status = "okay"; |
224 | }; | 224 | }; |
225 | 225 | ||
226 | &cpm_usb3_1 { | 226 | &cp0_usb3_1 { |
227 | usb-phy = <&cpm_usb3_1_phy>; | 227 | usb-phy = <&cp0_usb3_1_phy>; |
228 | status = "okay"; | 228 | status = "okay"; |
229 | }; | 229 | }; |
230 | 230 | ||
@@ -235,14 +235,14 @@ | |||
235 | non-removable; | 235 | non-removable; |
236 | }; | 236 | }; |
237 | 237 | ||
238 | &cpm_sdhci0 { | 238 | &cp0_sdhci0 { |
239 | status = "okay"; | 239 | status = "okay"; |
240 | bus-width = <4>; | 240 | bus-width = <4>; |
241 | no-1-8-v; | 241 | no-1-8-v; |
242 | cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>; | 242 | cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>; |
243 | }; | 243 | }; |
244 | 244 | ||
245 | &cpm_mdio { | 245 | &cp0_mdio { |
246 | status = "okay"; | 246 | status = "okay"; |
247 | 247 | ||
248 | phy0: ethernet-phy@0 { | 248 | phy0: ethernet-phy@0 { |
@@ -253,28 +253,28 @@ | |||
253 | }; | 253 | }; |
254 | }; | 254 | }; |
255 | 255 | ||
256 | &cpm_ethernet { | 256 | &cp0_ethernet { |
257 | status = "okay"; | 257 | status = "okay"; |
258 | }; | 258 | }; |
259 | 259 | ||
260 | &cpm_eth0 { | 260 | &cp0_eth0 { |
261 | status = "okay"; | 261 | status = "okay"; |
262 | /* Network PHY */ | 262 | /* Network PHY */ |
263 | phy-mode = "10gbase-kr"; | 263 | phy-mode = "10gbase-kr"; |
264 | /* Generic PHY, providing serdes lanes */ | 264 | /* Generic PHY, providing serdes lanes */ |
265 | phys = <&cpm_comphy2 0>; | 265 | phys = <&cp0_comphy2 0>; |
266 | }; | 266 | }; |
267 | 267 | ||
268 | &cpm_eth1 { | 268 | &cp0_eth1 { |
269 | status = "okay"; | 269 | status = "okay"; |
270 | /* Network PHY */ | 270 | /* Network PHY */ |
271 | phy = <&phy0>; | 271 | phy = <&phy0>; |
272 | phy-mode = "sgmii"; | 272 | phy-mode = "sgmii"; |
273 | /* Generic PHY, providing serdes lanes */ | 273 | /* Generic PHY, providing serdes lanes */ |
274 | phys = <&cpm_comphy0 1>; | 274 | phys = <&cp0_comphy0 1>; |
275 | }; | 275 | }; |
276 | 276 | ||
277 | &cpm_eth2 { | 277 | &cp0_eth2 { |
278 | status = "okay"; | 278 | status = "okay"; |
279 | phy = <&phy1>; | 279 | phy = <&phy1>; |
280 | phy-mode = "rgmii-id"; | 280 | phy-mode = "rgmii-id"; |
diff --git a/arch/arm64/boot/dts/marvell/armada-70x0.dtsi b/arch/arm64/boot/dts/marvell/armada-70x0.dtsi index 9917cff3dae6..f63b4fbd642b 100644 --- a/arch/arm64/boot/dts/marvell/armada-70x0.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-70x0.dtsi | |||
@@ -46,17 +46,17 @@ | |||
46 | 46 | ||
47 | / { | 47 | / { |
48 | aliases { | 48 | aliases { |
49 | gpio1 = &cpm_gpio1; | 49 | gpio1 = &cp0_gpio1; |
50 | gpio2 = &cpm_gpio2; | 50 | gpio2 = &cp0_gpio2; |
51 | spi1 = &cpm_spi0; | 51 | spi1 = &cp0_spi0; |
52 | spi2 = &cpm_spi1; | 52 | spi2 = &cp0_spi1; |
53 | }; | 53 | }; |
54 | }; | 54 | }; |
55 | 55 | ||
56 | /* | 56 | /* |
57 | * Instantiate the CP110 | 57 | * Instantiate the CP110 |
58 | */ | 58 | */ |
59 | #define CP110_NAME cpm | 59 | #define CP110_NAME cp0 |
60 | #define CP110_BASE f2000000 | 60 | #define CP110_BASE f2000000 |
61 | #define CP110_PCIE_IO_BASE 0xf9000000 | 61 | #define CP110_PCIE_IO_BASE 0xf9000000 |
62 | #define CP110_PCIE_MEM_BASE 0xf6000000 | 62 | #define CP110_PCIE_MEM_BASE 0xf6000000 |
@@ -74,16 +74,16 @@ | |||
74 | #undef CP110_PCIE1_BASE | 74 | #undef CP110_PCIE1_BASE |
75 | #undef CP110_PCIE2_BASE | 75 | #undef CP110_PCIE2_BASE |
76 | 76 | ||
77 | &cpm_gpio1 { | 77 | &cp0_gpio1 { |
78 | status = "okay"; | 78 | status = "okay"; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | &cpm_gpio2 { | 81 | &cp0_gpio2 { |
82 | status = "okay"; | 82 | status = "okay"; |
83 | }; | 83 | }; |
84 | 84 | ||
85 | &cpm_syscon0 { | 85 | &cp0_syscon0 { |
86 | cpm_pinctrl: pinctrl { | 86 | cp0_pinctrl: pinctrl { |
87 | compatible = "marvell,armada-7k-pinctrl"; | 87 | compatible = "marvell,armada-7k-pinctrl"; |
88 | 88 | ||
89 | nand_pins: nand-pins { | 89 | nand_pins: nand-pins { |
diff --git a/arch/arm64/boot/dts/marvell/armada-8020.dtsi b/arch/arm64/boot/dts/marvell/armada-8020.dtsi index 0ba0bc942598..3318d6b0214b 100644 --- a/arch/arm64/boot/dts/marvell/armada-8020.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-8020.dtsi | |||
@@ -60,6 +60,6 @@ | |||
60 | * oscillator so this one is let enabled. | 60 | * oscillator so this one is let enabled. |
61 | */ | 61 | */ |
62 | 62 | ||
63 | &cpm_rtc { | 63 | &cp0_rtc { |
64 | status = "disabled"; | 64 | status = "disabled"; |
65 | }; | 65 | }; |
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts index b1f6cccc5081..13e3209d554a 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts | |||
@@ -61,46 +61,46 @@ | |||
61 | reg = <0x0 0x0 0x0 0x80000000>; | 61 | reg = <0x0 0x0 0x0 0x80000000>; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | cpm_reg_usb3_0_vbus: cpm-usb3-0-vbus { | 64 | cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { |
65 | compatible = "regulator-fixed"; | 65 | compatible = "regulator-fixed"; |
66 | regulator-name = "cpm-usb3h0-vbus"; | 66 | regulator-name = "cp0-usb3h0-vbus"; |
67 | regulator-min-microvolt = <5000000>; | 67 | regulator-min-microvolt = <5000000>; |
68 | regulator-max-microvolt = <5000000>; | 68 | regulator-max-microvolt = <5000000>; |
69 | enable-active-high; | 69 | enable-active-high; |
70 | gpio = <&expander0 0 GPIO_ACTIVE_HIGH>; | 70 | gpio = <&expander0 0 GPIO_ACTIVE_HIGH>; |
71 | }; | 71 | }; |
72 | 72 | ||
73 | cpm_reg_usb3_1_vbus: cpm-usb3-1-vbus { | 73 | cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus { |
74 | compatible = "regulator-fixed"; | 74 | compatible = "regulator-fixed"; |
75 | regulator-name = "cpm-usb3h1-vbus"; | 75 | regulator-name = "cp0-usb3h1-vbus"; |
76 | regulator-min-microvolt = <5000000>; | 76 | regulator-min-microvolt = <5000000>; |
77 | regulator-max-microvolt = <5000000>; | 77 | regulator-max-microvolt = <5000000>; |
78 | enable-active-high; | 78 | enable-active-high; |
79 | gpio = <&expander0 1 GPIO_ACTIVE_HIGH>; | 79 | gpio = <&expander0 1 GPIO_ACTIVE_HIGH>; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | cpm_usb3_0_phy: cpm-usb3-0-phy { | 82 | cp0_usb3_0_phy: cp0-usb3-0-phy { |
83 | compatible = "usb-nop-xceiv"; | 83 | compatible = "usb-nop-xceiv"; |
84 | vcc-supply = <&cpm_reg_usb3_0_vbus>; | 84 | vcc-supply = <&cp0_reg_usb3_0_vbus>; |
85 | }; | 85 | }; |
86 | 86 | ||
87 | cpm_usb3_1_phy: cpm-usb3-1-phy { | 87 | cp0_usb3_1_phy: cp0-usb3-1-phy { |
88 | compatible = "usb-nop-xceiv"; | 88 | compatible = "usb-nop-xceiv"; |
89 | vcc-supply = <&cpm_reg_usb3_1_vbus>; | 89 | vcc-supply = <&cp0_reg_usb3_1_vbus>; |
90 | }; | 90 | }; |
91 | 91 | ||
92 | cps_reg_usb3_0_vbus: cps-usb3-0-vbus { | 92 | cp1_reg_usb3_0_vbus: cp1-usb3-0-vbus { |
93 | compatible = "regulator-fixed"; | 93 | compatible = "regulator-fixed"; |
94 | regulator-name = "cps-usb3h0-vbus"; | 94 | regulator-name = "cp1-usb3h0-vbus"; |
95 | regulator-min-microvolt = <5000000>; | 95 | regulator-min-microvolt = <5000000>; |
96 | regulator-max-microvolt = <5000000>; | 96 | regulator-max-microvolt = <5000000>; |
97 | enable-active-high; | 97 | enable-active-high; |
98 | gpio = <&expander1 0 GPIO_ACTIVE_HIGH>; | 98 | gpio = <&expander1 0 GPIO_ACTIVE_HIGH>; |
99 | }; | 99 | }; |
100 | 100 | ||
101 | cps_usb3_0_phy: cps-usb3-0-phy { | 101 | cp1_usb3_0_phy: cp1-usb3-0-phy { |
102 | compatible = "usb-nop-xceiv"; | 102 | compatible = "usb-nop-xceiv"; |
103 | vcc-supply = <&cps_reg_usb3_0_vbus>; | 103 | vcc-supply = <&cp1_reg_usb3_0_vbus>; |
104 | }; | 104 | }; |
105 | }; | 105 | }; |
106 | 106 | ||
@@ -144,16 +144,16 @@ | |||
144 | }; | 144 | }; |
145 | 145 | ||
146 | /* CON6 on CP0 expansion */ | 146 | /* CON6 on CP0 expansion */ |
147 | &cpm_pcie0 { | 147 | &cp0_pcie0 { |
148 | status = "okay"; | 148 | status = "okay"; |
149 | }; | 149 | }; |
150 | 150 | ||
151 | /* CON5 on CP0 expansion */ | 151 | /* CON5 on CP0 expansion */ |
152 | &cpm_pcie2 { | 152 | &cp0_pcie2 { |
153 | status = "okay"; | 153 | status = "okay"; |
154 | }; | 154 | }; |
155 | 155 | ||
156 | &cpm_i2c0 { | 156 | &cp0_i2c0 { |
157 | status = "okay"; | 157 | status = "okay"; |
158 | clock-frequency = <100000>; | 158 | clock-frequency = <100000>; |
159 | 159 | ||
@@ -178,23 +178,23 @@ | |||
178 | }; | 178 | }; |
179 | 179 | ||
180 | /* CON4 on CP0 expansion */ | 180 | /* CON4 on CP0 expansion */ |
181 | &cpm_sata0 { | 181 | &cp0_sata0 { |
182 | status = "okay"; | 182 | status = "okay"; |
183 | }; | 183 | }; |
184 | 184 | ||
185 | /* CON9 on CP0 expansion */ | 185 | /* CON9 on CP0 expansion */ |
186 | &cpm_usb3_0 { | 186 | &cp0_usb3_0 { |
187 | usb-phy = <&cpm_usb3_0_phy>; | 187 | usb-phy = <&cp0_usb3_0_phy>; |
188 | status = "okay"; | 188 | status = "okay"; |
189 | }; | 189 | }; |
190 | 190 | ||
191 | /* CON10 on CP0 expansion */ | 191 | /* CON10 on CP0 expansion */ |
192 | &cpm_usb3_1 { | 192 | &cp0_usb3_1 { |
193 | usb-phy = <&cpm_usb3_1_phy>; | 193 | usb-phy = <&cp0_usb3_1_phy>; |
194 | status = "okay"; | 194 | status = "okay"; |
195 | }; | 195 | }; |
196 | 196 | ||
197 | &cpm_mdio { | 197 | &cp0_mdio { |
198 | status = "okay"; | 198 | status = "okay"; |
199 | 199 | ||
200 | phy1: ethernet-phy@1 { | 200 | phy1: ethernet-phy@1 { |
@@ -202,42 +202,42 @@ | |||
202 | }; | 202 | }; |
203 | }; | 203 | }; |
204 | 204 | ||
205 | &cpm_ethernet { | 205 | &cp0_ethernet { |
206 | status = "okay"; | 206 | status = "okay"; |
207 | }; | 207 | }; |
208 | 208 | ||
209 | &cpm_eth0 { | 209 | &cp0_eth0 { |
210 | status = "okay"; | 210 | status = "okay"; |
211 | phy-mode = "10gbase-kr"; | 211 | phy-mode = "10gbase-kr"; |
212 | }; | 212 | }; |
213 | 213 | ||
214 | &cpm_eth2 { | 214 | &cp0_eth2 { |
215 | status = "okay"; | 215 | status = "okay"; |
216 | phy = <&phy1>; | 216 | phy = <&phy1>; |
217 | phy-mode = "rgmii-id"; | 217 | phy-mode = "rgmii-id"; |
218 | }; | 218 | }; |
219 | 219 | ||
220 | /* CON6 on CP1 expansion */ | 220 | /* CON6 on CP1 expansion */ |
221 | &cps_pcie0 { | 221 | &cp1_pcie0 { |
222 | status = "okay"; | 222 | status = "okay"; |
223 | }; | 223 | }; |
224 | 224 | ||
225 | /* CON7 on CP1 expansion */ | 225 | /* CON7 on CP1 expansion */ |
226 | &cps_pcie1 { | 226 | &cp1_pcie1 { |
227 | status = "okay"; | 227 | status = "okay"; |
228 | }; | 228 | }; |
229 | 229 | ||
230 | /* CON5 on CP1 expansion */ | 230 | /* CON5 on CP1 expansion */ |
231 | &cps_pcie2 { | 231 | &cp1_pcie2 { |
232 | status = "okay"; | 232 | status = "okay"; |
233 | }; | 233 | }; |
234 | 234 | ||
235 | &cps_i2c0 { | 235 | &cp1_i2c0 { |
236 | status = "okay"; | 236 | status = "okay"; |
237 | clock-frequency = <100000>; | 237 | clock-frequency = <100000>; |
238 | }; | 238 | }; |
239 | 239 | ||
240 | &cps_spi1 { | 240 | &cp1_spi1 { |
241 | status = "okay"; | 241 | status = "okay"; |
242 | 242 | ||
243 | spi-flash@0 { | 243 | spi-flash@0 { |
@@ -272,14 +272,14 @@ | |||
272 | * Proper NAND usage will require DPR-76 to be in position 1-2, which disables | 272 | * Proper NAND usage will require DPR-76 to be in position 1-2, which disables |
273 | * MDIO signal of CP1. | 273 | * MDIO signal of CP1. |
274 | */ | 274 | */ |
275 | &cps_nand { | 275 | &cp1_nand { |
276 | num-cs = <1>; | 276 | num-cs = <1>; |
277 | pinctrl-0 = <&nand_pins>, <&nand_rb>; | 277 | pinctrl-0 = <&nand_pins>, <&nand_rb>; |
278 | pinctrl-names = "default"; | 278 | pinctrl-names = "default"; |
279 | nand-ecc-strength = <4>; | 279 | nand-ecc-strength = <4>; |
280 | nand-ecc-step-size = <512>; | 280 | nand-ecc-step-size = <512>; |
281 | marvell,nand-enable-arbiter; | 281 | marvell,nand-enable-arbiter; |
282 | marvell,system-controller = <&cps_syscon0>; | 282 | marvell,system-controller = <&cp1_syscon0>; |
283 | nand-on-flash-bbt; | 283 | nand-on-flash-bbt; |
284 | 284 | ||
285 | partition@0 { | 285 | partition@0 { |
@@ -297,22 +297,22 @@ | |||
297 | }; | 297 | }; |
298 | 298 | ||
299 | /* CON4 on CP1 expansion */ | 299 | /* CON4 on CP1 expansion */ |
300 | &cps_sata0 { | 300 | &cp1_sata0 { |
301 | status = "okay"; | 301 | status = "okay"; |
302 | }; | 302 | }; |
303 | 303 | ||
304 | /* CON9 on CP1 expansion */ | 304 | /* CON9 on CP1 expansion */ |
305 | &cps_usb3_0 { | 305 | &cp1_usb3_0 { |
306 | usb-phy = <&cps_usb3_0_phy>; | 306 | usb-phy = <&cp1_usb3_0_phy>; |
307 | status = "okay"; | 307 | status = "okay"; |
308 | }; | 308 | }; |
309 | 309 | ||
310 | /* CON10 on CP1 expansion */ | 310 | /* CON10 on CP1 expansion */ |
311 | &cps_usb3_1 { | 311 | &cp1_usb3_1 { |
312 | status = "okay"; | 312 | status = "okay"; |
313 | }; | 313 | }; |
314 | 314 | ||
315 | &cps_mdio { | 315 | &cp1_mdio { |
316 | status = "okay"; | 316 | status = "okay"; |
317 | 317 | ||
318 | phy0: ethernet-phy@0 { | 318 | phy0: ethernet-phy@0 { |
@@ -320,16 +320,16 @@ | |||
320 | }; | 320 | }; |
321 | }; | 321 | }; |
322 | 322 | ||
323 | &cps_ethernet { | 323 | &cp1_ethernet { |
324 | status = "okay"; | 324 | status = "okay"; |
325 | }; | 325 | }; |
326 | 326 | ||
327 | &cps_eth0 { | 327 | &cp1_eth0 { |
328 | status = "okay"; | 328 | status = "okay"; |
329 | phy-mode = "10gbase-kr"; | 329 | phy-mode = "10gbase-kr"; |
330 | }; | 330 | }; |
331 | 331 | ||
332 | &cps_eth1 { | 332 | &cp1_eth1 { |
333 | status = "okay"; | 333 | status = "okay"; |
334 | phy = <&phy0>; | 334 | phy = <&phy0>; |
335 | phy-mode = "rgmii-id"; | 335 | phy-mode = "rgmii-id"; |
@@ -341,7 +341,7 @@ | |||
341 | non-removable; | 341 | non-removable; |
342 | }; | 342 | }; |
343 | 343 | ||
344 | &cpm_sdhci0 { | 344 | &cp0_sdhci0 { |
345 | status = "okay"; | 345 | status = "okay"; |
346 | bus-width = <8>; | 346 | bus-width = <8>; |
347 | non-removable; | 347 | non-removable; |
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index b3350827ee55..c7aca67bd244 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | |||
@@ -84,9 +84,9 @@ | |||
84 | v_5v0_usb3_hst_vbus: regulator-usb3-vbus0 { | 84 | v_5v0_usb3_hst_vbus: regulator-usb3-vbus0 { |
85 | compatible = "regulator-fixed"; | 85 | compatible = "regulator-fixed"; |
86 | enable-active-high; | 86 | enable-active-high; |
87 | gpio = <&cpm_gpio2 15 GPIO_ACTIVE_HIGH>; | 87 | gpio = <&cp0_gpio2 15 GPIO_ACTIVE_HIGH>; |
88 | pinctrl-names = "default"; | 88 | pinctrl-names = "default"; |
89 | pinctrl-0 = <&cpm_xhci_vbus_pins>; | 89 | pinctrl-0 = <&cp0_xhci_vbus_pins>; |
90 | regulator-name = "v_5v0_usb3_hst_vbus"; | 90 | regulator-name = "v_5v0_usb3_hst_vbus"; |
91 | regulator-min-microvolt = <5000000>; | 91 | regulator-min-microvolt = <5000000>; |
92 | regulator-max-microvolt = <5000000>; | 92 | regulator-max-microvolt = <5000000>; |
@@ -120,17 +120,17 @@ | |||
120 | vqmmc-supply = <&v_vddo_h>; | 120 | vqmmc-supply = <&v_vddo_h>; |
121 | }; | 121 | }; |
122 | 122 | ||
123 | &cpm_i2c0 { | 123 | &cp0_i2c0 { |
124 | clock-frequency = <100000>; | 124 | clock-frequency = <100000>; |
125 | pinctrl-names = "default"; | 125 | pinctrl-names = "default"; |
126 | pinctrl-0 = <&cpm_i2c0_pins>; | 126 | pinctrl-0 = <&cp0_i2c0_pins>; |
127 | status = "okay"; | 127 | status = "okay"; |
128 | }; | 128 | }; |
129 | 129 | ||
130 | &cpm_i2c1 { | 130 | &cp0_i2c1 { |
131 | clock-frequency = <100000>; | 131 | clock-frequency = <100000>; |
132 | pinctrl-names = "default"; | 132 | pinctrl-names = "default"; |
133 | pinctrl-0 = <&cpm_i2c1_pins>; | 133 | pinctrl-0 = <&cp0_i2c1_pins>; |
134 | status = "okay"; | 134 | status = "okay"; |
135 | 135 | ||
136 | i2c-switch@70 { | 136 | i2c-switch@70 { |
@@ -157,9 +157,9 @@ | |||
157 | }; | 157 | }; |
158 | }; | 158 | }; |
159 | 159 | ||
160 | &cpm_mdio { | 160 | &cp0_mdio { |
161 | pinctrl-names = "default"; | 161 | pinctrl-names = "default"; |
162 | pinctrl-0 = <&cpm_ge_mdio_pins>; | 162 | pinctrl-0 = <&cp0_ge_mdio_pins>; |
163 | status = "okay"; | 163 | status = "okay"; |
164 | 164 | ||
165 | ge_phy: ethernet-phy@0 { | 165 | ge_phy: ethernet-phy@0 { |
@@ -167,44 +167,44 @@ | |||
167 | }; | 167 | }; |
168 | }; | 168 | }; |
169 | 169 | ||
170 | &cpm_pcie0 { | 170 | &cp0_pcie0 { |
171 | pinctrl-names = "default"; | 171 | pinctrl-names = "default"; |
172 | pinctrl-0 = <&cpm_pcie_pins>; | 172 | pinctrl-0 = <&cp0_pcie_pins>; |
173 | num-lanes = <4>; | 173 | num-lanes = <4>; |
174 | num-viewport = <8>; | 174 | num-viewport = <8>; |
175 | reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_LOW>; | 175 | reset-gpio = <&cp0_gpio1 20 GPIO_ACTIVE_LOW>; |
176 | status = "okay"; | 176 | status = "okay"; |
177 | }; | 177 | }; |
178 | 178 | ||
179 | &cpm_pinctrl { | 179 | &cp0_pinctrl { |
180 | cpm_ge_mdio_pins: ge-mdio-pins { | 180 | cp0_ge_mdio_pins: ge-mdio-pins { |
181 | marvell,pins = "mpp32", "mpp34"; | 181 | marvell,pins = "mpp32", "mpp34"; |
182 | marvell,function = "ge"; | 182 | marvell,function = "ge"; |
183 | }; | 183 | }; |
184 | cpm_i2c1_pins: i2c1-pins { | 184 | cp0_i2c1_pins: i2c1-pins { |
185 | marvell,pins = "mpp35", "mpp36"; | 185 | marvell,pins = "mpp35", "mpp36"; |
186 | marvell,function = "i2c1"; | 186 | marvell,function = "i2c1"; |
187 | }; | 187 | }; |
188 | cpm_i2c0_pins: i2c0-pins { | 188 | cp0_i2c0_pins: i2c0-pins { |
189 | marvell,pins = "mpp37", "mpp38"; | 189 | marvell,pins = "mpp37", "mpp38"; |
190 | marvell,function = "i2c0"; | 190 | marvell,function = "i2c0"; |
191 | }; | 191 | }; |
192 | cpm_xhci_vbus_pins: xhci0-vbus-pins { | 192 | cp0_xhci_vbus_pins: xhci0-vbus-pins { |
193 | marvell,pins = "mpp47"; | 193 | marvell,pins = "mpp47"; |
194 | marvell,function = "gpio"; | 194 | marvell,function = "gpio"; |
195 | }; | 195 | }; |
196 | cpm_pcie_pins: pcie-pins { | 196 | cp0_pcie_pins: pcie-pins { |
197 | marvell,pins = "mpp52"; | 197 | marvell,pins = "mpp52"; |
198 | marvell,function = "gpio"; | 198 | marvell,function = "gpio"; |
199 | }; | 199 | }; |
200 | cpm_sdhci_pins: sdhci-pins { | 200 | cp0_sdhci_pins: sdhci-pins { |
201 | marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59", | 201 | marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59", |
202 | "mpp60", "mpp61"; | 202 | "mpp60", "mpp61"; |
203 | marvell,function = "sdio"; | 203 | marvell,function = "sdio"; |
204 | }; | 204 | }; |
205 | }; | 205 | }; |
206 | 206 | ||
207 | &cpm_xmdio { | 207 | &cp0_xmdio { |
208 | status = "okay"; | 208 | status = "okay"; |
209 | 209 | ||
210 | phy0: ethernet-phy@0 { | 210 | phy0: ethernet-phy@0 { |
@@ -218,83 +218,83 @@ | |||
218 | }; | 218 | }; |
219 | }; | 219 | }; |
220 | 220 | ||
221 | &cpm_ethernet { | 221 | &cp0_ethernet { |
222 | status = "okay"; | 222 | status = "okay"; |
223 | }; | 223 | }; |
224 | 224 | ||
225 | &cpm_eth0 { | 225 | &cp0_eth0 { |
226 | status = "okay"; | 226 | status = "okay"; |
227 | /* Network PHY */ | 227 | /* Network PHY */ |
228 | phy = <&phy0>; | 228 | phy = <&phy0>; |
229 | phy-mode = "10gbase-kr"; | 229 | phy-mode = "10gbase-kr"; |
230 | /* Generic PHY, providing serdes lanes */ | 230 | /* Generic PHY, providing serdes lanes */ |
231 | phys = <&cpm_comphy4 0>; | 231 | phys = <&cp0_comphy4 0>; |
232 | }; | 232 | }; |
233 | 233 | ||
234 | &cpm_sata0 { | 234 | &cp0_sata0 { |
235 | /* CPM Lane 0 - U29 */ | 235 | /* CPM Lane 0 - U29 */ |
236 | status = "okay"; | 236 | status = "okay"; |
237 | }; | 237 | }; |
238 | 238 | ||
239 | &cpm_sdhci0 { | 239 | &cp0_sdhci0 { |
240 | /* U6 */ | 240 | /* U6 */ |
241 | broken-cd; | 241 | broken-cd; |
242 | bus-width = <4>; | 242 | bus-width = <4>; |
243 | pinctrl-names = "default"; | 243 | pinctrl-names = "default"; |
244 | pinctrl-0 = <&cpm_sdhci_pins>; | 244 | pinctrl-0 = <&cp0_sdhci_pins>; |
245 | status = "okay"; | 245 | status = "okay"; |
246 | vqmmc-supply = <&v_3_3>; | 246 | vqmmc-supply = <&v_3_3>; |
247 | }; | 247 | }; |
248 | 248 | ||
249 | &cpm_usb3_0 { | 249 | &cp0_usb3_0 { |
250 | /* J38? - USB2.0 only */ | 250 | /* J38? - USB2.0 only */ |
251 | status = "okay"; | 251 | status = "okay"; |
252 | }; | 252 | }; |
253 | 253 | ||
254 | &cpm_usb3_1 { | 254 | &cp0_usb3_1 { |
255 | /* J38? - USB2.0 only */ | 255 | /* J38? - USB2.0 only */ |
256 | status = "okay"; | 256 | status = "okay"; |
257 | }; | 257 | }; |
258 | 258 | ||
259 | &cps_ethernet { | 259 | &cp1_ethernet { |
260 | status = "okay"; | 260 | status = "okay"; |
261 | }; | 261 | }; |
262 | 262 | ||
263 | &cps_eth0 { | 263 | &cp1_eth0 { |
264 | status = "okay"; | 264 | status = "okay"; |
265 | /* Network PHY */ | 265 | /* Network PHY */ |
266 | phy = <&phy8>; | 266 | phy = <&phy8>; |
267 | phy-mode = "10gbase-kr"; | 267 | phy-mode = "10gbase-kr"; |
268 | /* Generic PHY, providing serdes lanes */ | 268 | /* Generic PHY, providing serdes lanes */ |
269 | phys = <&cps_comphy4 0>; | 269 | phys = <&cp1_comphy4 0>; |
270 | }; | 270 | }; |
271 | 271 | ||
272 | &cps_eth1 { | 272 | &cp1_eth1 { |
273 | /* CPS Lane 0 - J5 (Gigabit RJ45) */ | 273 | /* CPS Lane 0 - J5 (Gigabit RJ45) */ |
274 | status = "okay"; | 274 | status = "okay"; |
275 | /* Network PHY */ | 275 | /* Network PHY */ |
276 | phy = <&ge_phy>; | 276 | phy = <&ge_phy>; |
277 | phy-mode = "sgmii"; | 277 | phy-mode = "sgmii"; |
278 | /* Generic PHY, providing serdes lanes */ | 278 | /* Generic PHY, providing serdes lanes */ |
279 | phys = <&cps_comphy0 1>; | 279 | phys = <&cp1_comphy0 1>; |
280 | }; | 280 | }; |
281 | 281 | ||
282 | &cps_pinctrl { | 282 | &cp1_pinctrl { |
283 | cps_spi1_pins: spi1-pins { | 283 | cp1_spi1_pins: spi1-pins { |
284 | marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", "mpp16"; | 284 | marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", "mpp16"; |
285 | marvell,function = "spi1"; | 285 | marvell,function = "spi1"; |
286 | }; | 286 | }; |
287 | }; | 287 | }; |
288 | 288 | ||
289 | &cps_sata0 { | 289 | &cp1_sata0 { |
290 | /* CPS Lane 1 - U32 */ | 290 | /* CPS Lane 1 - U32 */ |
291 | /* CPS Lane 3 - U31 */ | 291 | /* CPS Lane 3 - U31 */ |
292 | status = "okay"; | 292 | status = "okay"; |
293 | }; | 293 | }; |
294 | 294 | ||
295 | &cps_spi1 { | 295 | &cp1_spi1 { |
296 | pinctrl-names = "default"; | 296 | pinctrl-names = "default"; |
297 | pinctrl-0 = <&cps_spi1_pins>; | 297 | pinctrl-0 = <&cp1_spi1_pins>; |
298 | status = "okay"; | 298 | status = "okay"; |
299 | 299 | ||
300 | spi-flash@0 { | 300 | spi-flash@0 { |
@@ -304,7 +304,7 @@ | |||
304 | }; | 304 | }; |
305 | }; | 305 | }; |
306 | 306 | ||
307 | &cps_usb3_0 { | 307 | &cp1_usb3_0 { |
308 | /* CPS Lane 2 - CON7 */ | 308 | /* CPS Lane 2 - CON7 */ |
309 | usb-phy = <&usb3h0_phy>; | 309 | usb-phy = <&usb3h0_phy>; |
310 | status = "okay"; | 310 | status = "okay"; |
diff --git a/arch/arm64/boot/dts/marvell/armada-8040.dtsi b/arch/arm64/boot/dts/marvell/armada-8040.dtsi index 60fe84f5cbcc..83d2b40e5981 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-8040.dtsi | |||
@@ -59,6 +59,6 @@ | |||
59 | * disable it. However, the RTC clock in CP slave is connected to the | 59 | * disable it. However, the RTC clock in CP slave is connected to the |
60 | * oscillator so this one is let enabled. | 60 | * oscillator so this one is let enabled. |
61 | */ | 61 | */ |
62 | &cpm_rtc { | 62 | &cp0_rtc { |
63 | status = "disabled"; | 63 | status = "disabled"; |
64 | }; | 64 | }; |
diff --git a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi index 5e038e7b7b30..0d36b0fa7153 100644 --- a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi | |||
@@ -46,19 +46,19 @@ | |||
46 | 46 | ||
47 | / { | 47 | / { |
48 | aliases { | 48 | aliases { |
49 | gpio1 = &cps_gpio1; | 49 | gpio1 = &cp1_gpio1; |
50 | gpio2 = &cpm_gpio2; | 50 | gpio2 = &cp0_gpio2; |
51 | spi1 = &cpm_spi0; | 51 | spi1 = &cp0_spi0; |
52 | spi2 = &cpm_spi1; | 52 | spi2 = &cp0_spi1; |
53 | spi3 = &cps_spi0; | 53 | spi3 = &cp1_spi0; |
54 | spi4 = &cps_spi1; | 54 | spi4 = &cp1_spi1; |
55 | }; | 55 | }; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | /* | 58 | /* |
59 | * Instantiate the master CP110 | 59 | * Instantiate the master CP110 |
60 | */ | 60 | */ |
61 | #define CP110_NAME cpm | 61 | #define CP110_NAME cp0 |
62 | #define CP110_BASE f2000000 | 62 | #define CP110_BASE f2000000 |
63 | #define CP110_PCIE_IO_BASE 0xf9000000 | 63 | #define CP110_PCIE_IO_BASE 0xf9000000 |
64 | #define CP110_PCIE_MEM_BASE 0xf6000000 | 64 | #define CP110_PCIE_MEM_BASE 0xf6000000 |
@@ -79,7 +79,7 @@ | |||
79 | /* | 79 | /* |
80 | * Instantiate the slave CP110 | 80 | * Instantiate the slave CP110 |
81 | */ | 81 | */ |
82 | #define CP110_NAME cps | 82 | #define CP110_NAME cp1 |
83 | #define CP110_BASE f4000000 | 83 | #define CP110_BASE f4000000 |
84 | #define CP110_PCIE_IO_BASE 0xfd000000 | 84 | #define CP110_PCIE_IO_BASE 0xfd000000 |
85 | #define CP110_PCIE_MEM_BASE 0xfa000000 | 85 | #define CP110_PCIE_MEM_BASE 0xfa000000 |
@@ -98,23 +98,23 @@ | |||
98 | #undef CP110_PCIE2_BASE | 98 | #undef CP110_PCIE2_BASE |
99 | 99 | ||
100 | /* The 80x0 has two CP blocks, but uses only one block from each. */ | 100 | /* The 80x0 has two CP blocks, but uses only one block from each. */ |
101 | &cps_gpio1 { | 101 | &cp1_gpio1 { |
102 | status = "okay"; | 102 | status = "okay"; |
103 | }; | 103 | }; |
104 | 104 | ||
105 | &cpm_gpio2 { | 105 | &cp0_gpio2 { |
106 | status = "okay"; | 106 | status = "okay"; |
107 | }; | 107 | }; |
108 | 108 | ||
109 | &cpm_syscon0 { | 109 | &cp0_syscon0 { |
110 | cpm_pinctrl: pinctrl { | 110 | cp0_pinctrl: pinctrl { |
111 | compatible = "marvell,armada-8k-cpm-pinctrl"; | 111 | compatible = "marvell,armada-8k-cp0-pinctrl"; |
112 | }; | 112 | }; |
113 | }; | 113 | }; |
114 | 114 | ||
115 | &cps_syscon0 { | 115 | &cp1_syscon0 { |
116 | cps_pinctrl: pinctrl { | 116 | cp1_pinctrl: pinctrl { |
117 | compatible = "marvell,armada-8k-cps-pinctrl"; | 117 | compatible = "marvell,armada-8k-cp1-pinctrl"; |
118 | 118 | ||
119 | nand_pins: nand-pins { | 119 | nand_pins: nand-pins { |
120 | marvell,pins = | 120 | marvell,pins = |
@@ -135,7 +135,7 @@ | |||
135 | }; | 135 | }; |
136 | }; | 136 | }; |
137 | 137 | ||
138 | &cps_crypto { | 138 | &cp1_crypto { |
139 | /* | 139 | /* |
140 | * The cryptographic engine found on the cp110 | 140 | * The cryptographic engine found on the cp110 |
141 | * master is enabled by default at the SoC | 141 | * master is enabled by default at the SoC |