mvebu dt changes for v3.13
- mvebu - add MSI - new compatible string for mv64xxx-i2c - dove - use the pre-processor - define the MBus nodes - add PCIe controllers - add Globalscale D3Plug - relocate internal registers nodes -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAABAgAGBQJSSaTkAAoJEAi3KVZQDZAeYvgH/iNIksOjc47pf3KDYZLtR2iP 8XYEC3LoxEA6fGJGzJ8AgdWt/V7dq9SRIXE/GxuDCKu/lNzuiBsnigkN9kguSKyA KqJ7e3n28+3GrTficPyRre24rYwpPKTmlWhrZ4F+TyH42bN4C+TzoW53pNW5MFyv 1FGsUNj2QlzZGcv4CB9JfCWbcgJj2ApB99CB79cd8plrtxj4b1DZ22vxy2sXlSqd AWMD8kuEaN5zcqpV98znYOEH2RzTnS3XGzG6wrgiulPcsjrLulCDVoMcCkk2jGb8 YaIulucrtvrUQyIcKeB0AvHytcRxsu2N4D6ZtZsJbithgr3tWEusq/fiW22ko68= =yW5l -----END PGP SIGNATURE----- Merge tag 'dt-3.13' of git://git.infradead.org/linux-mvebu into next/dt From Jason Cooper: mvebu dt changes for v3.13 - mvebu - add MSI - new compatible string for mv64xxx-i2c - dove - use the pre-processor - define the MBus nodes - add PCIe controllers - add Globalscale D3Plug - relocate internal registers nodes * tag 'dt-3.13' of git://git.infradead.org/linux-mvebu: ARM: dove: add initial DT file for Globalscale D3Plug ARM: dove: add PCIe controllers to SoC DT ARM: dove: relocate internal registers device nodes ARM: dove: add MBus DT node ARM: dove: add MBUS_ID macro to Dove DT ARM: dove: use preprocessor on device tree files ARM: mvebu: link PCIe controllers to the MSI controller ARM: mvebu: the MPIC now provides MSI controller features ARM: dts: mvebu: Update with the new compatible string for mv64xxx-i2c Signed-off-by: Kevin Hilman <khilman@linaro.org>
This commit is contained in:
commit
3197e4a123
13 changed files with 649 additions and 455 deletions
|
@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
|
||||||
dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
|
dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
|
||||||
dove-cubox.dtb \
|
dove-cubox.dtb \
|
||||||
dove-d2plug.dtb \
|
dove-d2plug.dtb \
|
||||||
|
dove-d3plug.dtb \
|
||||||
dove-dove-db.dtb
|
dove-dove-db.dtb
|
||||||
dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
|
dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
|
||||||
exynos4210-smdkv310.dtb \
|
exynos4210-smdkv310.dtb \
|
||||||
|
|
|
@ -113,6 +113,7 @@
|
||||||
#interrupt-cells = <1>;
|
#interrupt-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
|
msi-controller;
|
||||||
};
|
};
|
||||||
|
|
||||||
coherency-fabric@20200 {
|
coherency-fabric@20200 {
|
||||||
|
@ -176,7 +177,6 @@
|
||||||
|
|
||||||
i2c0: i2c@11000 {
|
i2c0: i2c@11000 {
|
||||||
compatible = "marvell,mv64xxx-i2c";
|
compatible = "marvell,mv64xxx-i2c";
|
||||||
reg = <0x11000 0x20>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
interrupts = <31>;
|
interrupts = <31>;
|
||||||
|
@ -187,7 +187,6 @@
|
||||||
|
|
||||||
i2c1: i2c@11100 {
|
i2c1: i2c@11100 {
|
||||||
compatible = "marvell,mv64xxx-i2c";
|
compatible = "marvell,mv64xxx-i2c";
|
||||||
reg = <0x11100 0x20>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
interrupts = <32>;
|
interrupts = <32>;
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
|
||||||
|
msi-parent = <&mpic>;
|
||||||
bus-range = <0x00 0xff>;
|
bus-range = <0x00 0xff>;
|
||||||
|
|
||||||
ranges =
|
ranges =
|
||||||
|
@ -218,6 +219,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c0: i2c@11000 {
|
||||||
|
reg = <0x11000 0x20>;
|
||||||
|
};
|
||||||
|
|
||||||
|
i2c1: i2c@11100 {
|
||||||
|
reg = <0x11100 0x20>;
|
||||||
|
};
|
||||||
|
|
||||||
usb@50000 {
|
usb@50000 {
|
||||||
clocks = <&coreclk 0>;
|
clocks = <&coreclk 0>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
|
||||||
|
msi-parent = <&mpic>;
|
||||||
bus-range = <0x00 0xff>;
|
bus-range = <0x00 0xff>;
|
||||||
|
|
||||||
ranges =
|
ranges =
|
||||||
|
|
|
@ -58,6 +58,7 @@
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
|
||||||
|
msi-parent = <&mpic>;
|
||||||
bus-range = <0x00 0xff>;
|
bus-range = <0x00 0xff>;
|
||||||
|
|
||||||
ranges =
|
ranges =
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
|
||||||
|
msi-parent = <&mpic>;
|
||||||
bus-range = <0x00 0xff>;
|
bus-range = <0x00 0xff>;
|
||||||
|
|
||||||
ranges =
|
ranges =
|
||||||
|
|
|
@ -145,6 +145,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c0: i2c@11000 {
|
||||||
|
compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
|
||||||
|
reg = <0x11000 0x100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
i2c1: i2c@11100 {
|
||||||
|
compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
|
||||||
|
reg = <0x11100 0x100>;
|
||||||
|
};
|
||||||
|
|
||||||
usb@50000 {
|
usb@50000 {
|
||||||
clocks = <&gateclk 18>;
|
clocks = <&gateclk 18>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "dove.dtsi"
|
#include "dove.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Compulab CM-A510";
|
model = "Compulab CM-A510";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "dove.dtsi"
|
#include "dove.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "SolidRun CuBox";
|
model = "SolidRun CuBox";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "dove.dtsi"
|
#include "dove.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Globalscale D2Plug";
|
model = "Globalscale D2Plug";
|
||||||
|
|
103
arch/arm/boot/dts/dove-d3plug.dts
Normal file
103
arch/arm/boot/dts/dove-d3plug.dts
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
#include "dove.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Globalscale D3Plug";
|
||||||
|
compatible = "globalscale,d3plug", "marvell,dove";
|
||||||
|
|
||||||
|
memory {
|
||||||
|
device_type = "memory";
|
||||||
|
reg = <0x00000000 0x40000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/mmcblk0p2 rw rootwait";
|
||||||
|
};
|
||||||
|
|
||||||
|
leds {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
wlan-act {
|
||||||
|
label = "wlan-act";
|
||||||
|
gpios = <&gpio0 0 1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
wlan-ap {
|
||||||
|
label = "wlan-ap";
|
||||||
|
gpios = <&gpio0 1 1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
status {
|
||||||
|
label = "status";
|
||||||
|
gpios = <&gpio0 2 1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
regulators {
|
||||||
|
compatible = "simple-bus";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
usb_power: regulator@1 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <1>;
|
||||||
|
regulator-name = "USB Power";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
enable-active-high;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
gpio = <&gpio0 8 0>;
|
||||||
|
pinctrl-0 = <&pmx_gpio_8>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart0 { status = "okay"; };
|
||||||
|
&sata0 { status = "okay"; };
|
||||||
|
&i2c0 { status = "okay"; };
|
||||||
|
|
||||||
|
/* Samsung M8G2F eMMC */
|
||||||
|
&sdio0 {
|
||||||
|
status = "okay";
|
||||||
|
non-removable;
|
||||||
|
bus-width = <4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Marvell SD8787 WLAN/BT */
|
||||||
|
&sdio1 {
|
||||||
|
status = "okay";
|
||||||
|
non-removable;
|
||||||
|
};
|
||||||
|
|
||||||
|
&spi0 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
/* spi0.0: 2M Flash Macronix MX25L1605D */
|
||||||
|
spi-flash@0 {
|
||||||
|
compatible = "st,m25l1605d";
|
||||||
|
spi-max-frequency = <86000000>;
|
||||||
|
reg = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&pcie {
|
||||||
|
status = "okay";
|
||||||
|
/* Fresco Logic USB3.0 xHCI controller */
|
||||||
|
pcie-port@0 {
|
||||||
|
status = "okay";
|
||||||
|
reset-gpios = <&gpio0 26 1>;
|
||||||
|
reset-delay-us = <20000>;
|
||||||
|
pinctrl-0 = <&pmx_camera_gpio>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
/* Mini-PCIe slot */
|
||||||
|
pcie-port@1 {
|
||||||
|
status = "okay";
|
||||||
|
reset-gpios = <&gpio0 25 1>;
|
||||||
|
};
|
||||||
|
};
|
|
@ -1,6 +1,6 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "dove.dtsi"
|
#include "dove.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Marvell DB-MV88AP510-BP Development Board";
|
model = "Marvell DB-MV88AP510-BP Development Board";
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue