1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Marvell 88F6281 GTW GE Board 4*724ba675SRob Herring * 5*724ba675SRob Herring * Lennert Buytenhek <buytenh@marvell.com> 6*724ba675SRob Herring * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7*724ba675SRob Herring * 8*724ba675SRob Herring * This file contains the definitions that are common between the 6281 9*724ba675SRob Herring * and 6282 variants of the Marvell Kirkwood Development Board. 10*724ba675SRob Herring */ 11*724ba675SRob Herring 12*724ba675SRob Herring/dts-v1/; 13*724ba675SRob Herring 14*724ba675SRob Herring#include "kirkwood.dtsi" 15*724ba675SRob Herring#include "kirkwood-6281.dtsi" 16*724ba675SRob Herring 17*724ba675SRob Herring/ { 18*724ba675SRob Herring model = "Marvell 88F6281 GTW GE Board"; 19*724ba675SRob Herring compatible = "marvell,mv88f6281gtw-ge", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 20*724ba675SRob Herring 21*724ba675SRob Herring memory { 22*724ba675SRob Herring device_type = "memory"; 23*724ba675SRob Herring reg = <0x00000000 0x20000000>; /* 512 MB */ 24*724ba675SRob Herring }; 25*724ba675SRob Herring 26*724ba675SRob Herring chosen { 27*724ba675SRob Herring bootargs = "console=ttyS0,115200n8 earlyprintk"; 28*724ba675SRob Herring stdout-path = &uart0; 29*724ba675SRob Herring }; 30*724ba675SRob Herring 31*724ba675SRob Herring ocp@f1000000 { 32*724ba675SRob Herring pin-controller@10000 { 33*724ba675SRob Herring pmx_usb_led: pmx-usb-led { 34*724ba675SRob Herring marvell,pins = "mpp12"; 35*724ba675SRob Herring marvell,function = "gpo"; 36*724ba675SRob Herring }; 37*724ba675SRob Herring 38*724ba675SRob Herring pmx_leds: pmx-leds { 39*724ba675SRob Herring marvell,pins = "mpp20", "mpp21"; 40*724ba675SRob Herring marvell,function = "gpio"; 41*724ba675SRob Herring }; 42*724ba675SRob Herring 43*724ba675SRob Herring pmx_keys: pmx-keys { 44*724ba675SRob Herring marvell,pins = "mpp46", "mpp47"; 45*724ba675SRob Herring marvell,function = "gpio"; 46*724ba675SRob Herring }; 47*724ba675SRob Herring }; 48*724ba675SRob Herring 49*724ba675SRob Herring spi@10600 { 50*724ba675SRob Herring status = "okay"; 51*724ba675SRob Herring 52*724ba675SRob Herring flash@0 { 53*724ba675SRob Herring #address-cells = <1>; 54*724ba675SRob Herring #size-cells = <1>; 55*724ba675SRob Herring compatible = "mxicy,mx25l12805d", "jedec,spi-nor"; 56*724ba675SRob Herring reg = <0>; 57*724ba675SRob Herring spi-max-frequency = <50000000>; 58*724ba675SRob Herring mode = <0>; 59*724ba675SRob Herring }; 60*724ba675SRob Herring }; 61*724ba675SRob Herring 62*724ba675SRob Herring serial@12000 { 63*724ba675SRob Herring status = "okay"; 64*724ba675SRob Herring }; 65*724ba675SRob Herring 66*724ba675SRob Herring ehci@50000 { 67*724ba675SRob Herring status = "okay"; 68*724ba675SRob Herring }; 69*724ba675SRob Herring }; 70*724ba675SRob Herring 71*724ba675SRob Herring gpio-leds { 72*724ba675SRob Herring compatible = "gpio-leds"; 73*724ba675SRob Herring pinctrl-0 = <&pmx_leds &pmx_usb_led>; 74*724ba675SRob Herring pinctrl-names = "default"; 75*724ba675SRob Herring 76*724ba675SRob Herring green-status { 77*724ba675SRob Herring label = "gtw:green:Status"; 78*724ba675SRob Herring gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring red-status { 82*724ba675SRob Herring label = "gtw:red:Status"; 83*724ba675SRob Herring gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; 84*724ba675SRob Herring }; 85*724ba675SRob Herring 86*724ba675SRob Herring green-usb { 87*724ba675SRob Herring label = "gtw:green:USB"; 88*724ba675SRob Herring gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 89*724ba675SRob Herring }; 90*724ba675SRob Herring }; 91*724ba675SRob Herring 92*724ba675SRob Herring gpio_keys { 93*724ba675SRob Herring compatible = "gpio-keys"; 94*724ba675SRob Herring #address-cells = <1>; 95*724ba675SRob Herring #size-cells = <0>; 96*724ba675SRob Herring pinctrl-0 = <&pmx_keys>; 97*724ba675SRob Herring pinctrl-names = "default"; 98*724ba675SRob Herring 99*724ba675SRob Herring restart { 100*724ba675SRob Herring label = "SWR Button"; 101*724ba675SRob Herring linux,code = <KEY_RESTART>; 102*724ba675SRob Herring gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 103*724ba675SRob Herring }; 104*724ba675SRob Herring wps { 105*724ba675SRob Herring label = "WPS Button"; 106*724ba675SRob Herring linux,code = <KEY_WPS_BUTTON>; 107*724ba675SRob Herring gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 108*724ba675SRob Herring }; 109*724ba675SRob Herring }; 110*724ba675SRob Herring}; 111*724ba675SRob Herring 112*724ba675SRob Herring&mdio { 113*724ba675SRob Herring status = "okay"; 114*724ba675SRob Herring 115*724ba675SRob Herring switch@0 { 116*724ba675SRob Herring compatible = "marvell,mv88e6085"; 117*724ba675SRob Herring #address-cells = <1>; 118*724ba675SRob Herring #size-cells = <0>; 119*724ba675SRob Herring reg = <0>; 120*724ba675SRob Herring 121*724ba675SRob Herring ports { 122*724ba675SRob Herring #address-cells = <1>; 123*724ba675SRob Herring #size-cells = <0>; 124*724ba675SRob Herring 125*724ba675SRob Herring port@0 { 126*724ba675SRob Herring reg = <0>; 127*724ba675SRob Herring label = "lan1"; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring port@1 { 131*724ba675SRob Herring reg = <1>; 132*724ba675SRob Herring label = "lan2"; 133*724ba675SRob Herring }; 134*724ba675SRob Herring 135*724ba675SRob Herring port@2 { 136*724ba675SRob Herring reg = <2>; 137*724ba675SRob Herring label = "lan3"; 138*724ba675SRob Herring }; 139*724ba675SRob Herring 140*724ba675SRob Herring port@3 { 141*724ba675SRob Herring reg = <3>; 142*724ba675SRob Herring label = "lan4"; 143*724ba675SRob Herring }; 144*724ba675SRob Herring 145*724ba675SRob Herring port@4 { 146*724ba675SRob Herring reg = <4>; 147*724ba675SRob Herring label = "wan"; 148*724ba675SRob Herring }; 149*724ba675SRob Herring 150*724ba675SRob Herring port@5 { 151*724ba675SRob Herring reg = <5>; 152*724ba675SRob Herring phy-mode = "rgmii-id"; 153*724ba675SRob Herring ethernet = <ð0port>; 154*724ba675SRob Herring fixed-link { 155*724ba675SRob Herring speed = <1000>; 156*724ba675SRob Herring full-duplex; 157*724ba675SRob Herring }; 158*724ba675SRob Herring }; 159*724ba675SRob Herring }; 160*724ba675SRob Herring }; 161*724ba675SRob Herring}; 162*724ba675SRob Herring 163*724ba675SRob Herringð0 { 164*724ba675SRob Herring status = "okay"; 165*724ba675SRob Herring 166*724ba675SRob Herring ethernet0-port@0 { 167*724ba675SRob Herring speed = <1000>; 168*724ba675SRob Herring duplex = <1>; 169*724ba675SRob Herring phy-mode = "rgmii"; 170*724ba675SRob Herring }; 171*724ba675SRob Herring}; 172*724ba675SRob Herring 173*724ba675SRob Herring&pciec { 174*724ba675SRob Herring status = "okay"; 175*724ba675SRob Herring}; 176*724ba675SRob Herring 177*724ba675SRob Herring&pcie0 { 178*724ba675SRob Herring status = "okay"; 179*724ba675SRob Herring}; 180