diff options
| author | Loc Ho <lho@apm.com> | 2014-03-14 19:53:21 -0400 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2014-03-17 15:54:42 -0400 |
| commit | db8c0286d18c2d3eaec2c4da34767db0f4f6ffaa (patch) | |
| tree | 961ab2a0d771488bb0d005e2d1a32d709ae5e710 /arch/arm64/boot | |
| parent | 81d01bfa51300d14191e0013856a7b25f809468f (diff) | |
arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries
This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries.
Signed-off-by: Loc Ho <lho@apm.com>
Signed-off-by: Tuan Phan <tphan@apm.com>
Signed-off-by: Suman Tripathi <stripathi@apm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/arm64/boot')
| -rw-r--r-- | arch/arm64/boot/dts/apm-storm.dtsi | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 6d4f493aac9a..93f4b2dd9248 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi | |||
| @@ -218,6 +218,45 @@ | |||
| 218 | enable-offset = <0x0>; | 218 | enable-offset = <0x0>; |
| 219 | enable-mask = <0x06>; | 219 | enable-mask = <0x06>; |
| 220 | }; | 220 | }; |
| 221 | |||
| 222 | sata01clk: sata01clk@1f21c000 { | ||
| 223 | compatible = "apm,xgene-device-clock"; | ||
| 224 | #clock-cells = <1>; | ||
| 225 | clocks = <&socplldiv2 0>; | ||
| 226 | reg = <0x0 0x1f21c000 0x0 0x1000>; | ||
| 227 | reg-names = "csr-reg"; | ||
| 228 | clock-output-names = "sata01clk"; | ||
| 229 | csr-offset = <0x4>; | ||
| 230 | csr-mask = <0x05>; | ||
| 231 | enable-offset = <0x0>; | ||
| 232 | enable-mask = <0x39>; | ||
| 233 | }; | ||
| 234 | |||
| 235 | sata23clk: sata23clk@1f22c000 { | ||
| 236 | compatible = "apm,xgene-device-clock"; | ||
| 237 | #clock-cells = <1>; | ||
| 238 | clocks = <&socplldiv2 0>; | ||
| 239 | reg = <0x0 0x1f22c000 0x0 0x1000>; | ||
| 240 | reg-names = "csr-reg"; | ||
| 241 | clock-output-names = "sata23clk"; | ||
| 242 | csr-offset = <0x4>; | ||
| 243 | csr-mask = <0x05>; | ||
| 244 | enable-offset = <0x0>; | ||
| 245 | enable-mask = <0x39>; | ||
| 246 | }; | ||
| 247 | |||
| 248 | sata45clk: sata45clk@1f23c000 { | ||
| 249 | compatible = "apm,xgene-device-clock"; | ||
| 250 | #clock-cells = <1>; | ||
| 251 | clocks = <&socplldiv2 0>; | ||
| 252 | reg = <0x0 0x1f23c000 0x0 0x1000>; | ||
| 253 | reg-names = "csr-reg"; | ||
| 254 | clock-output-names = "sata45clk"; | ||
| 255 | csr-offset = <0x4>; | ||
| 256 | csr-mask = <0x05>; | ||
| 257 | enable-offset = <0x0>; | ||
| 258 | enable-mask = <0x39>; | ||
| 259 | }; | ||
| 221 | }; | 260 | }; |
| 222 | 261 | ||
| 223 | serial0: serial@1c020000 { | 262 | serial0: serial@1c020000 { |
| @@ -259,5 +298,46 @@ | |||
| 259 | apm,tx-boost-gain = <31 31 31 31 31 31>; | 298 | apm,tx-boost-gain = <31 31 31 31 31 31>; |
| 260 | apm,tx-eye-tuning = <2 10 10 2 10 10>; | 299 | apm,tx-eye-tuning = <2 10 10 2 10 10>; |
| 261 | }; | 300 | }; |
| 301 | |||
| 302 | sata1: sata@1a000000 { | ||
| 303 | compatible = "apm,xgene-ahci"; | ||
| 304 | reg = <0x0 0x1a000000 0x0 0x1000>, | ||
| 305 | <0x0 0x1f210000 0x0 0x1000>, | ||
| 306 | <0x0 0x1f21d000 0x0 0x1000>, | ||
| 307 | <0x0 0x1f21e000 0x0 0x1000>, | ||
| 308 | <0x0 0x1f217000 0x0 0x1000>; | ||
| 309 | interrupts = <0x0 0x86 0x4>; | ||
| 310 | status = "disabled"; | ||
| 311 | clocks = <&sata01clk 0>; | ||
| 312 | phys = <&phy1 0>; | ||
| 313 | phy-names = "sata-phy"; | ||
| 314 | }; | ||
| 315 | |||
| 316 | sata2: sata@1a400000 { | ||
| 317 | compatible = "apm,xgene-ahci"; | ||
| 318 | reg = <0x0 0x1a400000 0x0 0x1000>, | ||
| 319 | <0x0 0x1f220000 0x0 0x1000>, | ||
| 320 | <0x0 0x1f22d000 0x0 0x1000>, | ||
| 321 | <0x0 0x1f22e000 0x0 0x1000>, | ||
| 322 | <0x0 0x1f227000 0x0 0x1000>; | ||
| 323 | interrupts = <0x0 0x87 0x4>; | ||
| 324 | status = "ok"; | ||
| 325 | clocks = <&sata23clk 0>; | ||
| 326 | phys = <&phy2 0>; | ||
| 327 | phy-names = "sata-phy"; | ||
| 328 | }; | ||
| 329 | |||
| 330 | sata3: sata@1a800000 { | ||
| 331 | compatible = "apm,xgene-ahci"; | ||
| 332 | reg = <0x0 0x1a800000 0x0 0x1000>, | ||
| 333 | <0x0 0x1f230000 0x0 0x1000>, | ||
| 334 | <0x0 0x1f23d000 0x0 0x1000>, | ||
| 335 | <0x0 0x1f23e000 0x0 0x1000>; | ||
| 336 | interrupts = <0x0 0x88 0x4>; | ||
| 337 | status = "ok"; | ||
| 338 | clocks = <&sata45clk 0>; | ||
| 339 | phys = <&phy3 0>; | ||
| 340 | phy-names = "sata-phy"; | ||
| 341 | }; | ||
| 262 | }; | 342 | }; |
| 263 | }; | 343 | }; |
