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