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 = "LaCie CloudBox"; 9724ba675SRob Herring compatible = "lacie,cloudbox", "marvell,kirkwood-88f6702", "marvell,kirkwood"; 10724ba675SRob Herring 11724ba675SRob Herring memory { 12724ba675SRob Herring device_type = "memory"; 13724ba675SRob Herring reg = <0x00000000 0x10000000>; 14724ba675SRob Herring }; 15724ba675SRob Herring 16724ba675SRob Herring chosen { 17724ba675SRob Herring bootargs = "console=ttyS0,115200n8"; 18724ba675SRob Herring stdout-path = &uart0; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring ocp@f1000000 { 22724ba675SRob Herring pinctrl: pin-controller@10000 { 23724ba675SRob Herring pmx_cloudbox_sata0: pmx-cloudbox-sata0 { 24724ba675SRob Herring marvell,pins = "mpp15"; 25724ba675SRob Herring marvell,function = "sata0"; 26724ba675SRob Herring }; 27724ba675SRob Herring }; 28724ba675SRob Herring 29724ba675SRob Herring serial@12000 { 30724ba675SRob Herring status = "okay"; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring sata@80000 { 34724ba675SRob Herring pinctrl-0 = <&pmx_cloudbox_sata0>; 35724ba675SRob Herring pinctrl-names = "default"; 36724ba675SRob Herring status = "okay"; 37724ba675SRob Herring nr-ports = <1>; 38724ba675SRob Herring }; 39724ba675SRob Herring 40724ba675SRob Herring spi@10600 { 41724ba675SRob Herring status = "okay"; 42724ba675SRob Herring 43724ba675SRob Herring flash@0 { 44724ba675SRob Herring #address-cells = <1>; 45724ba675SRob Herring #size-cells = <1>; 46724ba675SRob Herring compatible = "mxicy,mx25l4005a", "jedec,spi-nor"; 47724ba675SRob Herring reg = <0>; 48724ba675SRob Herring spi-max-frequency = <20000000>; 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 }; 57724ba675SRob Herring }; 58724ba675SRob Herring 59724ba675SRob Herring gpio_keys { 60724ba675SRob Herring compatible = "gpio-keys"; 61724ba675SRob Herring 62b98a9191SKrzysztof Kozlowski key-power { 63724ba675SRob Herring label = "Power push button"; 64724ba675SRob Herring linux,code = <KEY_POWER>; 65724ba675SRob Herring gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; 66724ba675SRob Herring }; 67724ba675SRob Herring }; 68724ba675SRob Herring 69724ba675SRob Herring gpio-leds { 70724ba675SRob Herring compatible = "gpio-leds"; 71724ba675SRob Herring 72*9d0120b7SKrzysztof Kozlowski led-red-fail { 73724ba675SRob Herring label = "cloudbox:red:fail"; 74724ba675SRob Herring gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 75724ba675SRob Herring }; 76*9d0120b7SKrzysztof Kozlowski led-blue-sata { 77724ba675SRob Herring label = "cloudbox:blue:sata"; 78724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; 79724ba675SRob Herring }; 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring gpio_poweroff { 83724ba675SRob Herring compatible = "gpio-poweroff"; 84724ba675SRob Herring gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; 85724ba675SRob Herring }; 86724ba675SRob Herring}; 87724ba675SRob Herring 88724ba675SRob Herring&mdio { 89724ba675SRob Herring status = "okay"; 90724ba675SRob Herring 91724ba675SRob Herring ethphy0: ethernet-phy@0 { 92724ba675SRob Herring reg = <0>; 93724ba675SRob Herring }; 94724ba675SRob Herring}; 95724ba675SRob Herring 96724ba675SRob Herringð0 { 97724ba675SRob Herring status = "okay"; 98724ba675SRob Herring ethernet0-port@0 { 99724ba675SRob Herring phy-handle = <ðphy0>; 100724ba675SRob Herring }; 101724ba675SRob Herring}; 102