Thomas Petazzoni | f3b42b7 | 2012-09-13 17:41:48 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada XP family SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 Marvell |
| 5 | * |
| 6 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 7 | * |
| 8 | * This file is licensed under the terms of the GNU General Public |
| 9 | * License version 2. This program is licensed "as is" without any |
| 10 | * warranty of any kind, whether express or implied. |
| 11 | * |
| 12 | * Contains definitions specific to the Armada XP MV78230 SoC that are not |
| 13 | * common to all Armada XP SoCs. |
| 14 | */ |
| 15 | |
| 16 | /include/ "armada-xp.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "Marvell Armada XP MV78230 SoC"; |
| 20 | compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; |
| 21 | |
Thomas Petazzoni | 397d59f | 2012-09-19 22:53:01 +0200 | [diff] [blame] | 22 | aliases { |
| 23 | gpio0 = &gpio0; |
| 24 | gpio1 = &gpio1; |
| 25 | }; |
| 26 | |
Thomas Petazzoni | f3b42b7 | 2012-09-13 17:41:48 +0200 | [diff] [blame] | 27 | soc { |
| 28 | pinctrl { |
| 29 | compatible = "marvell,mv78230-pinctrl"; |
| 30 | reg = <0xd0018000 0x38>; |
| 31 | }; |
Thomas Petazzoni | 397d59f | 2012-09-19 22:53:01 +0200 | [diff] [blame] | 32 | |
| 33 | gpio0: gpio@d0018100 { |
| 34 | compatible = "marvell,armadaxp-gpio"; |
| 35 | reg = <0xd0018100 0x40>, |
| 36 | <0xd0018800 0x30>; |
| 37 | ngpios = <32>; |
| 38 | gpio-controller; |
| 39 | #gpio-cells = <2>; |
| 40 | interrupt-controller; |
| 41 | #interrupts-cells = <2>; |
| 42 | interrupts = <16>, <17>, <18>, <19>; |
| 43 | }; |
| 44 | |
| 45 | gpio1: gpio@d0018140 { |
| 46 | compatible = "marvell,armadaxp-gpio"; |
| 47 | reg = <0xd0018140 0x40>, |
| 48 | <0xd0018840 0x30>; |
| 49 | ngpios = <17>; |
| 50 | gpio-controller; |
| 51 | #gpio-cells = <2>; |
| 52 | interrupt-controller; |
| 53 | #interrupts-cells = <2>; |
| 54 | interrupts = <20>, <21>, <22>; |
| 55 | }; |
Thomas Petazzoni | f3b42b7 | 2012-09-13 17:41:48 +0200 | [diff] [blame] | 56 | }; |
| 57 | }; |