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 MV78460 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 MV78460 SoC"; |
| 20 | compatible = "marvell,armadaxp-mv78460", "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 | gpio2 = &gpio2; |
| 26 | }; |
| 27 | |
Thomas Petazzoni | f3b42b7 | 2012-09-13 17:41:48 +0200 | [diff] [blame] | 28 | soc { |
| 29 | pinctrl { |
| 30 | compatible = "marvell,mv78460-pinctrl"; |
| 31 | reg = <0xd0018000 0x38>; |
| 32 | }; |
Thomas Petazzoni | 397d59f | 2012-09-19 22:53:01 +0200 | [diff] [blame^] | 33 | |
| 34 | gpio0: gpio@d0018100 { |
| 35 | compatible = "marvell,armadaxp-gpio"; |
| 36 | reg = <0xd0018100 0x40>, |
| 37 | <0xd0018800 0x30>; |
| 38 | ngpios = <32>; |
| 39 | gpio-controller; |
| 40 | #gpio-cells = <2>; |
| 41 | interrupt-controller; |
| 42 | #interrupts-cells = <2>; |
| 43 | interrupts = <16>, <17>, <18>, <19>; |
| 44 | }; |
| 45 | |
| 46 | gpio1: gpio@d0018140 { |
| 47 | compatible = "marvell,armadaxp-gpio"; |
| 48 | reg = <0xd0018140 0x40>, |
| 49 | <0xd0018840 0x30>; |
| 50 | ngpios = <32>; |
| 51 | gpio-controller; |
| 52 | #gpio-cells = <2>; |
| 53 | interrupt-controller; |
| 54 | #interrupts-cells = <2>; |
| 55 | interrupts = <20>, <21>, <22>, <23>; |
| 56 | }; |
| 57 | |
| 58 | gpio2: gpio@d0018180 { |
| 59 | compatible = "marvell,armadaxp-gpio"; |
| 60 | reg = <0xd0018180 0x40>, |
| 61 | <0xd0018870 0x30>; |
| 62 | ngpios = <3>; |
| 63 | gpio-controller; |
| 64 | #gpio-cells = <2>; |
| 65 | interrupt-controller; |
| 66 | #interrupts-cells = <2>; |
| 67 | interrupts = <24>; |
| 68 | }; |
Thomas Petazzoni | f3b42b7 | 2012-09-13 17:41:48 +0200 | [diff] [blame] | 69 | }; |
| 70 | }; |