Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Marvell DB-{88F6281,88F6282}-BP Development Board Setup
0004  *
0005  * Saeed Bishara <saeed@marvell.com>
0006  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
0007  *
0008  * This file contains the definitions that are common between the 6281
0009  * and 6282 variants of the Marvell Kirkwood Development Board.
0010  */
0011 
0012 #include "kirkwood.dtsi"
0013 
0014 / {
0015         memory {
0016                 device_type = "memory";
0017                 reg = <0x00000000 0x20000000>; /* 512 MB */
0018         };
0019 
0020         chosen {
0021                 bootargs = "console=ttyS0,115200n8 earlyprintk";
0022                 stdout-path = &uart0;
0023         };
0024 
0025         ocp@f1000000 {
0026                 pin-controller@10000 {
0027                         pmx_sdio_gpios: pmx-sdio-gpios {
0028                                 marvell,pins = "mpp37", "mpp38";
0029                                 marvell,function = "gpio";
0030                         };
0031                 };
0032 
0033                 serial@12000 {
0034                         status = "okay";
0035                 };
0036 
0037                 sata@80000 {
0038                         nr-ports = <2>;
0039                         status = "okay";
0040                 };
0041 
0042                 ehci@50000 {
0043                         status = "okay";
0044                 };
0045 
0046                 mvsdio@90000 {
0047                         pinctrl-0 = <&pmx_sdio_gpios>;
0048                         pinctrl-names = "default";
0049                         wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
0050                         cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
0051                         status = "okay";
0052                 };
0053         };
0054 };
0055 
0056 &nand {
0057         chip-delay = <25>;
0058         status = "okay";
0059 
0060         partition@0 {
0061                 label = "uboot";
0062                 reg = <0x0 0x100000>;
0063         };
0064 
0065         partition@100000 {
0066                 label = "uImage";
0067                 reg = <0x100000 0x400000>;
0068         };
0069 
0070         partition@500000 {
0071                 label = "root";
0072                 reg = <0x500000 0x1fb00000>;
0073         };
0074 };
0075 
0076 &mdio {
0077         status = "okay";
0078 
0079         ethphy0: ethernet-phy@8 {
0080                 reg = <8>;
0081         };
0082 };
0083 
0084 &eth0 {
0085         status = "okay";
0086         ethernet0-port@0 {
0087                 phy-handle = <&ethphy0>;
0088         };
0089 };