Skip to content

Commit

Permalink
ARM: dts: Add support for OX820 and Pogoplug V3
Browse files Browse the repository at this point in the history
Add device tree for the Oxford Seminconductor OX820 SoC and the
Cloud Engines PogoPlug v3 board.
Add the SoC and board compatible strings to oxnas bindings.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
  • Loading branch information
Neil Armstrong committed Nov 4, 2016
1 parent 1001354 commit 38d4a53
Show file tree
Hide file tree
Showing 4 changed files with 397 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/arm/oxnas.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ Boards with the OX810SE SoC shall have the following properties:
Required root node property:
compatible: "oxsemi,ox810se"

Boards with the OX820 SoC shall have the following properties:
Required root node property:
compatible: "oxsemi,ox820"

Board compatible values:
- "wd,mbwe" (OX810SE)
- "cloudengines,pogoplugv3" (OX820)
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
dtb-$(CONFIG_ARCH_PRIMA2) += \
prima2-evb.dtb
dtb-$(CONFIG_ARCH_OXNAS) += \
wd-mbwe.dtb
wd-mbwe.dtb \
cloudengines-pogoplug-series-3.dtb
dtb-$(CONFIG_ARCH_QCOM) += \
qcom-apq8060-dragonboard.dtb \
qcom-apq8064-arrow-sd-600eval.dtb \
Expand Down
94 changes: 94 additions & 0 deletions arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/*
* cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
*
* Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
*
* Licensed under GPLv2 or later
*/

/dts-v1/;
#include "ox820.dtsi"

/ {
model = "Cloud Engines PogoPlug Series 3";

compatible = "cloudengines,pogoplugv3", "oxsemi,ox820";

chosen {
bootargs = "earlyprintk";
stdout-path = "serial0:115200n8";
};

memory {
/* 128Mbytes DDR */
reg = <0x60000000 0x8000000>;
};

aliases {
serial0 = &uart0;
gpio0 = &gpio0;
gpio1 = &gpio1;
};

leds {
compatible = "gpio-leds";

blue {
label = "pogoplug:blue";
gpios = <&gpio0 2 0>;
default-state = "keep";
};

orange {
label = "pogoplug:orange";
gpios = <&gpio1 16 1>;
default-state = "keep";
};

green {
label = "pogoplug:green";
gpios = <&gpio1 17 1>;
default-state = "keep";
};
};
};

&uart0 {
status = "okay";

pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart0>;
};

&nandc {
status = "okay";

pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand>;

nand@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
nand-ecc-mode = "soft";
nand-ecc-algo = "hamming";

partition@0 {
label = "boot";
reg = <0x00000000 0x00e00000>;
read-only;
};

partition@e00000 {
label = "ubi";
reg = <0x00e00000 0x07200000>;
};
};
};

&etha {
status = "okay";

pinctrl-names = "default";
pinctrl-0 = <&pinctrl_etha_mdio>;
};
Loading

0 comments on commit 38d4a53

Please sign in to comment.