dcc34574ef
Reboot the oxnas target based on Linux 4.14 by rebasing our support on top of the now-existing upstream kernel support. This commit brings oxnas support to the level of v4.17 having upstream drivers for Ethernet, Serial and NAND flash. Botch up OpenWrt's local drivers for EHCI, SATA and PCIe based on the new platform code and device-tree. Re-introduce base-files from old oxnas target which works for now but needs further clean-up towards generic board support. Functional issues: * PCIe won't come up (hence no USB3 on Shuttle KD20) * I2C bus of Akitio myCloud device is likely not to work (missing debounce support in new pinctrl driver) Code-style issues: * plla/pllb needs further cleanup -- currently their users or writing into the syscon regmap after acquireling the clk instead of using defined clk_*_*() functions to setup multipliers and dividors. * PCIe phy needs its own little driver. * SATA driver is a monster and should be split into an mfd having a raidctrl regmap, sata controller, sata ports and sata phy. Tested on MitraStar STG-212 aka. Medion Akoya MD86xxx and Shuttle KD20. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
98 lines
1.5 KiB
Text
98 lines
1.5 KiB
Text
/*
|
|
* 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 Pro";
|
|
|
|
compatible = "cloudengines,pogoplugpro", "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>;
|
|
};
|
|
};
|
|
};
|
|
|
|
ða {
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_etha_mdio>;
|
|
};
|
|
|
|
&pcie0 {
|
|
status = "okay";
|
|
};
|