|
@@ -45,7 +45,6 @@
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
*/
|
|
|
|
|
|
-#include "skeleton.dtsi"
|
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include <dt-bindings/phy/phy.h>
|
|
#include <dt-bindings/phy/phy.h>
|
|
@@ -53,6 +52,9 @@
|
|
#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
|
|
#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
|
|
|
|
|
|
/ {
|
|
/ {
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+
|
|
model = "Marvell Armada 375 family SoC";
|
|
model = "Marvell Armada 375 family SoC";
|
|
compatible = "marvell,armada375";
|
|
compatible = "marvell,armada375";
|
|
|
|
|
|
@@ -65,7 +67,7 @@
|
|
};
|
|
};
|
|
|
|
|
|
clocks {
|
|
clocks {
|
|
- /* 2 GHz fixed main PLL */
|
|
|
|
|
|
+ /* 1 GHz fixed main PLL */
|
|
mainpll: mainpll {
|
|
mainpll: mainpll {
|
|
compatible = "fixed-clock";
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
#clock-cells = <0>;
|
|
@@ -84,12 +86,12 @@
|
|
#size-cells = <0>;
|
|
#size-cells = <0>;
|
|
enable-method = "marvell,armada-375-smp";
|
|
enable-method = "marvell,armada-375-smp";
|
|
|
|
|
|
- cpu@0 {
|
|
|
|
|
|
+ cpu0: cpu@0 {
|
|
device_type = "cpu";
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <0>;
|
|
reg = <0>;
|
|
};
|
|
};
|
|
- cpu@1 {
|
|
|
|
|
|
+ cpu1: cpu@1 {
|
|
device_type = "cpu";
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <1>;
|
|
reg = <1>;
|
|
@@ -115,7 +117,7 @@
|
|
reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
|
|
reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
|
|
};
|
|
};
|
|
|
|
|
|
- devbus-bootcs {
|
|
|
|
|
|
+ devbus_bootcs: devbus-bootcs {
|
|
compatible = "marvell,mvebu-devbus";
|
|
compatible = "marvell,mvebu-devbus";
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
|
|
ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
|
|
ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
|
|
@@ -125,7 +127,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- devbus-cs0 {
|
|
|
|
|
|
+ devbus_cs0: devbus-cs0 {
|
|
compatible = "marvell,mvebu-devbus";
|
|
compatible = "marvell,mvebu-devbus";
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
|
|
ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
|
|
ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
|
|
@@ -135,7 +137,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- devbus-cs1 {
|
|
|
|
|
|
+ devbus_cs1: devbus-cs1 {
|
|
compatible = "marvell,mvebu-devbus";
|
|
compatible = "marvell,mvebu-devbus";
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
|
|
ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
|
|
ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
|
|
@@ -145,7 +147,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- devbus-cs2 {
|
|
|
|
|
|
+ devbus_cs2: devbus-cs2 {
|
|
compatible = "marvell,mvebu-devbus";
|
|
compatible = "marvell,mvebu-devbus";
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
|
|
ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
|
|
ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
|
|
@@ -155,7 +157,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- devbus-cs3 {
|
|
|
|
|
|
+ devbus_cs3: devbus-cs3 {
|
|
compatible = "marvell,mvebu-devbus";
|
|
compatible = "marvell,mvebu-devbus";
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
|
|
ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
|
|
ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
|
|
@@ -182,12 +184,12 @@
|
|
prefetch-data = <1>;
|
|
prefetch-data = <1>;
|
|
};
|
|
};
|
|
|
|
|
|
- scu@c000 {
|
|
|
|
|
|
+ scu: scu@c000 {
|
|
compatible = "arm,cortex-a9-scu";
|
|
compatible = "arm,cortex-a9-scu";
|
|
reg = <0xc000 0x58>;
|
|
reg = <0xc000 0x58>;
|
|
};
|
|
};
|
|
|
|
|
|
- timer@c600 {
|
|
|
|
|
|
+ timer0: timer@c600 {
|
|
compatible = "arm,cortex-a9-twd-timer";
|
|
compatible = "arm,cortex-a9-twd-timer";
|
|
reg = <0xc600 0x20>;
|
|
reg = <0xc600 0x20>;
|
|
interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
|
|
interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
|
|
@@ -203,7 +205,7 @@
|
|
<0xc100 0x100>;
|
|
<0xc100 0x100>;
|
|
};
|
|
};
|
|
|
|
|
|
- mdio {
|
|
|
|
|
|
+ mdio: mdio@c0054 {
|
|
#address-cells = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#size-cells = <0>;
|
|
compatible = "marvell,orion-mdio";
|
|
compatible = "marvell,orion-mdio";
|
|
@@ -212,7 +214,7 @@
|
|
};
|
|
};
|
|
|
|
|
|
/* Network controller */
|
|
/* Network controller */
|
|
- ethernet@f0000 {
|
|
|
|
|
|
+ ethernet: ethernet@f0000 {
|
|
compatible = "marvell,armada-375-pp2";
|
|
compatible = "marvell,armada-375-pp2";
|
|
reg = <0xf0000 0xa000>, /* Packet Processor regs */
|
|
reg = <0xf0000 0xa000>, /* Packet Processor regs */
|
|
<0xc0000 0x3060>, /* LMS regs */
|
|
<0xc0000 0x3060>, /* LMS regs */
|
|
@@ -222,20 +224,20 @@
|
|
clock-names = "pp_clk", "gop_clk";
|
|
clock-names = "pp_clk", "gop_clk";
|
|
status = "disabled";
|
|
status = "disabled";
|
|
|
|
|
|
- eth0: eth0@c4000 {
|
|
|
|
|
|
+ eth0: eth0 {
|
|
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
|
|
port-id = <0>;
|
|
port-id = <0>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- eth1: eth1@c5000 {
|
|
|
|
|
|
+ eth1: eth1 {
|
|
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
|
|
port-id = <1>;
|
|
port-id = <1>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
- rtc@10300 {
|
|
|
|
|
|
+ rtc: rtc@10300 {
|
|
compatible = "marvell,orion-rtc";
|
|
compatible = "marvell,orion-rtc";
|
|
reg = <0x10300 0x20>;
|
|
reg = <0x10300 0x20>;
|
|
interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -307,7 +309,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- pinctrl {
|
|
|
|
|
|
+ pinctrl: pinctrl@18000 {
|
|
compatible = "marvell,mv88f6720-pinctrl";
|
|
compatible = "marvell,mv88f6720-pinctrl";
|
|
reg = <0x18000 0x24>;
|
|
reg = <0x18000 0x24>;
|
|
|
|
|
|
@@ -382,7 +384,7 @@
|
|
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
};
|
|
|
|
|
|
- system-controller@18200 {
|
|
|
|
|
|
+ systemc: system-controller@18200 {
|
|
compatible = "marvell,armada-375-system-controller";
|
|
compatible = "marvell,armada-375-system-controller";
|
|
reg = <0x18200 0x100>;
|
|
reg = <0x18200 0x100>;
|
|
};
|
|
};
|
|
@@ -415,7 +417,7 @@
|
|
interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
};
|
|
|
|
|
|
- timer@20300 {
|
|
|
|
|
|
+ timer1: timer@20300 {
|
|
compatible = "marvell,armada-375-timer", "marvell,armada-370-timer";
|
|
compatible = "marvell,armada-375-timer", "marvell,armada-370-timer";
|
|
reg = <0x20300 0x30>, <0x21040 0x30>;
|
|
reg = <0x20300 0x30>, <0x21040 0x30>;
|
|
interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
|
|
interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
|
|
@@ -428,24 +430,24 @@
|
|
clock-names = "nbclk", "fixed";
|
|
clock-names = "nbclk", "fixed";
|
|
};
|
|
};
|
|
|
|
|
|
- watchdog@20300 {
|
|
|
|
|
|
+ watchdog: watchdog@20300 {
|
|
compatible = "marvell,armada-375-wdt";
|
|
compatible = "marvell,armada-375-wdt";
|
|
reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>;
|
|
reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>;
|
|
clocks = <&coreclk 0>, <&refclk>;
|
|
clocks = <&coreclk 0>, <&refclk>;
|
|
clock-names = "nbclk", "fixed";
|
|
clock-names = "nbclk", "fixed";
|
|
};
|
|
};
|
|
|
|
|
|
- cpurst@20800 {
|
|
|
|
|
|
+ cpurst: cpurst@20800 {
|
|
compatible = "marvell,armada-370-cpu-reset";
|
|
compatible = "marvell,armada-370-cpu-reset";
|
|
reg = <0x20800 0x10>;
|
|
reg = <0x20800 0x10>;
|
|
};
|
|
};
|
|
|
|
|
|
- coherency-fabric@21010 {
|
|
|
|
|
|
+ coherencyfab: coherency-fabric@21010 {
|
|
compatible = "marvell,armada-375-coherency-fabric";
|
|
compatible = "marvell,armada-375-coherency-fabric";
|
|
reg = <0x21010 0x1c>;
|
|
reg = <0x21010 0x1c>;
|
|
};
|
|
};
|
|
|
|
|
|
- usb@50000 {
|
|
|
|
|
|
+ usb0: usb@50000 {
|
|
compatible = "marvell,orion-ehci";
|
|
compatible = "marvell,orion-ehci";
|
|
reg = <0x50000 0x500>;
|
|
reg = <0x50000 0x500>;
|
|
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -455,7 +457,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- usb@54000 {
|
|
|
|
|
|
+ usb1: usb@54000 {
|
|
compatible = "marvell,orion-ehci";
|
|
compatible = "marvell,orion-ehci";
|
|
reg = <0x54000 0x500>;
|
|
reg = <0x54000 0x500>;
|
|
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -463,7 +465,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- usb3@58000 {
|
|
|
|
|
|
+ usb2: usb3@58000 {
|
|
compatible = "marvell,armada-375-xhci";
|
|
compatible = "marvell,armada-375-xhci";
|
|
reg = <0x58000 0x20000>,<0x5b880 0x80>;
|
|
reg = <0x58000 0x20000>,<0x5b880 0x80>;
|
|
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -473,7 +475,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- xor@60800 {
|
|
|
|
|
|
+ xor0: xor@60800 {
|
|
compatible = "marvell,orion-xor";
|
|
compatible = "marvell,orion-xor";
|
|
reg = <0x60800 0x100
|
|
reg = <0x60800 0x100
|
|
0x60A00 0x100>;
|
|
0x60A00 0x100>;
|
|
@@ -493,7 +495,7 @@
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
- xor@60900 {
|
|
|
|
|
|
+ xor1: xor@60900 {
|
|
compatible = "marvell,orion-xor";
|
|
compatible = "marvell,orion-xor";
|
|
reg = <0x60900 0x100
|
|
reg = <0x60900 0x100
|
|
0x60b00 0x100>;
|
|
0x60b00 0x100>;
|
|
@@ -513,7 +515,7 @@
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
- crypto@90000 {
|
|
|
|
|
|
+ cesa: crypto@90000 {
|
|
compatible = "marvell,armada-375-crypto";
|
|
compatible = "marvell,armada-375-crypto";
|
|
reg = <0x90000 0x10000>;
|
|
reg = <0x90000 0x10000>;
|
|
reg-names = "regs";
|
|
reg-names = "regs";
|
|
@@ -528,7 +530,7 @@
|
|
marvell,crypto-sram-size = <0x800>;
|
|
marvell,crypto-sram-size = <0x800>;
|
|
};
|
|
};
|
|
|
|
|
|
- sata@a0000 {
|
|
|
|
|
|
+ sata: sata@a0000 {
|
|
compatible = "marvell,armada-370-sata";
|
|
compatible = "marvell,armada-370-sata";
|
|
reg = <0xa0000 0x5000>;
|
|
reg = <0xa0000 0x5000>;
|
|
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -537,7 +539,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- nand@d0000 {
|
|
|
|
|
|
+ nand: nand@d0000 {
|
|
compatible = "marvell,armada370-nand";
|
|
compatible = "marvell,armada370-nand";
|
|
reg = <0xd0000 0x54>;
|
|
reg = <0xd0000 0x54>;
|
|
#address-cells = <1>;
|
|
#address-cells = <1>;
|
|
@@ -547,7 +549,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- mvsdio@d4000 {
|
|
|
|
|
|
+ sdio: mvsdio@d4000 {
|
|
compatible = "marvell,orion-sdio";
|
|
compatible = "marvell,orion-sdio";
|
|
reg = <0xd4000 0x200>;
|
|
reg = <0xd4000 0x200>;
|
|
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -559,7 +561,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- thermal@e8078 {
|
|
|
|
|
|
+ thermal: thermal@e8078 {
|
|
compatible = "marvell,armada375-thermal";
|
|
compatible = "marvell,armada375-thermal";
|
|
reg = <0xe8078 0x4>, <0xe807c 0x8>;
|
|
reg = <0xe8078 0x4>, <0xe807c 0x8>;
|
|
status = "okay";
|
|
status = "okay";
|
|
@@ -580,7 +582,7 @@
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
- pcie-controller {
|
|
|
|
|
|
+ pciec: pcie-controller@82000000 {
|
|
compatible = "marvell,armada-370-pcie";
|
|
compatible = "marvell,armada-370-pcie";
|
|
status = "disabled";
|
|
status = "disabled";
|
|
device_type = "pci";
|
|
device_type = "pci";
|
|
@@ -599,7 +601,7 @@
|
|
0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1 MEM */
|
|
0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1 MEM */
|
|
0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1 IO */>;
|
|
0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1 IO */>;
|
|
|
|
|
|
- pcie@1,0 {
|
|
|
|
|
|
+ pcie0: pcie@1,0 {
|
|
device_type = "pci";
|
|
device_type = "pci";
|
|
assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
|
|
assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
|
|
reg = <0x0800 0 0 0 0>;
|
|
reg = <0x0800 0 0 0 0>;
|
|
@@ -616,7 +618,7 @@
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
- pcie@2,0 {
|
|
|
|
|
|
+ pcie1: pcie@2,0 {
|
|
device_type = "pci";
|
|
device_type = "pci";
|
|
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
|
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
|
reg = <0x1000 0 0 0 0>;
|
|
reg = <0x1000 0 0 0 0>;
|