0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Marvell RD88F6181 Common Board descrition
0004 *
0005 * Andrew Lunn <andrew@lunn.ch>
0006 *
0007 * This file contains the definitions that are common between the two
0008 * variants of the Marvell Kirkwood Development Board.
0009 */
0010
0011 #include "kirkwood.dtsi"
0012 #include "kirkwood-6281.dtsi"
0013
0014 / {
0015 memory {
0016 device_type = "memory";
0017 reg = <0x00000000 0x20000000>;
0018 };
0019
0020 chosen {
0021 bootargs = "console=ttyS0,115200n8";
0022 stdout-path = &uart0;
0023 };
0024
0025 ocp@f1000000 {
0026 pinctrl: pin-controller@10000 {
0027 pinctrl-names = "default";
0028
0029 pmx_sdio_cd: pmx-sdio-cd {
0030 marvell,pins = "mpp28";
0031 marvell,function = "gpio";
0032 };
0033 };
0034
0035 serial@12000 {
0036 status = "okay";
0037
0038 };
0039
0040 sata@80000 {
0041 status = "okay";
0042 nr-ports = <2>;
0043 };
0044 mvsdio@90000 {
0045 pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
0046 pinctrl-names = "default";
0047 status = "okay";
0048 cd-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
0049 /* No WP GPIO */
0050 };
0051 };
0052 };
0053
0054 &nand {
0055 status = "okay";
0056
0057 partition@0 {
0058 label = "u-boot";
0059 reg = <0x0000000 0x100000>;
0060 read-only;
0061 };
0062
0063 partition@100000 {
0064 label = "uImage";
0065 reg = <0x0100000 0x200000>;
0066 };
0067
0068 partition@300000 {
0069 label = "rootfs";
0070 reg = <0x0300000 0x500000>;
0071 };
0072 };
0073
0074 &mdio {
0075 status = "okay";
0076
0077 switch: switch@0 {
0078 compatible = "marvell,mv88e6085";
0079 #address-cells = <1>;
0080 #size-cells = <0>;
0081
0082 ports {
0083 #address-cells = <1>;
0084 #size-cells = <0>;
0085
0086 port@0 {
0087 reg = <0>;
0088 label = "lan1";
0089 };
0090
0091 port@1 {
0092 reg = <1>;
0093 label = "lan2";
0094 };
0095
0096 port@2 {
0097 reg = <2>;
0098 label = "lan3";
0099 };
0100
0101 port@3 {
0102 reg = <3>;
0103 label = "lan4";
0104 };
0105
0106 port@5 {
0107 reg = <5>;
0108 label = "cpu";
0109 ethernet = <ð0port>;
0110 fixed-link {
0111 speed = <1000>;
0112 full-duplex;
0113 };
0114 };
0115
0116 };
0117 };
0118 };
0119
0120 ð0 {
0121 status = "okay";
0122 ethernet0-port@0 {
0123 speed = <1000>;
0124 duplex = <1>;
0125 };
0126 };
0127
0128 &pciec {
0129 status = "okay";
0130 };
0131
0132 &pcie0 {
0133 status = "okay";
0134 };