1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Marvell 88F6281 GTW GE Board 4724ba675SRob Herring * 5724ba675SRob Herring * Lennert Buytenhek <buytenh@marvell.com> 6724ba675SRob Herring * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7724ba675SRob Herring * 8724ba675SRob Herring * This file contains the definitions that are common between the 6281 9724ba675SRob Herring * and 6282 variants of the Marvell Kirkwood Development Board. 10724ba675SRob Herring */ 11724ba675SRob Herring 12724ba675SRob Herring/dts-v1/; 13724ba675SRob Herring 14724ba675SRob Herring#include "kirkwood.dtsi" 15724ba675SRob Herring#include "kirkwood-6281.dtsi" 16724ba675SRob Herring 17724ba675SRob Herring/ { 18724ba675SRob Herring model = "Marvell 88F6281 GTW GE Board"; 19724ba675SRob Herring compatible = "marvell,mv88f6281gtw-ge", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 20724ba675SRob Herring 21724ba675SRob Herring memory { 22724ba675SRob Herring device_type = "memory"; 23724ba675SRob Herring reg = <0x00000000 0x20000000>; /* 512 MB */ 24724ba675SRob Herring }; 25724ba675SRob Herring 26724ba675SRob Herring chosen { 27724ba675SRob Herring bootargs = "console=ttyS0,115200n8 earlyprintk"; 28724ba675SRob Herring stdout-path = &uart0; 29724ba675SRob Herring }; 30724ba675SRob Herring 31724ba675SRob Herring ocp@f1000000 { 32724ba675SRob Herring pin-controller@10000 { 33724ba675SRob Herring pmx_usb_led: pmx-usb-led { 34724ba675SRob Herring marvell,pins = "mpp12"; 35724ba675SRob Herring marvell,function = "gpo"; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring pmx_leds: pmx-leds { 39724ba675SRob Herring marvell,pins = "mpp20", "mpp21"; 40724ba675SRob Herring marvell,function = "gpio"; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring pmx_keys: pmx-keys { 44724ba675SRob Herring marvell,pins = "mpp46", "mpp47"; 45724ba675SRob Herring marvell,function = "gpio"; 46724ba675SRob Herring }; 47724ba675SRob Herring }; 48724ba675SRob Herring 49724ba675SRob Herring spi@10600 { 50724ba675SRob Herring status = "okay"; 51724ba675SRob Herring 52724ba675SRob Herring flash@0 { 53724ba675SRob Herring #address-cells = <1>; 54724ba675SRob Herring #size-cells = <1>; 55724ba675SRob Herring compatible = "mxicy,mx25l12805d", "jedec,spi-nor"; 56724ba675SRob Herring reg = <0>; 57724ba675SRob Herring spi-max-frequency = <50000000>; 58724ba675SRob Herring mode = <0>; 59724ba675SRob Herring }; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring serial@12000 { 63724ba675SRob Herring status = "okay"; 64724ba675SRob Herring }; 65724ba675SRob Herring 66724ba675SRob Herring ehci@50000 { 67724ba675SRob Herring status = "okay"; 68724ba675SRob Herring }; 69724ba675SRob Herring }; 70724ba675SRob Herring 71724ba675SRob Herring gpio-leds { 72724ba675SRob Herring compatible = "gpio-leds"; 73724ba675SRob Herring pinctrl-0 = <&pmx_leds &pmx_usb_led>; 74724ba675SRob Herring pinctrl-names = "default"; 75724ba675SRob Herring 76*9d0120b7SKrzysztof Kozlowski led-green-status { 77724ba675SRob Herring label = "gtw:green:Status"; 78724ba675SRob Herring gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; 79724ba675SRob Herring }; 80724ba675SRob Herring 81*9d0120b7SKrzysztof Kozlowski led-red-status { 82724ba675SRob Herring label = "gtw:red:Status"; 83724ba675SRob Herring gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; 84724ba675SRob Herring }; 85724ba675SRob Herring 86*9d0120b7SKrzysztof Kozlowski led-green-usb { 87724ba675SRob Herring label = "gtw:green:USB"; 88724ba675SRob Herring gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 89724ba675SRob Herring }; 90724ba675SRob Herring }; 91724ba675SRob Herring 92724ba675SRob Herring gpio_keys { 93724ba675SRob Herring compatible = "gpio-keys"; 94724ba675SRob Herring pinctrl-0 = <&pmx_keys>; 95724ba675SRob Herring pinctrl-names = "default"; 96724ba675SRob Herring 97b98a9191SKrzysztof Kozlowski button-restart { 98724ba675SRob Herring label = "SWR Button"; 99724ba675SRob Herring linux,code = <KEY_RESTART>; 100724ba675SRob Herring gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 101724ba675SRob Herring }; 102b98a9191SKrzysztof Kozlowski button-wps { 103724ba675SRob Herring label = "WPS Button"; 104724ba675SRob Herring linux,code = <KEY_WPS_BUTTON>; 105724ba675SRob Herring gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 106724ba675SRob Herring }; 107724ba675SRob Herring }; 108724ba675SRob Herring}; 109724ba675SRob Herring 110724ba675SRob Herring&mdio { 111724ba675SRob Herring status = "okay"; 112724ba675SRob Herring 113724ba675SRob Herring switch@0 { 114724ba675SRob Herring compatible = "marvell,mv88e6085"; 115724ba675SRob Herring #address-cells = <1>; 116724ba675SRob Herring #size-cells = <0>; 117724ba675SRob Herring reg = <0>; 118724ba675SRob Herring 119724ba675SRob Herring ports { 120724ba675SRob Herring #address-cells = <1>; 121724ba675SRob Herring #size-cells = <0>; 122724ba675SRob Herring 123724ba675SRob Herring port@0 { 124724ba675SRob Herring reg = <0>; 125724ba675SRob Herring label = "lan1"; 126724ba675SRob Herring }; 127724ba675SRob Herring 128724ba675SRob Herring port@1 { 129724ba675SRob Herring reg = <1>; 130724ba675SRob Herring label = "lan2"; 131724ba675SRob Herring }; 132724ba675SRob Herring 133724ba675SRob Herring port@2 { 134724ba675SRob Herring reg = <2>; 135724ba675SRob Herring label = "lan3"; 136724ba675SRob Herring }; 137724ba675SRob Herring 138724ba675SRob Herring port@3 { 139724ba675SRob Herring reg = <3>; 140724ba675SRob Herring label = "lan4"; 141724ba675SRob Herring }; 142724ba675SRob Herring 143724ba675SRob Herring port@4 { 144724ba675SRob Herring reg = <4>; 145724ba675SRob Herring label = "wan"; 146724ba675SRob Herring }; 147724ba675SRob Herring 148724ba675SRob Herring port@5 { 149724ba675SRob Herring reg = <5>; 150724ba675SRob Herring phy-mode = "rgmii-id"; 151724ba675SRob Herring ethernet = <ð0port>; 152724ba675SRob Herring fixed-link { 153724ba675SRob Herring speed = <1000>; 154724ba675SRob Herring full-duplex; 155724ba675SRob Herring }; 156724ba675SRob Herring }; 157724ba675SRob Herring }; 158724ba675SRob Herring }; 159724ba675SRob Herring}; 160724ba675SRob Herring 161724ba675SRob Herringð0 { 162724ba675SRob Herring status = "okay"; 163724ba675SRob Herring 164724ba675SRob Herring ethernet0-port@0 { 165724ba675SRob Herring speed = <1000>; 166724ba675SRob Herring duplex = <1>; 167724ba675SRob Herring phy-mode = "rgmii"; 168724ba675SRob Herring }; 169724ba675SRob Herring}; 170724ba675SRob Herring 171724ba675SRob Herring&pciec { 172724ba675SRob Herring status = "okay"; 173724ba675SRob Herring}; 174724ba675SRob Herring 175724ba675SRob Herring&pcie0 { 176724ba675SRob Herring status = "okay"; 177724ba675SRob Herring}; 178