1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include "kirkwood.dtsi" 5724ba675SRob Herring#include "kirkwood-6281.dtsi" 6724ba675SRob Herring 7724ba675SRob Herring/ { 8724ba675SRob Herring model = "Globalscale Technologies Dreamplug"; 9724ba675SRob Herring compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10724ba675SRob Herring 11724ba675SRob Herring memory { 12724ba675SRob Herring device_type = "memory"; 13724ba675SRob Herring reg = <0x00000000 0x20000000>; 14724ba675SRob Herring }; 15724ba675SRob Herring 16724ba675SRob Herring chosen { 17724ba675SRob Herring bootargs = "console=ttyS0,115200n8 earlyprintk"; 18724ba675SRob Herring stdout-path = &uart0; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring ocp@f1000000 { 22724ba675SRob Herring pinctrl: pin-controller@10000 { 23724ba675SRob Herring pmx_led_bluetooth: pmx-led-bluetooth { 24724ba675SRob Herring marvell,pins = "mpp47"; 25724ba675SRob Herring marvell,function = "gpio"; 26724ba675SRob Herring }; 27724ba675SRob Herring pmx_led_wifi: pmx-led-wifi { 28724ba675SRob Herring marvell,pins = "mpp48"; 29724ba675SRob Herring marvell,function = "gpio"; 30724ba675SRob Herring }; 31724ba675SRob Herring pmx_led_wifi_ap: pmx-led-wifi-ap { 32724ba675SRob Herring marvell,pins = "mpp49"; 33724ba675SRob Herring marvell,function = "gpio"; 34724ba675SRob Herring }; 35724ba675SRob Herring }; 36724ba675SRob Herring serial@12000 { 37724ba675SRob Herring status = "okay"; 38724ba675SRob Herring }; 39724ba675SRob Herring 40724ba675SRob Herring spi@10600 { 41724ba675SRob Herring status = "okay"; 42724ba675SRob Herring 43724ba675SRob Herring m25p40@0 { 44724ba675SRob Herring #address-cells = <1>; 45724ba675SRob Herring #size-cells = <1>; 46724ba675SRob Herring compatible = "mxicy,mx25l1606e", "jedec,spi-nor"; 47724ba675SRob Herring reg = <0>; 48724ba675SRob Herring spi-max-frequency = <50000000>; 49724ba675SRob Herring mode = <0>; 50724ba675SRob Herring 51724ba675SRob Herring partition@0 { 52724ba675SRob Herring reg = <0x0 0x80000>; 53724ba675SRob Herring label = "u-boot"; 54724ba675SRob Herring }; 55724ba675SRob Herring 56724ba675SRob Herring partition@100000 { 57724ba675SRob Herring reg = <0x100000 0x10000>; 58724ba675SRob Herring label = "u-boot env"; 59724ba675SRob Herring }; 60724ba675SRob Herring 61724ba675SRob Herring partition@180000 { 62724ba675SRob Herring reg = <0x180000 0x10000>; 63724ba675SRob Herring label = "dtb"; 64724ba675SRob Herring }; 65724ba675SRob Herring }; 66724ba675SRob Herring }; 67724ba675SRob Herring 68724ba675SRob Herring sata@80000 { 69724ba675SRob Herring status = "okay"; 70724ba675SRob Herring nr-ports = <1>; 71724ba675SRob Herring }; 72724ba675SRob Herring 73724ba675SRob Herring mvsdio@90000 { 74724ba675SRob Herring pinctrl-0 = <&pmx_sdio>; 75724ba675SRob Herring pinctrl-names = "default"; 76724ba675SRob Herring status = "okay"; 77724ba675SRob Herring /* No CD or WP GPIOs */ 78724ba675SRob Herring broken-cd; 79724ba675SRob Herring }; 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring gpio-leds { 83724ba675SRob Herring compatible = "gpio-leds"; 84724ba675SRob Herring pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi 85724ba675SRob Herring &pmx_led_wifi_ap >; 86724ba675SRob Herring pinctrl-names = "default"; 87724ba675SRob Herring 88*9d0120b7SKrzysztof Kozlowski led-bluetooth { 89724ba675SRob Herring label = "dreamplug:blue:bluetooth"; 90724ba675SRob Herring gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 91724ba675SRob Herring }; 92*9d0120b7SKrzysztof Kozlowski led-wifi { 93724ba675SRob Herring label = "dreamplug:green:wifi"; 94724ba675SRob Herring gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; 95724ba675SRob Herring }; 96*9d0120b7SKrzysztof Kozlowski led-wifi-ap { 97724ba675SRob Herring label = "dreamplug:green:wifi_ap"; 98724ba675SRob Herring gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; 99724ba675SRob Herring }; 100724ba675SRob Herring }; 101724ba675SRob Herring}; 102724ba675SRob Herring 103724ba675SRob Herring&mdio { 104724ba675SRob Herring status = "okay"; 105724ba675SRob Herring 106724ba675SRob Herring ethphy0: ethernet-phy@0 { 107724ba675SRob Herring reg = <0>; 108724ba675SRob Herring }; 109724ba675SRob Herring 110724ba675SRob Herring ethphy1: ethernet-phy@1 { 111724ba675SRob Herring reg = <1>; 112724ba675SRob Herring }; 113724ba675SRob Herring}; 114724ba675SRob Herring 115724ba675SRob Herringð0 { 116724ba675SRob Herring status = "okay"; 117724ba675SRob Herring ethernet0-port@0 { 118724ba675SRob Herring phy-handle = <ðphy0>; 119724ba675SRob Herring }; 120724ba675SRob Herring}; 121724ba675SRob Herring 122724ba675SRob Herringð1 { 123724ba675SRob Herring status = "okay"; 124724ba675SRob Herring ethernet1-port@0 { 125724ba675SRob Herring phy-handle = <ðphy1>; 126724ba675SRob Herring }; 127724ba675SRob Herring}; 128