-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: Kirkwood: DT board setup for CloudBox
This patch adds DT board setup for the LaCie NAS CloudBox. The CloudBox is a low cost NAS based on the Network Space v2. Chipset list: - CPU MARVELL 88F6702 1Ghz - SDRAM memory: 256MB DDR2-800 (2x128MB x8) 400Mhz - 1 Ethernet Gigabit port (PHY MARVELL 88E1318) - SPI flash, NOR 512KB - 1 push button - 2 LEDs (red and blue) There is no EEPROM and no USB ports embedded. Note that this board must not be confused with the Network Space Mini v2 which is embedded in a previous LaCie product also named CloudBox. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
- Loading branch information
Simon Guinot
authored and
Jason Cooper
committed
Apr 10, 2013
1 parent
a557dd1
commit 98d4f2a
Showing
8 changed files
with
116 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/dts-v1/; | ||
|
||
/include/ "kirkwood.dtsi" | ||
/include/ "kirkwood-6281.dtsi" | ||
|
||
/ { | ||
model = "LaCie CloudBox"; | ||
compatible = "lacie,cloudbox", "marvell,kirkwood-88f6702", "marvell,kirkwood"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x10000000>; | ||
}; | ||
|
||
chosen { | ||
bootargs = "console=ttyS0,115200n8"; | ||
}; | ||
|
||
ocp@f1000000 { | ||
pinctrl: pinctrl@10000 { | ||
pinctrl-0 = < &pmx_spi &pmx_uart0 | ||
&pmx_cloudbox_sata0 >; | ||
pinctrl-names = "default"; | ||
|
||
pmx_cloudbox_sata0: pmx-cloudbox-sata0 { | ||
marvell,pins = "mpp15"; | ||
marvell,function = "sata0"; | ||
}; | ||
}; | ||
|
||
serial@12000 { | ||
clock-frequency = <166666667>; | ||
status = "okay"; | ||
}; | ||
|
||
sata@80000 { | ||
status = "okay"; | ||
nr-ports = <1>; | ||
}; | ||
|
||
spi@10600 { | ||
status = "okay"; | ||
|
||
flash@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "mx25l4005a"; | ||
reg = <0>; | ||
spi-max-frequency = <20000000>; | ||
mode = <0>; | ||
|
||
partition@0 { | ||
reg = <0x0 0x80000>; | ||
label = "u-boot"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
gpio_keys { | ||
compatible = "gpio-keys"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
button@1 { | ||
label = "Power push button"; | ||
linux,code = <116>; | ||
gpios = <&gpio0 16 1>; | ||
}; | ||
}; | ||
|
||
gpio-leds { | ||
compatible = "gpio-leds"; | ||
|
||
red-fail { | ||
label = "cloudbox:red:fail"; | ||
gpios = <&gpio0 14 0>; | ||
}; | ||
blue-sata { | ||
label = "cloudbox:blue:sata"; | ||
gpios = <&gpio0 15 0>; | ||
}; | ||
}; | ||
|
||
gpio_poweroff { | ||
compatible = "gpio-poweroff"; | ||
gpios = <&gpio0 17 0>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters