1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Marvell RD88F6181 Common Board descrition 4*724ba675SRob Herring * 5*724ba675SRob Herring * Andrew Lunn <andrew@lunn.ch> 6*724ba675SRob Herring * 7*724ba675SRob Herring * This file contains the definitions that are common between the two 8*724ba675SRob Herring * variants of the Marvell Kirkwood Development Board. 9*724ba675SRob Herring */ 10*724ba675SRob Herring 11*724ba675SRob Herring#include "kirkwood.dtsi" 12*724ba675SRob Herring#include "kirkwood-6281.dtsi" 13*724ba675SRob Herring 14*724ba675SRob Herring/ { 15*724ba675SRob Herring memory { 16*724ba675SRob Herring device_type = "memory"; 17*724ba675SRob Herring reg = <0x00000000 0x20000000>; 18*724ba675SRob Herring }; 19*724ba675SRob Herring 20*724ba675SRob Herring chosen { 21*724ba675SRob Herring bootargs = "console=ttyS0,115200n8"; 22*724ba675SRob Herring stdout-path = &uart0; 23*724ba675SRob Herring }; 24*724ba675SRob Herring 25*724ba675SRob Herring ocp@f1000000 { 26*724ba675SRob Herring pinctrl: pin-controller@10000 { 27*724ba675SRob Herring pinctrl-names = "default"; 28*724ba675SRob Herring 29*724ba675SRob Herring pmx_sdio_cd: pmx-sdio-cd { 30*724ba675SRob Herring marvell,pins = "mpp28"; 31*724ba675SRob Herring marvell,function = "gpio"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring }; 34*724ba675SRob Herring 35*724ba675SRob Herring serial@12000 { 36*724ba675SRob Herring status = "okay"; 37*724ba675SRob Herring 38*724ba675SRob Herring }; 39*724ba675SRob Herring 40*724ba675SRob Herring sata@80000 { 41*724ba675SRob Herring status = "okay"; 42*724ba675SRob Herring nr-ports = <2>; 43*724ba675SRob Herring }; 44*724ba675SRob Herring mvsdio@90000 { 45*724ba675SRob Herring pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>; 46*724ba675SRob Herring pinctrl-names = "default"; 47*724ba675SRob Herring status = "okay"; 48*724ba675SRob Herring cd-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; 49*724ba675SRob Herring /* No WP GPIO */ 50*724ba675SRob Herring }; 51*724ba675SRob Herring }; 52*724ba675SRob Herring}; 53*724ba675SRob Herring 54*724ba675SRob Herring&nand { 55*724ba675SRob Herring status = "okay"; 56*724ba675SRob Herring 57*724ba675SRob Herring partition@0 { 58*724ba675SRob Herring label = "u-boot"; 59*724ba675SRob Herring reg = <0x0000000 0x100000>; 60*724ba675SRob Herring read-only; 61*724ba675SRob Herring }; 62*724ba675SRob Herring 63*724ba675SRob Herring partition@100000 { 64*724ba675SRob Herring label = "uImage"; 65*724ba675SRob Herring reg = <0x0100000 0x200000>; 66*724ba675SRob Herring }; 67*724ba675SRob Herring 68*724ba675SRob Herring partition@300000 { 69*724ba675SRob Herring label = "rootfs"; 70*724ba675SRob Herring reg = <0x0300000 0x500000>; 71*724ba675SRob Herring }; 72*724ba675SRob Herring}; 73*724ba675SRob Herring 74*724ba675SRob Herring&mdio { 75*724ba675SRob Herring status = "okay"; 76*724ba675SRob Herring 77*724ba675SRob Herring switch: switch@0 { 78*724ba675SRob Herring compatible = "marvell,mv88e6085"; 79*724ba675SRob Herring #address-cells = <1>; 80*724ba675SRob Herring #size-cells = <0>; 81*724ba675SRob Herring 82*724ba675SRob Herring ports { 83*724ba675SRob Herring #address-cells = <1>; 84*724ba675SRob Herring #size-cells = <0>; 85*724ba675SRob Herring 86*724ba675SRob Herring port@0 { 87*724ba675SRob Herring reg = <0>; 88*724ba675SRob Herring label = "lan1"; 89*724ba675SRob Herring }; 90*724ba675SRob Herring 91*724ba675SRob Herring port@1 { 92*724ba675SRob Herring reg = <1>; 93*724ba675SRob Herring label = "lan2"; 94*724ba675SRob Herring }; 95*724ba675SRob Herring 96*724ba675SRob Herring port@2 { 97*724ba675SRob Herring reg = <2>; 98*724ba675SRob Herring label = "lan3"; 99*724ba675SRob Herring }; 100*724ba675SRob Herring 101*724ba675SRob Herring port@3 { 102*724ba675SRob Herring reg = <3>; 103*724ba675SRob Herring label = "lan4"; 104*724ba675SRob Herring }; 105*724ba675SRob Herring 106*724ba675SRob Herring port@5 { 107*724ba675SRob Herring reg = <5>; 108*724ba675SRob Herring phy-mode = "rgmii-id"; 109*724ba675SRob Herring ethernet = <ð0port>; 110*724ba675SRob Herring fixed-link { 111*724ba675SRob Herring speed = <1000>; 112*724ba675SRob Herring full-duplex; 113*724ba675SRob Herring }; 114*724ba675SRob Herring }; 115*724ba675SRob Herring 116*724ba675SRob Herring }; 117*724ba675SRob Herring }; 118*724ba675SRob Herring}; 119*724ba675SRob Herring 120*724ba675SRob Herringð0 { 121*724ba675SRob Herring status = "okay"; 122*724ba675SRob Herring ethernet0-port@0 { 123*724ba675SRob Herring speed = <1000>; 124*724ba675SRob Herring duplex = <1>; 125*724ba675SRob Herring }; 126*724ba675SRob Herring}; 127*724ba675SRob Herring 128*724ba675SRob Herring&pciec { 129*724ba675SRob Herring status = "okay"; 130*724ba675SRob Herring}; 131*724ba675SRob Herring 132*724ba675SRob Herring&pcie0 { 133*724ba675SRob Herring status = "okay"; 134*724ba675SRob Herring}; 135