diff options
author | Olof Johansson <olof@lixom.net> | 2017-06-19 01:59:47 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2017-06-19 01:59:47 -0400 |
commit | 4623e69d1ccf6ba84d8295ea2da01d20ce5c5b8b (patch) | |
tree | bcf261ce01056ea15a2d4b7c145136c848193e48 | |
parent | 5d518c8aa3513d59576e26a6612bf6385cdee164 (diff) | |
parent | f66b2aff46eaf0825dbe1560e28fcb845dd2a215 (diff) |
Merge tag 'mvebu-dt64-4.13-1' of git://git.infradead.org/linux-mvebu into next/dt64
mvebu dt64 for 4.13 (part 1)
- Improve the mcbin support (Armada 8040 based board): add sdhci and
the second 1G port
- Improve crypro nodes description on Aramda 7K/8K
- Use new binding for ap806 clocks
- Improve mdio nodes and add xmdio on Aramda 7K/8K
- Add second SGCI node on Armada 37xx
- Improve the description of the Armada 3720 DB board
* tag 'mvebu-dt64-4.13-1' of git://git.infradead.org/linux-mvebu:
arm64: dts: marvell: add xmdio nodes for 7k/8k
arm64: dts: marvell: add a comment on the cp110 slave node status
arm64: dts: marvell: remove cpm crypto nodes from dts files
arm64: dts: marvell: cp110: enable the crypto engine at the SoC level
arm64: dts: marvell: armada-3720-db: Add vqmmc regulator for SD slot
arm64: dts: marvell: Enable second SDHCI controller in Armada 37xx
arm64: dts: marvell: armada-37xx: Use angle bracket for each register set
arm64: dts: marvell: armada-37xx: Align the compatible string
arm64: dts: marvell: armada-3720-db: Add information about the V2 board
arm64: dts: marvell: armada-3720-db: Sort the dts node alphabetically
arm64: dts: marvell: disable the mdio nodes by default
arm64: dts: marvell: explicitly enable the mdio nodes for 7k/8k DB
arm64: dts: marvell: add dma-mask in crypto nodes for 7k/8k
arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet
arm64: dts: marvell: cp110: add required clocks for mdio interface
arm64: dts: marvell: use new binding for the system controller on ap806
arm64: dts: marvell: remove clock-output-names on ap806
arm64: dts: marvell: add second 1G port on the Armada 8040 DB
arm64: dts: marvell: mcbin: add sdhci
arm64: dts: marvell: add clocks for Armada AP806 XOR engines
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-3720-db.dts | 120 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 25 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-7040-db.dts | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8040-db.dts | 24 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 40 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 27 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 12 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 18 |
8 files changed, 200 insertions, 72 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts index a89855f57091..9df0f06ce607 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts | |||
@@ -42,6 +42,10 @@ | |||
42 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 42 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
43 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | 43 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
44 | * OTHER DEALINGS IN THE SOFTWARE. | 44 | * OTHER DEALINGS IN THE SOFTWARE. |
45 | * | ||
46 | * This file is compatible with the version 1.4 and the version 2.0 of | ||
47 | * the board, however the CON numbers are different between the 2 | ||
48 | * version | ||
45 | */ | 49 | */ |
46 | 50 | ||
47 | /dts-v1/; | 51 | /dts-v1/; |
@@ -76,6 +80,36 @@ | |||
76 | compatible = "usb-nop-xceiv"; | 80 | compatible = "usb-nop-xceiv"; |
77 | vcc-supply = <&exp_usb3_vbus>; | 81 | vcc-supply = <&exp_usb3_vbus>; |
78 | }; | 82 | }; |
83 | |||
84 | vcc_sd_reg1: regulator { | ||
85 | compatible = "regulator-gpio"; | ||
86 | regulator-name = "vcc_sd1"; | ||
87 | regulator-min-microvolt = <1800000>; | ||
88 | regulator-max-microvolt = <3300000>; | ||
89 | regulator-boot-on; | ||
90 | |||
91 | gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>; | ||
92 | gpios-states = <0>; | ||
93 | states = <1800000 0x1 | ||
94 | 3300000 0x0>; | ||
95 | enable-active-high; | ||
96 | }; | ||
97 | }; | ||
98 | |||
99 | /* Gigabit module on CON19(V2.0)/CON21(V1.4) */ | ||
100 | ð0 { | ||
101 | pinctrl-names = "default"; | ||
102 | pinctrl-0 = <&rgmii_pins>; | ||
103 | phy-mode = "rgmii-id"; | ||
104 | phy = <&phy0>; | ||
105 | status = "okay"; | ||
106 | }; | ||
107 | |||
108 | /* Gigabit module on CON18(V2.0)/CON20(V1.4) */ | ||
109 | ð1 { | ||
110 | phy-mode = "sgmii"; | ||
111 | phy = <&phy1>; | ||
112 | status = "okay"; | ||
79 | }; | 113 | }; |
80 | 114 | ||
81 | &i2c0 { | 115 | &i2c0 { |
@@ -108,11 +142,46 @@ | |||
108 | }; | 142 | }; |
109 | }; | 143 | }; |
110 | 144 | ||
145 | &mdio { | ||
146 | status = "okay"; | ||
147 | phy0: ethernet-phy@0 { | ||
148 | reg = <0>; | ||
149 | }; | ||
150 | |||
151 | phy1: ethernet-phy@1 { | ||
152 | reg = <1>; | ||
153 | }; | ||
154 | }; | ||
155 | |||
156 | /* CON15(V2.0)/CON17(V1.4) : PCIe / CON15(V2.0)/CON12(V1.4) :mini-PCIe */ | ||
157 | &pcie0 { | ||
158 | status = "okay"; | ||
159 | }; | ||
160 | |||
111 | /* CON3 */ | 161 | /* CON3 */ |
112 | &sata { | 162 | &sata { |
113 | status = "okay"; | 163 | status = "okay"; |
114 | }; | 164 | }; |
115 | 165 | ||
166 | &sdhci0 { | ||
167 | non-removable; | ||
168 | bus-width = <8>; | ||
169 | mmc-ddr-1_8v; | ||
170 | mmc-hs400-1_8v; | ||
171 | marvell,pad-type = "fixed-1-8v"; | ||
172 | status = "okay"; | ||
173 | }; | ||
174 | |||
175 | /* SD slot module on CON14(V2.0)/CON15(V1.4) */ | ||
176 | &sdhci1 { | ||
177 | wp-inverted; | ||
178 | cd-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>; | ||
179 | bus-width = <4>; | ||
180 | marvell,pad-type = "sd"; | ||
181 | vqmmc-supply = <&vcc_sd_reg1>; | ||
182 | status = "okay"; | ||
183 | }; | ||
184 | |||
116 | &spi0 { | 185 | &spi0 { |
117 | status = "okay"; | 186 | status = "okay"; |
118 | pinctrl-names = "default"; | 187 | pinctrl-names = "default"; |
@@ -145,60 +214,23 @@ | |||
145 | }; | 214 | }; |
146 | }; | 215 | }; |
147 | 216 | ||
148 | /* Exported on the micro USB connector CON32 through an FTDI */ | 217 | /* |
218 | * Exported on the micro USB connector CON30(V2.0)/CON32(V1.4) through | ||
219 | * an FTDI | ||
220 | */ | ||
149 | &uart0 { | 221 | &uart0 { |
150 | pinctrl-names = "default"; | 222 | pinctrl-names = "default"; |
151 | pinctrl-0 = <&uart1_pins>; | 223 | pinctrl-0 = <&uart1_pins>; |
152 | status = "okay"; | 224 | status = "okay"; |
153 | }; | 225 | }; |
154 | 226 | ||
155 | &sdhci0 { | 227 | /* CON27(V2.0)/CON29(V1.4) */ |
156 | non-removable; | 228 | &usb2 { |
157 | bus-width = <8>; | ||
158 | mmc-ddr-1_8v; | ||
159 | mmc-hs400-1_8v; | ||
160 | marvell,pad-type = "fixed-1-8v"; | ||
161 | status = "okay"; | 229 | status = "okay"; |
162 | }; | 230 | }; |
163 | 231 | ||
164 | /* CON31 */ | 232 | /* CON29(V2.0)/CON31(V1.4) */ |
165 | &usb3 { | 233 | &usb3 { |
166 | status = "okay"; | 234 | status = "okay"; |
167 | usb-phy = <&usb3_phy>; | 235 | usb-phy = <&usb3_phy>; |
168 | }; | 236 | }; |
169 | |||
170 | /* CON17 (PCIe) / CON12 (mini-PCIe) */ | ||
171 | &pcie0 { | ||
172 | status = "okay"; | ||
173 | }; | ||
174 | |||
175 | /* CON27 */ | ||
176 | &usb2 { | ||
177 | status = "okay"; | ||
178 | }; | ||
179 | |||
180 | |||
181 | &mdio { | ||
182 | status = "okay"; | ||
183 | phy0: ethernet-phy@0 { | ||
184 | reg = <0>; | ||
185 | }; | ||
186 | |||
187 | phy1: ethernet-phy@1 { | ||
188 | reg = <1>; | ||
189 | }; | ||
190 | }; | ||
191 | |||
192 | ð0 { | ||
193 | pinctrl-names = "default"; | ||
194 | pinctrl-0 = <&rgmii_pins>; | ||
195 | phy-mode = "rgmii-id"; | ||
196 | phy = <&phy0>; | ||
197 | status = "okay"; | ||
198 | }; | ||
199 | |||
200 | ð1 { | ||
201 | phy-mode = "sgmii"; | ||
202 | phy = <&phy1>; | ||
203 | status = "okay"; | ||
204 | }; | ||
diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index 4d495ec39202..b4d27857c61b 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi | |||
@@ -163,7 +163,7 @@ | |||
163 | 163 | ||
164 | pinctrl_nb: pinctrl@13800 { | 164 | pinctrl_nb: pinctrl@13800 { |
165 | compatible = "marvell,armada3710-nb-pinctrl", | 165 | compatible = "marvell,armada3710-nb-pinctrl", |
166 | "syscon", "simple-mfd"; | 166 | "syscon", "simple-mfd"; |
167 | reg = <0x13800 0x100>, <0x13C00 0x20>; | 167 | reg = <0x13800 0x100>, <0x13C00 0x20>; |
168 | gpionb: gpio { | 168 | gpionb: gpio { |
169 | #gpio-cells = <2>; | 169 | #gpio-cells = <2>; |
@@ -219,7 +219,7 @@ | |||
219 | 219 | ||
220 | pinctrl_sb: pinctrl@18800 { | 220 | pinctrl_sb: pinctrl@18800 { |
221 | compatible = "marvell,armada3710-sb-pinctrl", | 221 | compatible = "marvell,armada3710-sb-pinctrl", |
222 | "syscon", "simple-mfd"; | 222 | "syscon", "simple-mfd"; |
223 | reg = <0x18800 0x100>, <0x18C00 0x20>; | 223 | reg = <0x18800 0x100>, <0x18C00 0x20>; |
224 | gpiosb: gpio { | 224 | gpiosb: gpio { |
225 | #gpio-cells = <2>; | 225 | #gpio-cells = <2>; |
@@ -281,8 +281,8 @@ | |||
281 | 281 | ||
282 | xor@60900 { | 282 | xor@60900 { |
283 | compatible = "marvell,armada-3700-xor"; | 283 | compatible = "marvell,armada-3700-xor"; |
284 | reg = <0x60900 0x100 | 284 | reg = <0x60900 0x100>, |
285 | 0x60b00 0x100>; | 285 | <0x60b00 0x100>; |
286 | 286 | ||
287 | xor10 { | 287 | xor10 { |
288 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; | 288 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
@@ -292,11 +292,22 @@ | |||
292 | }; | 292 | }; |
293 | }; | 293 | }; |
294 | 294 | ||
295 | sdhci1: sdhci@d0000 { | ||
296 | compatible = "marvell,armada-3700-sdhci", | ||
297 | "marvell,sdhci-xenon"; | ||
298 | reg = <0xd0000 0x300>, | ||
299 | <0x1e808 0x4>; | ||
300 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; | ||
301 | clocks = <&nb_periph_clk 0>; | ||
302 | clock-names = "core"; | ||
303 | status = "disabled"; | ||
304 | }; | ||
305 | |||
295 | sdhci0: sdhci@d8000 { | 306 | sdhci0: sdhci@d8000 { |
296 | compatible = "marvell,armada-3700-sdhci", | 307 | compatible = "marvell,armada-3700-sdhci", |
297 | "marvell,sdhci-xenon"; | 308 | "marvell,sdhci-xenon"; |
298 | reg = <0xd8000 0x300 | 309 | reg = <0xd8000 0x300>, |
299 | 0x17808 0x4>; | 310 | <0x17808 0x4>; |
300 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; | 311 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
301 | clocks = <&nb_periph_clk 0>; | 312 | clocks = <&nb_periph_clk 0>; |
302 | clock-names = "core"; | 313 | clock-names = "core"; |
diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts index 12442329b80f..92c761c380d3 100644 --- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts | |||
@@ -162,6 +162,8 @@ | |||
162 | }; | 162 | }; |
163 | 163 | ||
164 | &cpm_mdio { | 164 | &cpm_mdio { |
165 | status = "okay"; | ||
166 | |||
165 | phy0: ethernet-phy@0 { | 167 | phy0: ethernet-phy@0 { |
166 | reg = <0>; | 168 | reg = <0>; |
167 | }; | 169 | }; |
@@ -185,7 +187,3 @@ | |||
185 | phy = <&phy1>; | 187 | phy = <&phy1>; |
186 | phy-mode = "rgmii-id"; | 188 | phy-mode = "rgmii-id"; |
187 | }; | 189 | }; |
188 | |||
189 | &cpm_crypto { | ||
190 | status = "okay"; | ||
191 | }; | ||
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts index dc0d084005b2..1e8f7242ed6f 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts | |||
@@ -125,6 +125,8 @@ | |||
125 | }; | 125 | }; |
126 | 126 | ||
127 | &cpm_mdio { | 127 | &cpm_mdio { |
128 | status = "okay"; | ||
129 | |||
128 | phy1: ethernet-phy@1 { | 130 | phy1: ethernet-phy@1 { |
129 | reg = <1>; | 131 | reg = <1>; |
130 | }; | 132 | }; |
@@ -140,10 +142,6 @@ | |||
140 | phy-mode = "rgmii-id"; | 142 | phy-mode = "rgmii-id"; |
141 | }; | 143 | }; |
142 | 144 | ||
143 | &cpm_crypto { | ||
144 | status = "okay"; | ||
145 | }; | ||
146 | |||
147 | /* CON5 on CP1 expansion */ | 145 | /* CON5 on CP1 expansion */ |
148 | &cps_pcie2 { | 146 | &cps_pcie2 { |
149 | status = "okay"; | 147 | status = "okay"; |
@@ -169,6 +167,24 @@ | |||
169 | status = "okay"; | 167 | status = "okay"; |
170 | }; | 168 | }; |
171 | 169 | ||
170 | &cps_mdio { | ||
171 | status = "okay"; | ||
172 | |||
173 | phy0: ethernet-phy@0 { | ||
174 | reg = <0>; | ||
175 | }; | ||
176 | }; | ||
177 | |||
178 | &cps_ethernet { | ||
179 | status = "okay"; | ||
180 | }; | ||
181 | |||
182 | &cps_eth1 { | ||
183 | status = "okay"; | ||
184 | phy = <&phy0>; | ||
185 | phy-mode = "rgmii-id"; | ||
186 | }; | ||
187 | |||
172 | &ap_sdhci0 { | 188 | &ap_sdhci0 { |
173 | status = "okay"; | 189 | status = "okay"; |
174 | bus-width = <4>; | 190 | bus-width = <4>; |
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index f7bb0cc03147..fe56efcfcefe 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | |||
@@ -95,16 +95,45 @@ | |||
95 | status = "okay"; | 95 | status = "okay"; |
96 | }; | 96 | }; |
97 | 97 | ||
98 | &ap_sdhci0 { | ||
99 | bus-width = <8>; | ||
100 | /* | ||
101 | * Not stable in HS modes - phy needs "more calibration", so add | ||
102 | * the "slow-mode" and disable SDR104, SDR50 and DDR50 modes. | ||
103 | */ | ||
104 | marvell,xenon-phy-slow-mode; | ||
105 | no-1-8-v; | ||
106 | no-sd; | ||
107 | no-sdio; | ||
108 | non-removable; | ||
109 | status = "okay"; | ||
110 | vqmmc-supply = <&v_vddo_h>; | ||
111 | }; | ||
112 | |||
98 | &cpm_i2c0 { | 113 | &cpm_i2c0 { |
99 | clock-frequency = <100000>; | 114 | clock-frequency = <100000>; |
100 | status = "okay"; | 115 | status = "okay"; |
101 | }; | 116 | }; |
102 | 117 | ||
118 | &cpm_mdio { | ||
119 | ge_phy: ethernet-phy@0 { | ||
120 | reg = <0>; | ||
121 | }; | ||
122 | }; | ||
123 | |||
103 | &cpm_sata0 { | 124 | &cpm_sata0 { |
104 | /* CPM Lane 0 - U29 */ | 125 | /* CPM Lane 0 - U29 */ |
105 | status = "okay"; | 126 | status = "okay"; |
106 | }; | 127 | }; |
107 | 128 | ||
129 | &cpm_sdhci0 { | ||
130 | /* U6 */ | ||
131 | broken-cd; | ||
132 | bus-width = <4>; | ||
133 | status = "okay"; | ||
134 | vqmmc-supply = <&v_3_3>; | ||
135 | }; | ||
136 | |||
108 | &cpm_usb3_0 { | 137 | &cpm_usb3_0 { |
109 | /* J38? - USB2.0 only */ | 138 | /* J38? - USB2.0 only */ |
110 | status = "okay"; | 139 | status = "okay"; |
@@ -115,6 +144,17 @@ | |||
115 | status = "okay"; | 144 | status = "okay"; |
116 | }; | 145 | }; |
117 | 146 | ||
147 | &cps_ethernet { | ||
148 | status = "okay"; | ||
149 | }; | ||
150 | |||
151 | &cps_eth1 { | ||
152 | /* CPS Lane 0 - J5 (Gigabit RJ45) */ | ||
153 | status = "okay"; | ||
154 | phy = <&ge_phy>; | ||
155 | phy-mode = "sgmii"; | ||
156 | }; | ||
157 | |||
118 | &cps_sata0 { | 158 | &cps_sata0 { |
119 | /* CPS Lane 1 - U32 */ | 159 | /* CPS Lane 1 - U32 */ |
120 | /* CPS Lane 3 - U31 */ | 160 | /* CPS Lane 3 - U31 */ |
diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi index fe41bf9c301e..ff1964d314de 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi | |||
@@ -159,6 +159,7 @@ | |||
159 | reg = <0x400000 0x1000>, | 159 | reg = <0x400000 0x1000>, |
160 | <0x410000 0x1000>; | 160 | <0x410000 0x1000>; |
161 | msi-parent = <&gic_v2m0>; | 161 | msi-parent = <&gic_v2m0>; |
162 | clocks = <&ap_syscon 3>; | ||
162 | dma-coherent; | 163 | dma-coherent; |
163 | }; | 164 | }; |
164 | 165 | ||
@@ -167,6 +168,7 @@ | |||
167 | reg = <0x420000 0x1000>, | 168 | reg = <0x420000 0x1000>, |
168 | <0x430000 0x1000>; | 169 | <0x430000 0x1000>; |
169 | msi-parent = <&gic_v2m0>; | 170 | msi-parent = <&gic_v2m0>; |
171 | clocks = <&ap_syscon 3>; | ||
170 | dma-coherent; | 172 | dma-coherent; |
171 | }; | 173 | }; |
172 | 174 | ||
@@ -175,6 +177,7 @@ | |||
175 | reg = <0x440000 0x1000>, | 177 | reg = <0x440000 0x1000>, |
176 | <0x450000 0x1000>; | 178 | <0x450000 0x1000>; |
177 | msi-parent = <&gic_v2m0>; | 179 | msi-parent = <&gic_v2m0>; |
180 | clocks = <&ap_syscon 3>; | ||
178 | dma-coherent; | 181 | dma-coherent; |
179 | }; | 182 | }; |
180 | 183 | ||
@@ -183,6 +186,7 @@ | |||
183 | reg = <0x460000 0x1000>, | 186 | reg = <0x460000 0x1000>, |
184 | <0x470000 0x1000>; | 187 | <0x470000 0x1000>; |
185 | msi-parent = <&gic_v2m0>; | 188 | msi-parent = <&gic_v2m0>; |
189 | clocks = <&ap_syscon 3>; | ||
186 | dma-coherent; | 190 | dma-coherent; |
187 | }; | 191 | }; |
188 | 192 | ||
@@ -193,7 +197,7 @@ | |||
193 | #size-cells = <0>; | 197 | #size-cells = <0>; |
194 | cell-index = <0>; | 198 | cell-index = <0>; |
195 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; | 199 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
196 | clocks = <&ap_syscon 3>; | 200 | clocks = <&ap_clk 3>; |
197 | status = "disabled"; | 201 | status = "disabled"; |
198 | }; | 202 | }; |
199 | 203 | ||
@@ -204,7 +208,7 @@ | |||
204 | #size-cells = <0>; | 208 | #size-cells = <0>; |
205 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; | 209 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
206 | timeout-ms = <1000>; | 210 | timeout-ms = <1000>; |
207 | clocks = <&ap_syscon 3>; | 211 | clocks = <&ap_clk 3>; |
208 | status = "disabled"; | 212 | status = "disabled"; |
209 | }; | 213 | }; |
210 | 214 | ||
@@ -214,7 +218,7 @@ | |||
214 | reg-shift = <2>; | 218 | reg-shift = <2>; |
215 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; | 219 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
216 | reg-io-width = <1>; | 220 | reg-io-width = <1>; |
217 | clocks = <&ap_syscon 3>; | 221 | clocks = <&ap_clk 3>; |
218 | status = "disabled"; | 222 | status = "disabled"; |
219 | }; | 223 | }; |
220 | 224 | ||
@@ -224,7 +228,7 @@ | |||
224 | reg-shift = <2>; | 228 | reg-shift = <2>; |
225 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; | 229 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
226 | reg-io-width = <1>; | 230 | reg-io-width = <1>; |
227 | clocks = <&ap_syscon 3>; | 231 | clocks = <&ap_clk 3>; |
228 | status = "disabled"; | 232 | status = "disabled"; |
229 | 233 | ||
230 | }; | 234 | }; |
@@ -234,21 +238,20 @@ | |||
234 | reg = <0x6e0000 0x300>; | 238 | reg = <0x6e0000 0x300>; |
235 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; | 239 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; |
236 | clock-names = "core"; | 240 | clock-names = "core"; |
237 | clocks = <&ap_syscon 4>; | 241 | clocks = <&ap_clk 4>; |
238 | dma-coherent; | 242 | dma-coherent; |
239 | marvell,xenon-phy-slow-mode; | 243 | marvell,xenon-phy-slow-mode; |
240 | status = "disabled"; | 244 | status = "disabled"; |
241 | }; | 245 | }; |
242 | 246 | ||
243 | ap_syscon: system-controller@6f4000 { | 247 | ap_syscon: system-controller@6f4000 { |
244 | compatible = "marvell,ap806-system-controller", | 248 | compatible = "syscon", "simple-mfd"; |
245 | "syscon"; | ||
246 | #clock-cells = <1>; | ||
247 | clock-output-names = "ap-cpu-cluster-0", | ||
248 | "ap-cpu-cluster-1", | ||
249 | "ap-fixed", "ap-mss", | ||
250 | "ap-emmc"; | ||
251 | reg = <0x6f4000 0x1000>; | 249 | reg = <0x6f4000 0x1000>; |
250 | |||
251 | ap_clk: clock { | ||
252 | compatible = "marvell,ap806-clock"; | ||
253 | #clock-cells = <1>; | ||
254 | }; | ||
252 | }; | 255 | }; |
253 | }; | 256 | }; |
254 | }; | 257 | }; |
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi index ac8df5201cd6..d490a377d0c1 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | |||
@@ -94,6 +94,16 @@ | |||
94 | #size-cells = <0>; | 94 | #size-cells = <0>; |
95 | compatible = "marvell,orion-mdio"; | 95 | compatible = "marvell,orion-mdio"; |
96 | reg = <0x12a200 0x10>; | 96 | reg = <0x12a200 0x10>; |
97 | clocks = <&cpm_syscon0 1 9>, <&cpm_syscon0 1 5>; | ||
98 | status = "disabled"; | ||
99 | }; | ||
100 | |||
101 | cpm_xmdio: mdio@12a600 { | ||
102 | #address-cells = <1>; | ||
103 | #size-cells = <0>; | ||
104 | compatible = "marvell,xmdio"; | ||
105 | reg = <0x12a600 0x10>; | ||
106 | status = "disabled"; | ||
97 | }; | 107 | }; |
98 | 108 | ||
99 | cpm_syscon0: system-controller@440000 { | 109 | cpm_syscon0: system-controller@440000 { |
@@ -241,7 +251,7 @@ | |||
241 | interrupt-names = "mem", "ring0", "ring1", | 251 | interrupt-names = "mem", "ring0", "ring1", |
242 | "ring2", "ring3", "eip"; | 252 | "ring2", "ring3", "eip"; |
243 | clocks = <&cpm_syscon0 1 26>; | 253 | clocks = <&cpm_syscon0 1 26>; |
244 | status = "disabled"; | 254 | dma-mask = <0xff 0xffffffff>; |
245 | }; | 255 | }; |
246 | }; | 256 | }; |
247 | 257 | ||
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi index 7740a75a8230..dc4673dcf81b 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | |||
@@ -101,6 +101,16 @@ | |||
101 | #size-cells = <0>; | 101 | #size-cells = <0>; |
102 | compatible = "marvell,orion-mdio"; | 102 | compatible = "marvell,orion-mdio"; |
103 | reg = <0x12a200 0x10>; | 103 | reg = <0x12a200 0x10>; |
104 | clocks = <&cps_syscon0 1 9>, <&cps_syscon0 1 5>; | ||
105 | status = "disabled"; | ||
106 | }; | ||
107 | |||
108 | cps_xmdio: mdio@12a600 { | ||
109 | #address-cells = <1>; | ||
110 | #size-cells = <0>; | ||
111 | compatible = "marvell,xmdio"; | ||
112 | reg = <0x12a600 0x10>; | ||
113 | status = "disabled"; | ||
104 | }; | 114 | }; |
105 | 115 | ||
106 | cps_syscon0: system-controller@440000 { | 116 | cps_syscon0: system-controller@440000 { |
@@ -231,6 +241,14 @@ | |||
231 | interrupt-names = "mem", "ring0", "ring1", | 241 | interrupt-names = "mem", "ring0", "ring1", |
232 | "ring2", "ring3", "eip"; | 242 | "ring2", "ring3", "eip"; |
233 | clocks = <&cps_syscon0 1 26>; | 243 | clocks = <&cps_syscon0 1 26>; |
244 | dma-mask = <0xff 0xffffffff>; | ||
245 | /* | ||
246 | * The cryptographic engine found on the cp110 | ||
247 | * master is enabled by default at the SoC | ||
248 | * level. Because it is not possible as of now | ||
249 | * to enable two cryptographic engines in | ||
250 | * parallel, disable this one by default. | ||
251 | */ | ||
234 | status = "disabled"; | 252 | status = "disabled"; |
235 | }; | 253 | }; |
236 | }; | 254 | }; |