1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring 4*724ba675SRob Herring#include "kirkwood.dtsi" 5*724ba675SRob Herring#include "kirkwood-6281.dtsi" 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring model = "LaCie CloudBox"; 9*724ba675SRob Herring compatible = "lacie,cloudbox", "marvell,kirkwood-88f6702", "marvell,kirkwood"; 10*724ba675SRob Herring 11*724ba675SRob Herring memory { 12*724ba675SRob Herring device_type = "memory"; 13*724ba675SRob Herring reg = <0x00000000 0x10000000>; 14*724ba675SRob Herring }; 15*724ba675SRob Herring 16*724ba675SRob Herring chosen { 17*724ba675SRob Herring bootargs = "console=ttyS0,115200n8"; 18*724ba675SRob Herring stdout-path = &uart0; 19*724ba675SRob Herring }; 20*724ba675SRob Herring 21*724ba675SRob Herring ocp@f1000000 { 22*724ba675SRob Herring pinctrl: pin-controller@10000 { 23*724ba675SRob Herring pmx_cloudbox_sata0: pmx-cloudbox-sata0 { 24*724ba675SRob Herring marvell,pins = "mpp15"; 25*724ba675SRob Herring marvell,function = "sata0"; 26*724ba675SRob Herring }; 27*724ba675SRob Herring }; 28*724ba675SRob Herring 29*724ba675SRob Herring serial@12000 { 30*724ba675SRob Herring status = "okay"; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring sata@80000 { 34*724ba675SRob Herring pinctrl-0 = <&pmx_cloudbox_sata0>; 35*724ba675SRob Herring pinctrl-names = "default"; 36*724ba675SRob Herring status = "okay"; 37*724ba675SRob Herring nr-ports = <1>; 38*724ba675SRob Herring }; 39*724ba675SRob Herring 40*724ba675SRob Herring spi@10600 { 41*724ba675SRob Herring status = "okay"; 42*724ba675SRob Herring 43*724ba675SRob Herring flash@0 { 44*724ba675SRob Herring #address-cells = <1>; 45*724ba675SRob Herring #size-cells = <1>; 46*724ba675SRob Herring compatible = "mxicy,mx25l4005a", "jedec,spi-nor"; 47*724ba675SRob Herring reg = <0>; 48*724ba675SRob Herring spi-max-frequency = <20000000>; 49*724ba675SRob Herring mode = <0>; 50*724ba675SRob Herring 51*724ba675SRob Herring partition@0 { 52*724ba675SRob Herring reg = <0x0 0x80000>; 53*724ba675SRob Herring label = "u-boot"; 54*724ba675SRob Herring }; 55*724ba675SRob Herring }; 56*724ba675SRob Herring }; 57*724ba675SRob Herring }; 58*724ba675SRob Herring 59*724ba675SRob Herring gpio_keys { 60*724ba675SRob Herring compatible = "gpio-keys"; 61*724ba675SRob Herring #address-cells = <1>; 62*724ba675SRob Herring #size-cells = <0>; 63*724ba675SRob Herring 64*724ba675SRob Herring power { 65*724ba675SRob Herring label = "Power push button"; 66*724ba675SRob Herring linux,code = <KEY_POWER>; 67*724ba675SRob Herring gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; 68*724ba675SRob Herring }; 69*724ba675SRob Herring }; 70*724ba675SRob Herring 71*724ba675SRob Herring gpio-leds { 72*724ba675SRob Herring compatible = "gpio-leds"; 73*724ba675SRob Herring 74*724ba675SRob Herring red-fail { 75*724ba675SRob Herring label = "cloudbox:red:fail"; 76*724ba675SRob Herring gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 77*724ba675SRob Herring }; 78*724ba675SRob Herring blue-sata { 79*724ba675SRob Herring label = "cloudbox:blue:sata"; 80*724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; 81*724ba675SRob Herring }; 82*724ba675SRob Herring }; 83*724ba675SRob Herring 84*724ba675SRob Herring gpio_poweroff { 85*724ba675SRob Herring compatible = "gpio-poweroff"; 86*724ba675SRob Herring gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; 87*724ba675SRob Herring }; 88*724ba675SRob Herring}; 89*724ba675SRob Herring 90*724ba675SRob Herring&mdio { 91*724ba675SRob Herring status = "okay"; 92*724ba675SRob Herring 93*724ba675SRob Herring ethphy0: ethernet-phy@0 { 94*724ba675SRob Herring reg = <0>; 95*724ba675SRob Herring }; 96*724ba675SRob Herring}; 97*724ba675SRob Herring 98*724ba675SRob Herringð0 { 99*724ba675SRob Herring status = "okay"; 100*724ba675SRob Herring ethernet0-port@0 { 101*724ba675SRob Herring phy-handle = <ðphy0>; 102*724ba675SRob Herring }; 103*724ba675SRob Herring}; 104