Stefan Roese | ac5efba | 2015-08-31 07:33:57 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada 388 SoC. |
| 3 | * |
| 4 | * Copyright (C) 2015 Marvell |
| 5 | * |
| 6 | * Gregory CLEMENT <gregory.clement@free-electrons.com> |
| 7 | * |
| 8 | * This file is dual-licensed: you can use it either under the terms |
| 9 | * of the GPL or the X11 license, at your option. Note that this dual |
| 10 | * licensing only applies to this file, and not this project as a |
| 11 | * whole. |
| 12 | * |
| 13 | * a) This file is licensed under the terms of the GNU General Public |
| 14 | * License version 2. This program is licensed "as is" without |
| 15 | * any warranty of any kind, whether express or implied. |
| 16 | * |
| 17 | * Or, alternatively, |
| 18 | * |
| 19 | * b) Permission is hereby granted, free of charge, to any person |
| 20 | * obtaining a copy of this software and associated documentation |
| 21 | * files (the "Software"), to deal in the Software without |
| 22 | * restriction, including without limitation the rights to use, |
| 23 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 24 | * sell copies of the Software, and to permit persons to whom the |
| 25 | * Software is furnished to do so, subject to the following |
| 26 | * conditions: |
| 27 | * |
| 28 | * The above copyright notice and this permission notice shall be |
| 29 | * included in all copies or substantial portions of the Software. |
| 30 | * |
| 31 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 32 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 33 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 34 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 35 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 36 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 37 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 38 | * OTHER DEALINGS IN THE SOFTWARE. |
| 39 | * |
| 40 | * |
| 41 | * The main difference with the Armada 385 is that the 388 can handle two more |
| 42 | * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl |
| 43 | * property and the name of the SoC, and add the second SATA host which control |
| 44 | * the 2 other ports. |
| 45 | */ |
| 46 | |
| 47 | #include "armada-385.dtsi" |
| 48 | |
| 49 | / { |
| 50 | model = "Marvell Armada 388 family SoC"; |
| 51 | compatible = "marvell,armada388", "marvell,armada385", |
| 52 | "marvell,armada380"; |
| 53 | |
| 54 | soc { |
| 55 | internal-regs { |
| 56 | pinctrl@18000 { |
| 57 | compatible = "marvell,mv88f6828-pinctrl"; |
| 58 | }; |
| 59 | |
| 60 | sata@e0000 { |
| 61 | compatible = "marvell,armada-380-ahci"; |
| 62 | reg = <0xe0000 0x2000>; |
| 63 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
| 64 | clocks = <&gateclk 30>; |
| 65 | status = "disabled"; |
| 66 | }; |
| 67 | |
| 68 | }; |
| 69 | }; |
| 70 | }; |