Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Marvell DB-{88F6281,88F6282}-BP Development Board Setup |
| 3 | * |
| 4 | * Saeed Bishara <saeed@marvell.com> |
| 5 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 6 | * |
| 7 | * This file is licensed under the terms of the GNU General Public |
| 8 | * License version 2. This program is licensed "as is" without any |
| 9 | * warranty of any kind, whether express or implied. |
| 10 | * |
| 11 | * This file contains the definitions that are common between the 6281 |
| 12 | * and 6282 variants of the Marvell Kirkwood Development Board. |
| 13 | */ |
| 14 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 15 | #include "kirkwood.dtsi" |
Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 16 | |
| 17 | / { |
| 18 | memory { |
| 19 | device_type = "memory"; |
| 20 | reg = <0x00000000 0x20000000>; /* 512 MB */ |
| 21 | }; |
| 22 | |
| 23 | chosen { |
| 24 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 25 | stdout-path = &uart0; |
Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 29 | pin-controller@10000 { |
Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 30 | pmx_sdio_gpios: pmx-sdio-gpios { |
| 31 | marvell,pins = "mpp37", "mpp38"; |
| 32 | marvell,function = "gpio"; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | serial@12000 { |
Sebastian Hesselbarth | 9f2339a | 2014-04-30 14:56:36 +0200 | [diff] [blame] | 37 | status = "okay"; |
Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 38 | }; |
| 39 | |
Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 40 | sata@80000 { |
| 41 | nr-ports = <2>; |
| 42 | status = "okay"; |
| 43 | }; |
| 44 | |
| 45 | ehci@50000 { |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
| 49 | mvsdio@90000 { |
| 50 | pinctrl-0 = <&pmx_sdio_gpios>; |
| 51 | pinctrl-names = "default"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 52 | wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
| 53 | cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 54 | status = "okay"; |
| 55 | }; |
Thomas Petazzoni | 0d0632f | 2013-05-15 15:37:01 +0200 | [diff] [blame] | 56 | }; |
| 57 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 58 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 59 | &nand { |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 60 | chip-delay = <25>; |
| 61 | status = "okay"; |
| 62 | |
| 63 | partition@0 { |
| 64 | label = "uboot"; |
| 65 | reg = <0x0 0x100000>; |
| 66 | }; |
| 67 | |
| 68 | partition@100000 { |
| 69 | label = "uImage"; |
| 70 | reg = <0x100000 0x400000>; |
| 71 | }; |
| 72 | |
| 73 | partition@500000 { |
| 74 | label = "root"; |
| 75 | reg = <0x500000 0x1fb00000>; |
| 76 | }; |
| 77 | }; |
| 78 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 79 | &mdio { |
| 80 | status = "okay"; |
| 81 | |
| 82 | ethphy0: ethernet-phy@8 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 83 | reg = <8>; |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | ð0 { |
| 88 | status = "okay"; |
| 89 | ethernet0-port@0 { |
| 90 | phy-handle = <ðphy0>; |
| 91 | }; |
| 92 | }; |