Antoine Tenart | 55d3de5 | 2014-03-18 15:32:47 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com> |
| 3 | * |
| 4 | * This file is licensed under the terms of the GNU General Public |
| 5 | * License version 2. This program is licensed "as is" without any |
| 6 | * warranty of any kind, whether express or implied. |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
Antoine Tenart | fe35493 | 2014-11-17 14:35:45 +0100 | [diff] [blame] | 10 | |
| 11 | #include <dt-bindings/gpio/gpio.h> |
Antoine Tenart | 55d3de5 | 2014-03-18 15:32:47 +0100 | [diff] [blame] | 12 | #include "berlin2q.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "Marvell BG2-Q DMP"; |
| 16 | compatible = "marvell,berlin2q-dmp", "marvell,berlin2q", "marvell,berlin"; |
| 17 | |
| 18 | memory { |
| 19 | device_type = "memory"; |
| 20 | reg = <0x00000000 0x80000000>; |
| 21 | }; |
| 22 | |
| 23 | choosen { |
| 24 | bootargs = "console=ttyS0,115200 earlyprintk"; |
| 25 | }; |
Antoine Tenart | fe35493 | 2014-11-17 14:35:45 +0100 | [diff] [blame] | 26 | |
| 27 | regulators { |
| 28 | compatible = "simple-bus"; |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <0>; |
| 31 | |
| 32 | reg_usb0_vbus: regulator@0 { |
| 33 | compatible = "regulator-fixed"; |
| 34 | regulator-name = "usb0_vbus"; |
| 35 | regulator-min-microvolt = <5000000>; |
| 36 | regulator-max-microvolt = <5000000>; |
| 37 | gpio = <&portb 8 GPIO_ACTIVE_HIGH>; |
| 38 | enable-active-high; |
| 39 | }; |
| 40 | |
| 41 | reg_usb1_vbus: regulator@1 { |
| 42 | compatible = "regulator-fixed"; |
| 43 | regulator-name = "usb1_vbus"; |
| 44 | regulator-min-microvolt = <5000000>; |
| 45 | regulator-max-microvolt = <5000000>; |
| 46 | gpio = <&portb 10 GPIO_ACTIVE_HIGH>; |
| 47 | enable-active-high; |
| 48 | }; |
| 49 | |
| 50 | reg_usb2_vbus: regulator@2 { |
| 51 | compatible = "regulator-fixed"; |
| 52 | regulator-name = "usb2_vbus"; |
| 53 | regulator-min-microvolt = <5000000>; |
| 54 | regulator-max-microvolt = <5000000>; |
| 55 | gpio = <&portb 12 GPIO_ACTIVE_HIGH>; |
| 56 | enable-active-high; |
| 57 | }; |
| 58 | }; |
Antoine Tenart | 55d3de5 | 2014-03-18 15:32:47 +0100 | [diff] [blame] | 59 | }; |
| 60 | |
Antoine Tenart | 3047086 | 2014-05-19 22:04:33 +0200 | [diff] [blame] | 61 | &sdhci1 { |
| 62 | broken-cd; |
| 63 | sdhci,wp-inverted; |
| 64 | status = "okay"; |
| 65 | }; |
| 66 | |
| 67 | &sdhci2 { |
| 68 | non-removable; |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
Antoine Ténart | fbcdc07 | 2014-06-03 09:33:10 +0200 | [diff] [blame] | 72 | &i2c0 { |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | &i2c2 { |
| 77 | status = "okay"; |
| 78 | }; |
| 79 | |
Antoine Tenart | 55d3de5 | 2014-03-18 15:32:47 +0100 | [diff] [blame] | 80 | &uart0 { |
| 81 | status = "okay"; |
| 82 | }; |
Antoine Ténart | 7521519 | 2014-09-30 16:28:16 +0200 | [diff] [blame] | 83 | |
Antoine Tenart | fe35493 | 2014-11-17 14:35:45 +0100 | [diff] [blame] | 84 | &usb_phy0 { |
| 85 | status = "okay"; |
| 86 | }; |
| 87 | |
| 88 | &usb_phy2 { |
| 89 | status = "okay"; |
| 90 | }; |
| 91 | |
| 92 | &usb0 { |
| 93 | vbus-supply = <®_usb0_vbus>; |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
| 97 | &usb2 { |
| 98 | vbus-supply = <®_usb2_vbus>; |
| 99 | status = "okay"; |
| 100 | }; |
| 101 | |
Antoine Ténart | 7521519 | 2014-09-30 16:28:16 +0200 | [diff] [blame] | 102 | ð0 { |
| 103 | status = "okay"; |
| 104 | }; |
Antoine Ténart | e00ec0b | 2014-07-30 20:14:01 +0200 | [diff] [blame] | 105 | |
| 106 | &sata0 { |
| 107 | status = "okay"; |
| 108 | }; |
| 109 | |
| 110 | &sata_phy { |
| 111 | status = "okay"; |
| 112 | }; |