[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1365461538-30702-8-git-send-email-gregory.clement@free-electrons.com>
Date: Tue, 9 Apr 2013 00:52:15 +0200
From: Gregory CLEMENT <gregory.clement@...e-electrons.com>
To: Jason Cooper <jason@...edaemon.net>, Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...e-electrons.com>
Cc: Grant Likely <grant.likely@...retlab.ca>,
Rob Herring <rob.herring@...xeda.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>,
linux-arm-kernel@...ts.infradead.org,
devicetree-discuss@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>, Olof Johansson <olof@...om.net>,
Nicolas Pitre <nico@...xnic.net>,
Lior Amsalem <alior@...vell.com>,
Maen Suleiman <maen@...vell.com>,
Tawfik Bayouk <tawfik@...vell.com>,
Shadi Ammouri <shadi@...vell.com>,
Eran Ben-Avi <benavi@...vell.com>,
Yehuda Yitschak <yehuday@...vell.com>,
Nadav Haklai <nadavh@...vell.com>,
Ike Pan <ike.pan@...onical.com>,
Chris Van Hoof <vanhoof@...onical.com>,
Dan Frazier <dann.frazier@...onical.com>,
Leif Lindholm <leif.lindholm@....com>,
Jon Masters <jcm@...hat.com>,
David Marlin <dmarlin@...hat.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
Subject: [PATCH v3 7/9] ARM: dts: mvebu: Convert all the mvebu files to use the range property
This conversion will allow to keep 32 bits addresses for the internal
registers whereas the memory of the system will be 64 bits.
Later it will also ease the move of the mvebu-mbus driver to the
device tree support.
Signed-off-by: Gregory CLEMENT <gregory.clement@...e-electrons.com>
---
arch/arm/boot/dts/armada-370-db.dts | 16 ++---
arch/arm/boot/dts/armada-370-mirabox.dts | 14 ++--
arch/arm/boot/dts/armada-370-rd.dts | 14 ++--
arch/arm/boot/dts/armada-370-xp.dtsi | 83 +++++++++++-----------
arch/arm/boot/dts/armada-370.dtsi | 49 ++++++-------
arch/arm/boot/dts/armada-xp-db.dts | 28 ++++----
arch/arm/boot/dts/armada-xp-gp.dts | 20 +++---
arch/arm/boot/dts/armada-xp-mv78230.dtsi | 10 +--
arch/arm/boot/dts/armada-xp-mv78260.dtsi | 18 ++---
arch/arm/boot/dts/armada-xp-mv78460.dtsi | 18 ++---
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 22 +++---
arch/arm/boot/dts/armada-xp.dtsi | 65 ++++++++---------
12 files changed, 180 insertions(+), 177 deletions(-)
diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
index e34b280..183901c 100644
--- a/arch/arm/boot/dts/armada-370-db.dts
+++ b/arch/arm/boot/dts/armada-370-db.dts
@@ -30,11 +30,11 @@
};
soc {
- serial@...12000 {
+ serial@...00 {
clock-frequency = <200000000>;
status = "okay";
};
- sata@...a0000 {
+ sata@...00 {
nr-ports = <2>;
status = "okay";
};
@@ -49,18 +49,18 @@
};
};
- ethernet@...70000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy0>;
phy-mode = "rgmii-id";
};
- ethernet@...74000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy1>;
phy-mode = "rgmii-id";
};
- mvsdio@...d4000 {
+ mvsdio@...00 {
pinctrl-0 = <&sdio_pins1>;
pinctrl-names = "default";
/*
@@ -75,15 +75,15 @@
/* No CD or WP GPIOs */
};
- usb@...50000 {
+ usb@...00 {
status = "okay";
};
- usb@...51000 {
+ usb@...00 {
status = "okay";
};
- spi0: spi@...10600 {
+ spi0: spi@...00 {
status = "okay";
spi-flash@0 {
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts
index 3234875..77dfec7 100644
--- a/arch/arm/boot/dts/armada-370-mirabox.dts
+++ b/arch/arm/boot/dts/armada-370-mirabox.dts
@@ -25,11 +25,11 @@
};
soc {
- serial@...12000 {
+ serial@...00 {
clock-frequency = <200000000>;
status = "okay";
};
- timer@...20300 {
+ timer@...00 {
clock-frequency = <600000000>;
status = "okay";
};
@@ -42,18 +42,18 @@
reg = <1>;
};
};
- ethernet@...70000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy0>;
phy-mode = "rgmii-id";
};
- ethernet@...74000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy1>;
phy-mode = "rgmii-id";
};
- mvsdio@...d4000 {
+ mvsdio@...00 {
pinctrl-0 = <&sdio_pins3>;
pinctrl-names = "default";
status = "okay";
@@ -63,11 +63,11 @@
*/
};
- usb@...50000 {
+ usb@...00 {
status = "okay";
};
- usb@...51000 {
+ usb@...00 {
status = "okay";
};
};
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index 070bba4..be209020 100644
--- a/arch/arm/boot/dts/armada-370-rd.dts
+++ b/arch/arm/boot/dts/armada-370-rd.dts
@@ -28,11 +28,11 @@
};
soc {
- serial@...12000 {
+ serial@...00 {
clock-frequency = <200000000>;
status = "okay";
};
- sata@...a0000 {
+ sata@...00 {
nr-ports = <2>;
status = "okay";
};
@@ -47,29 +47,29 @@
};
};
- ethernet@...70000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy0>;
phy-mode = "sgmii";
};
- ethernet@...74000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy1>;
phy-mode = "rgmii-id";
};
- mvsdio@...d4000 {
+ mvsdio@...00 {
pinctrl-0 = <&sdio_pins1>;
pinctrl-names = "default";
status = "okay";
/* No CD or WP GPIOs */
};
- usb@...50000 {
+ usb@...00 {
status = "okay";
};
- usb@...51000 {
+ usb@...00 {
status = "okay";
};
};
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index bd26c48..1874655 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -28,59 +28,60 @@
};
};
+
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
interrupt-parent = <&mpic>;
- ranges;
+ ranges = <0 0xd0000000 0x100000>;
- mpic: interrupt-controller@...20000 {
- compatible = "marvell,mpic";
- #interrupt-cells = <1>;
- #size-cells = <1>;
- interrupt-controller;
+ mpic: interrupt-controller@...00 {
+ compatible = "marvell,mpic";
+ #interrupt-cells = <1>;
+ #size-cells = <1>;
+ interrupt-controller;
};
- coherency-fabric@...20200 {
- compatible = "marvell,coherency-fabric";
- reg = <0xd0020200 0xb0>,
- <0xd0021810 0x1c>;
+ coherency-fabric@...00 {
+ compatible = "marvell,coherency-fabric";
+ reg = <0x20200 0xb0>,
+ <0x21810 0x1c>;
};
- serial@...12000 {
+ serial@...00 {
compatible = "snps,dw-apb-uart";
- reg = <0xd0012000 0x100>;
+ reg = <0x12000 0x100>;
reg-shift = <2>;
interrupts = <41>;
reg-io-width = <1>;
status = "disabled";
};
- serial@...12100 {
+ serial@...00 {
compatible = "snps,dw-apb-uart";
- reg = <0xd0012100 0x100>;
+ reg = <0x12100 0x100>;
reg-shift = <2>;
interrupts = <42>;
reg-io-width = <1>;
status = "disabled";
};
- timer@...20300 {
+ timer@...00 {
compatible = "marvell,armada-370-xp-timer";
- reg = <0xd0020300 0x30>,
- <0xd0021040 0x30>;
+ reg = <0x20300 0x30>,
+ <0x21040 0x30>;
interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
clocks = <&coreclk 2>;
};
- addr-decoding@...20000 {
+ addr-decoding@...00 {
compatible = "marvell,armada-addr-decoding-controller";
- reg = <0xd0020000 0x258>;
+ reg = <0x20000 0x258>;
};
- sata@...a0000 {
+ sata@...00 {
compatible = "marvell,orion-sata";
- reg = <0xd00a0000 0x2400>;
+ reg = <0xa0000 0x2400>;
interrupts = <55>;
clocks = <&gateclk 15>, <&gateclk 30>;
clock-names = "0", "1";
@@ -91,28 +92,28 @@
#address-cells = <1>;
#size-cells = <0>;
compatible = "marvell,orion-mdio";
- reg = <0xd0072004 0x4>;
+ reg = <0x72004 0x4>;
};
- ethernet@...70000 {
+ ethernet@...00 {
compatible = "marvell,armada-370-neta";
- reg = <0xd0070000 0x2500>;
+ reg = <0x70000 0x2500>;
interrupts = <8>;
clocks = <&gateclk 4>;
status = "disabled";
};
- ethernet@...74000 {
+ ethernet@...00 {
compatible = "marvell,armada-370-neta";
- reg = <0xd0074000 0x2500>;
+ reg = <0x74000 0x2500>;
interrupts = <10>;
clocks = <&gateclk 3>;
status = "disabled";
};
- i2c0: i2c@...11000 {
+ i2c0: i2c@...00 {
compatible = "marvell,mv64xxx-i2c";
- reg = <0xd0011000 0x20>;
+ reg = <0x11000 0x20>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <31>;
@@ -121,9 +122,9 @@
status = "disabled";
};
- i2c1: i2c@...11100 {
+ i2c1: i2c@...00 {
compatible = "marvell,mv64xxx-i2c";
- reg = <0xd0011100 0x20>;
+ reg = <0x11100 0x20>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <32>;
@@ -134,35 +135,35 @@
rtc@...00 {
compatible = "marvell,orion-rtc";
- reg = <0xd0010300 0x20>;
+ reg = <0x10300 0x20>;
interrupts = <50>;
};
- mvsdio@...d4000 {
+ mvsdio@...00 {
compatible = "marvell,orion-sdio";
- reg = <0xd00d4000 0x200>;
+ reg = <0xd4000 0x200>;
interrupts = <54>;
clocks = <&gateclk 17>;
status = "disabled";
};
- usb@...50000 {
+ usb@...00 {
compatible = "marvell,orion-ehci";
- reg = <0xd0050000 0x500>;
+ reg = <0x50000 0x500>;
interrupts = <45>;
status = "disabled";
};
- usb@...51000 {
+ usb@...00 {
compatible = "marvell,orion-ehci";
- reg = <0xd0051000 0x500>;
+ reg = <0x51000 0x500>;
interrupts = <46>;
status = "disabled";
};
- spi0: spi@...10600 {
+ spi0: spi@...00 {
compatible = "marvell,orion-spi";
- reg = <0xd0010600 0x28>;
+ reg = <0x10600 0x28>;
#address-cells = <1>;
#size-cells = <0>;
cell-index = <0>;
@@ -171,9 +172,9 @@
status = "disabled";
};
- spi1: spi@...10680 {
+ spi1: spi@...80 {
compatible = "marvell,orion-spi";
- reg = <0xd0010680 0x28>;
+ reg = <0x10680 0x28>;
#address-cells = <1>;
#size-cells = <0>;
cell-index = <1>;
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 9bc092b..04a8004 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -28,14 +28,15 @@
};
soc {
- mpic: interrupt-controller@...20000 {
- reg = <0xd0020a00 0x1d0>,
- <0xd0021870 0x58>;
+
+ mpic: interrupt-controller@...00 {
+ reg = <0x20a00 0x1d0>,
+ <0x21870 0x58>;
};
- system-controller@...18200 {
+ system-controller@...00 {
compatible = "marvell,armada-370-xp-system-controller";
- reg = <0xd0018200 0x100>;
+ reg = <0x18200 0x100>;
};
L2: l2-cache {
@@ -47,7 +48,7 @@
pinctrl {
compatible = "marvell,mv88f6710-pinctrl";
- reg = <0xd0018000 0x38>;
+ reg = <0x18000 0x38>;
sdio_pins1: sdio-pins1 {
marvell,pins = "mpp9", "mpp11", "mpp12",
@@ -68,9 +69,9 @@
};
};
- gpio0: gpio@...18100 {
+ gpio0: gpio@...00 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018100 0x40>;
+ reg = <0x18100 0x40>;
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
@@ -79,9 +80,9 @@
interrupts = <82>, <83>, <84>, <85>;
};
- gpio1: gpio@...18140 {
+ gpio1: gpio@...40 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018140 0x40>;
+ reg = <0x18140 0x40>;
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
@@ -90,9 +91,9 @@
interrupts = <87>, <88>, <89>, <90>;
};
- gpio2: gpio@...18180 {
+ gpio2: gpio@...80 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018180 0x40>;
+ reg = <0x18180 0x40>;
ngpios = <2>;
gpio-controller;
#gpio-cells = <2>;
@@ -101,23 +102,23 @@
interrupts = <91>;
};
- coreclk: mvebu-sar@...18230 {
+ coreclk: mvebu-sar@...30 {
compatible = "marvell,armada-370-core-clock";
- reg = <0xd0018230 0x08>;
+ reg = <0x18230 0x08>;
#clock-cells = <1>;
};
- gateclk: clock-gating-control@...18220 {
+ gateclk: clock-gating-control@...20 {
compatible = "marvell,armada-370-gating-clock";
- reg = <0xd0018220 0x4>;
+ reg = <0x18220 0x4>;
clocks = <&coreclk 0>;
#clock-cells = <1>;
};
- xor@...60800 {
+ xor@...00 {
compatible = "marvell,orion-xor";
- reg = <0xd0060800 0x100
- 0xd0060A00 0x100>;
+ reg = <0x60800 0x100
+ 0x60A00 0x100>;
status = "okay";
xor00 {
@@ -133,10 +134,10 @@
};
};
- xor@...60900 {
+ xor@...00 {
compatible = "marvell,orion-xor";
- reg = <0xd0060900 0x100
- 0xd0060b00 0x100>;
+ reg = <0x60900 0x100
+ 0x60b00 0x100>;
status = "okay";
xor10 {
@@ -152,11 +153,11 @@
};
};
- usb@...50000 {
+ usb@...00 {
clocks = <&coreclk 0>;
};
- usb@...51000 {
+ usb@...00 {
clocks = <&coreclk 0>;
};
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index e83505e..5e2b595 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -30,24 +30,24 @@
};
soc {
- serial@...12000 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- serial@...12100 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- serial@...12200 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- serial@...12300 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- sata@...a0000 {
+ sata@...00 {
nr-ports = <2>;
status = "okay";
};
@@ -70,47 +70,47 @@
};
};
- ethernet@...70000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy0>;
phy-mode = "rgmii-id";
};
- ethernet@...74000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy1>;
phy-mode = "rgmii-id";
};
- ethernet@...30000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy2>;
phy-mode = "sgmii";
};
- ethernet@...34000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy3>;
phy-mode = "sgmii";
};
- mvsdio@...d4000 {
+ mvsdio@...00 {
pinctrl-0 = <&sdio_pins>;
pinctrl-names = "default";
status = "okay";
/* No CD or WP GPIOs */
};
- usb@...50000 {
+ usb@...00 {
status = "okay";
};
- usb@...51000 {
+ usb@...00 {
status = "okay";
};
- usb@...52000 {
+ usb@...00 {
status = "okay";
};
- spi0: spi@...10600 {
+ spi0: spi@...00 {
status = "okay";
spi-flash@0 {
diff --git a/arch/arm/boot/dts/armada-xp-gp.dts b/arch/arm/boot/dts/armada-xp-gp.dts
index 1c8afe2..12b98d3 100644
--- a/arch/arm/boot/dts/armada-xp-gp.dts
+++ b/arch/arm/boot/dts/armada-xp-gp.dts
@@ -37,24 +37,24 @@
};
soc {
- serial@...12000 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- serial@...12100 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- serial@...12200 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- serial@...12300 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- sata@...a0000 {
+ sata@...00 {
nr-ports = <2>;
status = "okay";
};
@@ -77,28 +77,28 @@
};
};
- ethernet@...70000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy0>;
phy-mode = "rgmii-id";
};
- ethernet@...74000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy1>;
phy-mode = "rgmii-id";
};
- ethernet@...30000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy2>;
phy-mode = "rgmii-id";
};
- ethernet@...34000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy3>;
phy-mode = "rgmii-id";
};
- spi0: spi@...10600 {
+ spi0: spi@...00 {
status = "okay";
spi-flash@0 {
diff --git a/arch/arm/boot/dts/armada-xp-mv78230.dtsi b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
index 50180eb..757fd42 100644
--- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
@@ -46,7 +46,7 @@
soc {
pinctrl {
compatible = "marvell,mv78230-pinctrl";
- reg = <0xd0018000 0x38>;
+ reg = <0x18000 0x38>;
sdio_pins: sdio-pins {
marvell,pins = "mpp30", "mpp31", "mpp32",
@@ -55,9 +55,9 @@
};
};
- gpio0: gpio@...18100 {
+ gpio0: gpio@...00 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018100 0x40>;
+ reg = <0x18100 0x40>;
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
@@ -66,9 +66,9 @@
interrupts = <82>, <83>, <84>, <85>;
};
- gpio1: gpio@...18140 {
+ gpio1: gpio@...40 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018140 0x40>;
+ reg = <0x18140 0x40>;
ngpios = <17>;
gpio-controller;
#gpio-cells = <2>;
diff --git a/arch/arm/boot/dts/armada-xp-mv78260.dtsi b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
index 3c433d5..2b572ab 100644
--- a/arch/arm/boot/dts/armada-xp-mv78260.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
@@ -47,7 +47,7 @@
soc {
pinctrl {
compatible = "marvell,mv78260-pinctrl";
- reg = <0xd0018000 0x38>;
+ reg = <0x18000 0x38>;
sdio_pins: sdio-pins {
marvell,pins = "mpp30", "mpp31", "mpp32",
@@ -56,9 +56,9 @@
};
};
- gpio0: gpio@...18100 {
+ gpio0: gpio@...00 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018100 0x40>;
+ reg = <0x18100 0x40>;
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
@@ -67,9 +67,9 @@
interrupts = <82>, <83>, <84>, <85>;
};
- gpio1: gpio@...18140 {
+ gpio1: gpio@...40 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018140 0x40>;
+ reg = <0x18140 0x40>;
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
@@ -78,9 +78,9 @@
interrupts = <87>, <88>, <89>, <90>;
};
- gpio2: gpio@...18180 {
+ gpio2: gpio@...80 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018180 0x40>;
+ reg = <0x18180 0x40>;
ngpios = <3>;
gpio-controller;
#gpio-cells = <2>;
@@ -89,9 +89,9 @@
interrupts = <91>;
};
- ethernet@...34000 {
+ ethernet@...00 {
compatible = "marvell,armada-370-neta";
- reg = <0xd0034000 0x2500>;
+ reg = <0x34000 0x2500>;
interrupts = <14>;
clocks = <&gateclk 1>;
status = "disabled";
diff --git a/arch/arm/boot/dts/armada-xp-mv78460.dtsi b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
index 4c38e942..79a121f 100644
--- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
@@ -62,7 +62,7 @@
soc {
pinctrl {
compatible = "marvell,mv78460-pinctrl";
- reg = <0xd0018000 0x38>;
+ reg = <0x18000 0x38>;
sdio_pins: sdio-pins {
marvell,pins = "mpp30", "mpp31", "mpp32",
@@ -71,9 +71,9 @@
};
};
- gpio0: gpio@...18100 {
+ gpio0: gpio@...00 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018100 0x40>;
+ reg = <0x18100 0x40>;
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
@@ -82,9 +82,9 @@
interrupts = <82>, <83>, <84>, <85>;
};
- gpio1: gpio@...18140 {
+ gpio1: gpio@...40 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018140 0x40>;
+ reg = <0x18140 0x40>;
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
@@ -93,9 +93,9 @@
interrupts = <87>, <88>, <89>, <90>;
};
- gpio2: gpio@...18180 {
+ gpio2: gpio@...80 {
compatible = "marvell,orion-gpio";
- reg = <0xd0018180 0x40>;
+ reg = <0x18180 0x40>;
ngpios = <3>;
gpio-controller;
#gpio-cells = <2>;
@@ -104,9 +104,9 @@
interrupts = <91>;
};
- ethernet@...34000 {
+ ethernet@...00 {
compatible = "marvell,armada-370-neta";
- reg = <0xd0034000 0x2500>;
+ reg = <0x34000 0x2500>;
interrupts = <14>;
clocks = <&gateclk 1>;
status = "disabled";
diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
index 3818a82..a7bade4 100644
--- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
+++ b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
@@ -27,11 +27,11 @@
};
soc {
- serial@...12000 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
- serial@...12100 {
+ serial@...00 {
clock-frequency = <250000000>;
status = "okay";
};
@@ -96,31 +96,31 @@
};
};
- ethernet@...70000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy0>;
phy-mode = "sgmii";
};
- ethernet@...74000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy1>;
phy-mode = "sgmii";
};
- ethernet@...30000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy2>;
phy-mode = "sgmii";
};
- ethernet@...34000 {
+ ethernet@...00 {
status = "okay";
phy = <&phy3>;
phy-mode = "sgmii";
};
- i2c@...11000 {
+ i2c@...00 {
status = "okay";
clock-frequency = <400000>;
};
- i2c@...11100 {
+ i2c@...00 {
status = "okay";
clock-frequency = <400000>;
@@ -129,14 +129,14 @@
reg = <0x30>;
};
};
- sata@...a0000 {
+ sata@...00 {
nr-ports = <2>;
status = "okay";
};
- usb@...50000 {
+ usb@...00 {
status = "okay";
};
- usb@...51000 {
+ usb@...00 {
status = "okay";
};
};
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index e644cc5..6ca6b7a 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -22,83 +22,84 @@
model = "Marvell Armada XP family SoC";
compatible = "marvell,armadaxp", "marvell,armada-370-xp";
+
soc {
L2: l2-cache {
compatible = "marvell,aurora-system-cache";
- reg = <0xd0008000 0x1000>;
+ reg = <0x08000 0x1000>;
cache-id-part = <0x100>;
wt-override;
};
- mpic: interrupt-controller@...20000 {
- reg = <0xd0020a00 0x2d0>,
- <0xd0021070 0x58>;
+ mpic: interrupt-controller@...00 {
+ reg = <0x20a00 0x2d0>,
+ <0x21070 0x58>;
};
- armada-370-xp-pmsu@...22000 {
+ armada-370-xp-pmsu@...00 {
compatible = "marvell,armada-370-xp-pmsu";
- reg = <0xd0022100 0x430>,
- <0xd0020800 0x20>;
+ reg = <0x22100 0x430>,
+ <0x20800 0x20>;
};
- serial@...12200 {
+ serial@...00 {
compatible = "snps,dw-apb-uart";
- reg = <0xd0012200 0x100>;
+ reg = <0x12200 0x100>;
reg-shift = <2>;
interrupts = <43>;
reg-io-width = <1>;
status = "disabled";
};
- serial@...12300 {
+ serial@...00 {
compatible = "snps,dw-apb-uart";
- reg = <0xd0012300 0x100>;
+ reg = <0x12300 0x100>;
reg-shift = <2>;
interrupts = <44>;
reg-io-width = <1>;
status = "disabled";
};
- timer@...20300 {
+ timer@...00 {
marvell,timer-25Mhz;
};
- coreclk: mvebu-sar@...18230 {
+ coreclk: mvebu-sar@...30 {
compatible = "marvell,armada-xp-core-clock";
- reg = <0xd0018230 0x08>;
+ reg = <0x18230 0x08>;
#clock-cells = <1>;
};
- cpuclk: clock-complex@...18700 {
+ cpuclk: clock-complex@...00 {
#clock-cells = <1>;
compatible = "marvell,armada-xp-cpu-clock";
- reg = <0xd0018700 0xA0>;
+ reg = <0x18700 0xA0>;
clocks = <&coreclk 1>;
};
- gateclk: clock-gating-control@...18220 {
+ gateclk: clock-gating-control@...20 {
compatible = "marvell,armada-xp-gating-clock";
- reg = <0xd0018220 0x4>;
+ reg = <0x18220 0x4>;
clocks = <&coreclk 0>;
#clock-cells = <1>;
};
- system-controller@...18200 {
+ system-controller@...00 {
compatible = "marvell,armada-370-xp-system-controller";
- reg = <0xd0018200 0x500>;
+ reg = <0x18200 0x500>;
};
- ethernet@...30000 {
+ ethernet@...00 {
compatible = "marvell,armada-370-neta";
- reg = <0xd0030000 0x2500>;
+ reg = <0x30000 0x2500>;
interrupts = <12>;
clocks = <&gateclk 2>;
status = "disabled";
};
- xor@...60900 {
+ xor@...00 {
compatible = "marvell,orion-xor";
- reg = <0xd0060900 0x100
- 0xd0060b00 0x100>;
+ reg = <0x60900 0x100
+ 0x60b00 0x100>;
clocks = <&gateclk 22>;
status = "okay";
@@ -115,10 +116,10 @@
};
};
- xor@...f0900 {
+ xor@...00 {
compatible = "marvell,orion-xor";
- reg = <0xd00F0900 0x100
- 0xd00F0B00 0x100>;
+ reg = <0xF0900 0x100
+ 0xF0B00 0x100>;
clocks = <&gateclk 28>;
status = "okay";
@@ -135,17 +136,17 @@
};
};
- usb@...50000 {
+ usb@...00 {
clocks = <&gateclk 18>;
};
- usb@...51000 {
+ usb@...00 {
clocks = <&gateclk 19>;
};
- usb@...52000 {
+ usb@...00 {
compatible = "marvell,orion-ehci";
- reg = <0xd0052000 0x500>;
+ reg = <0x52000 0x500>;
interrupts = <47>;
clocks = <&gateclk 20>;
status = "disabled";
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists