Commit 7ba8cd8b authored by Jon Mason's avatar Jon Mason Committed by Florian Fainelli

ARM: dts: NSP: Device Tree clean-ups

Minor changes to the Broadcom Northstar Plus device tree to make it more
organized and clean.  Firstly, move the GIC and L2 cache entries to be
sequential with respect to the memory addresses.  Secondly, modify the
address portion of the entry names to reflect the difference from the
range modification.
Signed-off-by: default avatarJon Mason <jonmason@broadcom.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 3890ab2b
...@@ -58,30 +58,14 @@ cpu@0 { ...@@ -58,30 +58,14 @@ cpu@0 {
}; };
}; };
L2: l2-cache { timer@0200 {
compatible = "arm,pl310-cache";
reg = <0x2000 0x1000>;
cache-unified;
cache-level = <2>;
};
gic: interrupt-controller@19021000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
#address-cells = <0>;
interrupt-controller;
reg = <0x1000 0x1000>,
<0x0100 0x100>;
};
timer@19020200 {
compatible = "arm,cortex-a9-global-timer"; compatible = "arm,cortex-a9-global-timer";
reg = <0x0200 0x100>; reg = <0x0200 0x100>;
interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&periph_clk>; clocks = <&periph_clk>;
}; };
twd-timer@19020600 { twd-timer@0600 {
compatible = "arm,cortex-a9-twd-timer"; compatible = "arm,cortex-a9-twd-timer";
reg = <0x0600 0x20>; reg = <0x0600 0x20>;
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
...@@ -89,13 +73,29 @@ twd-timer@19020600 { ...@@ -89,13 +73,29 @@ twd-timer@19020600 {
clocks = <&periph_clk>; clocks = <&periph_clk>;
}; };
twd-watchdog@19020620 { twd-watchdog@0620 {
compatible = "arm,cortex-a9-twd-wdt"; compatible = "arm,cortex-a9-twd-wdt";
reg = <0x0620 0x20>; reg = <0x0620 0x20>;
interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
IRQ_TYPE_LEVEL_HIGH)>; IRQ_TYPE_LEVEL_HIGH)>;
clocks = <&periph_clk>; clocks = <&periph_clk>;
}; };
gic: interrupt-controller@1000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
#address-cells = <0>;
interrupt-controller;
reg = <0x1000 0x1000>,
<0x0100 0x100>;
};
L2: l2-cache {
compatible = "arm,pl310-cache";
reg = <0x2000 0x1000>;
cache-unified;
cache-level = <2>;
};
}; };
clocks { clocks {
...@@ -116,7 +116,7 @@ axi { ...@@ -116,7 +116,7 @@ axi {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
uart0: serial@18000300 { uart0: serial@0300 {
compatible = "ns16550a"; compatible = "ns16550a";
reg = <0x0300 0x100>; reg = <0x0300 0x100>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
...@@ -124,7 +124,7 @@ uart0: serial@18000300 { ...@@ -124,7 +124,7 @@ uart0: serial@18000300 {
status = "disabled"; status = "disabled";
}; };
uart1: serial@18000400 { uart1: serial@0400 {
compatible = "ns16550a"; compatible = "ns16550a";
reg = <0x0400 0x100>; reg = <0x0400 0x100>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
...@@ -132,7 +132,7 @@ uart1: serial@18000400 { ...@@ -132,7 +132,7 @@ uart1: serial@18000400 {
status = "disabled"; status = "disabled";
}; };
pcie0: pcie@18012000 { pcie0: pcie@12000 {
compatible = "brcm,iproc-pcie"; compatible = "brcm,iproc-pcie";
reg = <0x12000 0x1000>; reg = <0x12000 0x1000>;
...@@ -156,7 +156,7 @@ pcie0: pcie@18012000 { ...@@ -156,7 +156,7 @@ pcie0: pcie@18012000 {
status = "disabled"; status = "disabled";
}; };
pcie1: pcie@18013000 { pcie1: pcie@13000 {
compatible = "brcm,iproc-pcie"; compatible = "brcm,iproc-pcie";
reg = <0x13000 0x1000>; reg = <0x13000 0x1000>;
...@@ -180,7 +180,7 @@ pcie1: pcie@18013000 { ...@@ -180,7 +180,7 @@ pcie1: pcie@18013000 {
status = "disabled"; status = "disabled";
}; };
pcie2: pcie@18014000 { pcie2: pcie@14000 {
compatible = "brcm,iproc-pcie"; compatible = "brcm,iproc-pcie";
reg = <0x14000 0x1000>; reg = <0x14000 0x1000>;
...@@ -204,7 +204,7 @@ pcie2: pcie@18014000 { ...@@ -204,7 +204,7 @@ pcie2: pcie@18014000 {
status = "disabled"; status = "disabled";
}; };
nand: nand@18026000 { nand: nand@26000 {
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
reg = <0x026000 0x600>, reg = <0x026000 0x600>,
<0x11b408 0x600>, <0x11b408 0x600>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment