diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-07-07 08:18:17 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-07-07 08:18:17 -0400 |
commit | 0df88121fb56d7ab902335c05292346fbe0acd06 (patch) | |
tree | 260808cbb4531fa31dbdbb878a06e75efe29c911 | |
parent | c8a12c063bbec0e8a9c0898affe47baa038fdeee (diff) | |
parent | 5f4beef6db3c158ed99573d74e93dfe0611352e4 (diff) |
Merge tag 'mvebu-dt64-4.8-1' of git://git.infradead.org/linux-mvebu into next/dt64
Merge "mvebu dt64 for 4.8 (part 1)" from Gregory CLEMENT:
- update dt with mv-xor-v2 found in the Armada 7K/8K SoCs
- update dt with the clocks found in the Armada 3700 SoCs
* tag 'mvebu-dt64-4.8-1' of git://git.infradead.org/linux-mvebu:
arm64: dts: marvell: add peripherals clocks for Armada 37xx
arm64: dts: marvell: add tbg clocks for Armada 37xx
arm64: dts: marvell: Add xtal clock support for Armada 3700
arm64: dts: marvell: add XOR engine description for Armada 7K/8K CP
arm64: dts: marvell: adjust to the latest mv-xor-v2 DT binding
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 35 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 8 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 18 |
3 files changed, 57 insertions, 4 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index 9e2efb882983..eb29280962d7 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi | |||
@@ -105,6 +105,41 @@ | |||
105 | status = "disabled"; | 105 | status = "disabled"; |
106 | }; | 106 | }; |
107 | 107 | ||
108 | nb_perih_clk: nb-periph-clk@13000{ | ||
109 | compatible = "marvell,armada-3700-periph-clock-nb"; | ||
110 | reg = <0x13000 0x100>; | ||
111 | clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>, | ||
112 | <&tbg 3>, <&xtalclk>; | ||
113 | #clock-cells = <1>; | ||
114 | }; | ||
115 | |||
116 | sb_perih_clk: sb-periph-clk@18000{ | ||
117 | compatible = "marvell,armada-3700-periph-clock-sb"; | ||
118 | reg = <0x18000 0x100>; | ||
119 | clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>, | ||
120 | <&tbg 3>, <&xtalclk>; | ||
121 | #clock-cells = <1>; | ||
122 | }; | ||
123 | |||
124 | tbg: tbg@13200 { | ||
125 | compatible = "marvell,armada-3700-tbg-clock"; | ||
126 | reg = <0x13200 0x100>; | ||
127 | clocks = <&xtalclk>; | ||
128 | #clock-cells = <1>; | ||
129 | }; | ||
130 | |||
131 | gpio1: gpio@13800 { | ||
132 | compatible = "marvell,mvebu-gpio-3700", | ||
133 | "syscon", "simple-mfd"; | ||
134 | reg = <0x13800 0x500>; | ||
135 | |||
136 | xtalclk: xtal-clk { | ||
137 | compatible = "marvell,armada-3700-xtal-clock"; | ||
138 | clock-output-names = "xtal"; | ||
139 | #clock-cells = <0>; | ||
140 | }; | ||
141 | }; | ||
142 | |||
108 | usb3: usb@58000 { | 143 | usb3: usb@58000 { |
109 | compatible = "marvell,armada3700-xhci", | 144 | compatible = "marvell,armada3700-xhci", |
110 | "generic-xhci"; | 145 | "generic-xhci"; |
diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi index 20d256b32670..eab1a42fb934 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi | |||
@@ -141,7 +141,7 @@ | |||
141 | }; | 141 | }; |
142 | 142 | ||
143 | xor@400000 { | 143 | xor@400000 { |
144 | compatible = "marvell,mv-xor-v2"; | 144 | compatible = "marvell,armada-7k-xor", "marvell,xor-v2"; |
145 | reg = <0x400000 0x1000>, | 145 | reg = <0x400000 0x1000>, |
146 | <0x410000 0x1000>; | 146 | <0x410000 0x1000>; |
147 | msi-parent = <&gic_v2m0>; | 147 | msi-parent = <&gic_v2m0>; |
@@ -149,7 +149,7 @@ | |||
149 | }; | 149 | }; |
150 | 150 | ||
151 | xor@420000 { | 151 | xor@420000 { |
152 | compatible = "marvell,mv-xor-v2"; | 152 | compatible = "marvell,armada-7k-xor", "marvell,xor-v2"; |
153 | reg = <0x420000 0x1000>, | 153 | reg = <0x420000 0x1000>, |
154 | <0x430000 0x1000>; | 154 | <0x430000 0x1000>; |
155 | msi-parent = <&gic_v2m0>; | 155 | msi-parent = <&gic_v2m0>; |
@@ -157,7 +157,7 @@ | |||
157 | }; | 157 | }; |
158 | 158 | ||
159 | xor@440000 { | 159 | xor@440000 { |
160 | compatible = "marvell,mv-xor-v2"; | 160 | compatible = "marvell,armada-7k-xor", "marvell,xor-v2"; |
161 | reg = <0x440000 0x1000>, | 161 | reg = <0x440000 0x1000>, |
162 | <0x450000 0x1000>; | 162 | <0x450000 0x1000>; |
163 | msi-parent = <&gic_v2m0>; | 163 | msi-parent = <&gic_v2m0>; |
@@ -165,7 +165,7 @@ | |||
165 | }; | 165 | }; |
166 | 166 | ||
167 | xor@460000 { | 167 | xor@460000 { |
168 | compatible = "marvell,mv-xor-v2"; | 168 | compatible = "marvell,armada-7k-xor", "marvell,xor-v2"; |
169 | reg = <0x460000 0x1000>, | 169 | reg = <0x460000 0x1000>, |
170 | <0x470000 0x1000>; | 170 | <0x470000 0x1000>; |
171 | msi-parent = <&gic_v2m0>; | 171 | msi-parent = <&gic_v2m0>; |
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi index 367138bae3e0..da31bbbbb59e 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | |||
@@ -107,6 +107,24 @@ | |||
107 | status = "disabled"; | 107 | status = "disabled"; |
108 | }; | 108 | }; |
109 | 109 | ||
110 | cpm_xor0: xor@6a0000 { | ||
111 | compatible = "marvell,armada-7k-xor", "marvell,xor-v2"; | ||
112 | reg = <0x6a0000 0x1000>, | ||
113 | <0x6b0000 0x1000>; | ||
114 | dma-coherent; | ||
115 | msi-parent = <&gic_v2m0>; | ||
116 | clocks = <&cpm_syscon0 1 8>; | ||
117 | }; | ||
118 | |||
119 | cpm_xor1: xor@6c0000 { | ||
120 | compatible = "marvell,armada-7k-xor", "marvell,xor-v2"; | ||
121 | reg = <0x6c0000 0x1000>, | ||
122 | <0x6d0000 0x1000>; | ||
123 | dma-coherent; | ||
124 | msi-parent = <&gic_v2m0>; | ||
125 | clocks = <&cpm_syscon0 1 7>; | ||
126 | }; | ||
127 | |||
110 | cpm_spi0: spi@700600 { | 128 | cpm_spi0: spi@700600 { |
111 | compatible = "marvell,armada-380-spi"; | 129 | compatible = "marvell,armada-380-spi"; |
112 | reg = <0x700600 0x50>; | 130 | reg = <0x700600 0x50>; |