mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 20:14:25 +08:00
abe60a3a7a
Remove the usage of skeleton.dtsi in the remaining dts files. It was
deprecated since commit 9c0da3cc61
("ARM: dts: explicitly mark
skeleton.dtsi as deprecated"). This will make adding a unit-address to
memory nodes easier.
The main tricky part to removing skeleton.dtsi is we could end up with
no /memory node at all when a bootloader depends on one being present. I
hacked up dtc to check for this condition.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
179 lines
3.3 KiB
Plaintext
179 lines
3.3 KiB
Plaintext
/*
|
|
* Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include "orion5x-mv88f5182.dtsi"
|
|
|
|
/ {
|
|
model = "Marvell Reference Design 88F5182 NAS";
|
|
compatible = "marvell,rd-88f5182-nas", "marvell,orion5x-88f5182", "marvell,orion5x";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x4000000>; /* 64 MB */
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
stdout-path = &uart0;
|
|
};
|
|
|
|
soc {
|
|
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>,
|
|
<MBUS_ID(0x09, 0x00) 0 0xf2200000 0x800>,
|
|
<MBUS_ID(0x01, 0x0f) 0 0xf4000000 0x80000>,
|
|
<MBUS_ID(0x01, 0x1d) 0 0xfc000000 0x1000000>;
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-0 = <&pmx_debug_led>;
|
|
pinctrl-names = "default";
|
|
|
|
led@0 {
|
|
label = "rd88f5182:cpu";
|
|
linux,default-trigger = "heartbeat";
|
|
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&devbus_bootcs {
|
|
status = "okay";
|
|
|
|
/* Read parameters */
|
|
devbus,bus-width = <8>;
|
|
devbus,turn-off-ps = <90000>;
|
|
devbus,badr-skew-ps = <0>;
|
|
devbus,acc-first-ps = <186000>;
|
|
devbus,acc-next-ps = <186000>;
|
|
|
|
/* Write parameters */
|
|
devbus,wr-high-ps = <90000>;
|
|
devbus,wr-low-ps = <90000>;
|
|
devbus,ale-wr-ps = <90000>;
|
|
|
|
flash@0 {
|
|
compatible = "cfi-flash";
|
|
reg = <0 0x80000>;
|
|
bank-width = <1>;
|
|
};
|
|
};
|
|
|
|
&devbus_cs1 {
|
|
status = "okay";
|
|
|
|
/* Read parameters */
|
|
devbus,bus-width = <8>;
|
|
devbus,turn-off-ps = <90000>;
|
|
devbus,badr-skew-ps = <0>;
|
|
devbus,acc-first-ps = <186000>;
|
|
devbus,acc-next-ps = <186000>;
|
|
|
|
/* Write parameters */
|
|
devbus,wr-high-ps = <90000>;
|
|
devbus,wr-low-ps = <90000>;
|
|
devbus,ale-wr-ps = <90000>;
|
|
|
|
flash@0 {
|
|
compatible = "cfi-flash";
|
|
reg = <0 0x1000000>;
|
|
bank-width = <1>;
|
|
};
|
|
};
|
|
|
|
&ehci0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ehci1 {
|
|
status = "okay";
|
|
};
|
|
|
|
ð {
|
|
status = "okay";
|
|
|
|
ethernet-port@0 {
|
|
phy-handle = <ðphy>;
|
|
};
|
|
};
|
|
|
|
&i2c {
|
|
status = "okay";
|
|
clock-frequency = <100000>;
|
|
#address-cells = <1>;
|
|
|
|
rtc@68 {
|
|
pinctrl-0 = <&pmx_rtc>;
|
|
pinctrl-names = "default";
|
|
compatible = "dallas,ds1338";
|
|
reg = <0x68>;
|
|
};
|
|
};
|
|
|
|
&mdio {
|
|
status = "okay";
|
|
|
|
ethphy: ethernet-phy {
|
|
reg = <8>;
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
pinctrl-0 = <&pmx_reset_switch &pmx_misc_gpios
|
|
&pmx_pci_gpios>;
|
|
pinctrl-names = "default";
|
|
|
|
/*
|
|
* MPP[20] PCI Clock to MV88F5182
|
|
* MPP[21] PCI Clock to mini PCI CON11
|
|
* MPP[22] USB 0 over current indication
|
|
* MPP[23] USB 1 over current indication
|
|
* MPP[24] USB 1 over current enable
|
|
* MPP[25] USB 0 over current enable
|
|
*/
|
|
|
|
pmx_debug_led: pmx-debug_led {
|
|
marvell,pins = "mpp0";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_reset_switch: pmx-reset-switch {
|
|
marvell,pins = "mpp1";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_rtc: pmx-rtc {
|
|
marvell,pins = "mpp3";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_misc_gpios: pmx-misc-gpios {
|
|
marvell,pins = "mpp4", "mpp5";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_pci_gpios: pmx-pci-gpios {
|
|
marvell,pins = "mpp6", "mpp7";
|
|
marvell,function = "gpio";
|
|
};
|
|
};
|
|
|
|
&sata {
|
|
pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
nr-ports = <2>;
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|