-
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.
Merge tag 'orion_boards_for_3.8' of git://git.infradead.org/users/jco…
…oper/linux into next/boards From Jason Cooper: orion boards for v3.8 - mach-orion5x/ joins the dark side! (devicetree) - Lacie Network Space family - Lacie Ethernet Disk mini v2 - USI TopKick - ZyXEL NSA310 - MPL CEC4 - Plat'Home OpenBlocks A6 (kirkwood, AX3-4 is armada xp) * tag 'orion_boards_for_3.8' of git://git.infradead.org/users/jcooper/linux: ARM: kirkwood: Add Plat'Home OpenBlocks A6 support ARM: Dove: update defconfig ARM: Kirkwood: update defconfig for new boards arm: orion5x: add DT related options in defconfig arm: orion5x: convert 'LaCie Ethernet Disk mini v2' to Device Tree arm: orion5x: basic Device Tree support arm: orion5x: mechanical defconfig update ARM: kirkwood: Add support for the MPL CEC4 arm: kirkwood: add support for ZyXEL NSA310 ARM: Kirkwood: new board USI Topkick ARM: kirkwood: use gpio-fan DT binding on lsxl ARM: Kirkwood: add Netspace boards to defconfig ARM: kirkwood: DT board setup for Network Space Mini v2 ARM: kirkwood: DT board setup for Network Space Lite v2 ARM: kirkwood: DT board setup for Network Space v2 and parents leds: leds-ns2: add device tree binding ARM: Kirkwood: Enable the second I2C bus
- Loading branch information
Showing
37 changed files
with
1,630 additions
and
174 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Binding for dual-GPIO LED found on Network Space v2 (and parents). | ||
|
||
Required properties: | ||
- compatible: "lacie,ns2-leds". | ||
|
||
Each LED is represented as a sub-node of the ns2-leds device. | ||
|
||
Required sub-node properties: | ||
- cmd-gpio: Command LED GPIO. See OF device-tree GPIO specification. | ||
- slow-gpio: Slow LED GPIO. See OF device-tree GPIO specification. | ||
|
||
Optional sub-node properties: | ||
- label: Name for this LED. If omitted, the label is taken from the node name. | ||
- linux,default-trigger: Trigger assigned to the LED. | ||
|
||
Example: | ||
|
||
ns2-leds { | ||
compatible = "lacie,ns2-leds"; | ||
|
||
blue-sata { | ||
label = "ns2:blue:sata"; | ||
slow-gpio = <&gpio0 29 0>; | ||
cmd-gpio = <&gpio0 30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/dts-v1/; | ||
|
||
/include/ "kirkwood-ns2-common.dtsi" | ||
|
||
/ { | ||
model = "LaCie Internet Space v2"; | ||
compatible = "lacie,inetspace_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x8000000>; | ||
}; | ||
|
||
ocp@f1000000 { | ||
sata@80000 { | ||
status = "okay"; | ||
nr-ports = <1>; | ||
}; | ||
}; | ||
|
||
ns2-leds { | ||
compatible = "lacie,ns2-leds"; | ||
|
||
blue-sata { | ||
label = "ns2:blue:sata"; | ||
slow-gpio = <&gpio0 29 0>; | ||
cmd-gpio = <&gpio0 30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
/dts-v1/; | ||
|
||
/include/ "kirkwood.dtsi" | ||
|
||
/ { | ||
model = "MPL CEC4"; | ||
compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x20000000>; | ||
}; | ||
|
||
chosen { | ||
bootargs = "console=ttyS0,115200n8 earlyprintk"; | ||
}; | ||
|
||
ocp@f1000000 { | ||
i2c@11000 { | ||
status = "okay"; | ||
|
||
rtc@51 { | ||
compatible = "nxp,pcf8563"; | ||
reg = <0x51>; | ||
}; | ||
|
||
eeprom@57 { | ||
compatible = "atmel,24c02"; | ||
reg = <0x57>; | ||
}; | ||
|
||
}; | ||
|
||
serial@12000 { | ||
clock-frequency = <200000000>; | ||
status = "ok"; | ||
}; | ||
|
||
nand@3000000 { | ||
status = "okay"; | ||
|
||
partition@0 { | ||
label = "uboot"; | ||
reg = <0x0000000 0x100000>; | ||
}; | ||
|
||
partition@100000 { | ||
label = "env"; | ||
reg = <0x100000 0x80000>; | ||
}; | ||
|
||
partition@180000 { | ||
label = "fdt"; | ||
reg = <0x180000 0x80000>; | ||
}; | ||
|
||
partition@200000 { | ||
label = "kernel"; | ||
reg = <0x200000 0x400000>; | ||
}; | ||
|
||
partition@600000 { | ||
label = "rootfs"; | ||
reg = <0x600000 0x1fa00000>; | ||
}; | ||
}; | ||
|
||
rtc@10300 { | ||
status = "disabled"; | ||
}; | ||
|
||
sata@80000 { | ||
nr-ports = <2>; | ||
status = "okay"; | ||
|
||
}; | ||
}; | ||
|
||
gpio-leds { | ||
compatible = "gpio-leds"; | ||
|
||
health { | ||
label = "status:green:health"; | ||
gpios = <&gpio0 7 1>; | ||
}; | ||
|
||
user1o { | ||
label = "user1:orange"; | ||
gpios = <&gpio1 8 1>; | ||
default-state = "on"; | ||
}; | ||
|
||
user1g { | ||
label = "user1:green"; | ||
gpios = <&gpio1 9 1>; | ||
default-state = "on"; | ||
}; | ||
|
||
user0o { | ||
label = "user0:orange"; | ||
gpios = <&gpio1 12 1>; | ||
default-state = "on"; | ||
}; | ||
|
||
user0g { | ||
label = "user0:green"; | ||
gpios = <&gpio1 13 1>; | ||
default-state = "on"; | ||
}; | ||
|
||
misc { | ||
label = "status:orange:misc"; | ||
gpios = <&gpio1 14 1>; | ||
default-state = "on"; | ||
}; | ||
|
||
}; | ||
}; | ||
|
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,63 @@ | ||
/include/ "kirkwood.dtsi" | ||
|
||
/ { | ||
chosen { | ||
bootargs = "console=ttyS0,115200n8"; | ||
}; | ||
|
||
ocp@f1000000 { | ||
serial@12000 { | ||
clock-frequency = <166666667>; | ||
status = "okay"; | ||
}; | ||
|
||
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"; | ||
}; | ||
}; | ||
}; | ||
|
||
i2c@11000 { | ||
status = "okay"; | ||
|
||
eeprom@50 { | ||
compatible = "at,24c04"; | ||
pagesize = <16>; | ||
reg = <0x50>; | ||
}; | ||
}; | ||
}; | ||
|
||
gpio_keys { | ||
compatible = "gpio-keys"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
button@1 { | ||
label = "Power push button"; | ||
linux,code = <116>; | ||
gpios = <&gpio1 0 0>; | ||
}; | ||
}; | ||
|
||
gpio-leds { | ||
compatible = "gpio-leds"; | ||
|
||
red-fail { | ||
label = "ns2:red:fail"; | ||
gpios = <&gpio0 12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/dts-v1/; | ||
|
||
/include/ "kirkwood-ns2-common.dtsi" | ||
|
||
/ { | ||
model = "LaCie Network Space v2"; | ||
compatible = "lacie,netspace_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x10000000>; | ||
}; | ||
|
||
ocp@f1000000 { | ||
sata@80000 { | ||
status = "okay"; | ||
nr-ports = <1>; | ||
}; | ||
}; | ||
|
||
ns2-leds { | ||
compatible = "lacie,ns2-leds"; | ||
|
||
blue-sata { | ||
label = "ns2:blue:sata"; | ||
slow-gpio = <&gpio0 29 0>; | ||
cmd-gpio = <&gpio0 30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/dts-v1/; | ||
|
||
/include/ "kirkwood-ns2-common.dtsi" | ||
|
||
/ { | ||
model = "LaCie Network Space Lite v2"; | ||
compatible = "lacie,netspace_lite_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x8000000>; | ||
}; | ||
|
||
ocp@f1000000 { | ||
sata@80000 { | ||
status = "okay"; | ||
nr-ports = <1>; | ||
}; | ||
}; | ||
|
||
gpio-leds { | ||
compatible = "gpio-leds"; | ||
|
||
blue-sata { | ||
label = "ns2:blue:sata"; | ||
gpios = <&gpio0 30 1>; | ||
linux,default-trigger = "default-on"; | ||
}; | ||
}; | ||
}; |
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,49 @@ | ||
/dts-v1/; | ||
|
||
/include/ "kirkwood-ns2-common.dtsi" | ||
|
||
/ { | ||
model = "LaCie Network Space Max v2"; | ||
compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x10000000>; | ||
}; | ||
|
||
ocp@f1000000 { | ||
sata@80000 { | ||
status = "okay"; | ||
nr-ports = <2>; | ||
}; | ||
}; | ||
|
||
gpio_fan { | ||
compatible = "gpio-fan"; | ||
gpios = <&gpio0 22 1 | ||
&gpio0 7 1 | ||
&gpio1 1 1 | ||
&gpio0 23 1>; | ||
gpio-fan,speed-map = | ||
< 0 0 | ||
1500 15 | ||
1700 14 | ||
1800 13 | ||
2100 12 | ||
3100 11 | ||
3300 10 | ||
4300 9 | ||
5500 8>; | ||
alarm-gpios = <&gpio0 25 1>; | ||
}; | ||
|
||
ns2-leds { | ||
compatible = "lacie,ns2-leds"; | ||
|
||
blue-sata { | ||
label = "ns2:blue:sata"; | ||
slow-gpio = <&gpio0 29 0>; | ||
cmd-gpio = <&gpio0 30 0>; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.