Commit 037ad463 authored by Andreas Färber's avatar Andreas Färber Committed by Gregory CLEMENT

arm64: dts: marvell: clean up armada-7040-db

Instead of duplicating the node hierarchy, reference the nodes by label,
adding labels where necessary.

Drop some trailing or inconsistent white lines while at it.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
[Thomas: drop Fixes tag as it is not a bug fix.]
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent f55532a0
...@@ -55,38 +55,34 @@ memory@00000000 { ...@@ -55,38 +55,34 @@ memory@00000000 {
device_type = "memory"; device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>; reg = <0x0 0x0 0x0 0x80000000>;
}; };
};
ap806 { &i2c0 {
config-space { status = "okay";
spi@510600 { clock-frequency = <100000>;
status = "okay"; };
spi-flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q128a13";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <10000000>;
partition@0 { &spi0 {
label = "U-Boot"; status = "okay";
reg = <0 0x200000>;
};
partition@400000 {
label = "Filesystem";
reg = <0x200000 0xce0000>;
};
};
};
i2c@511000 { spi-flash@0 {
status = "okay"; #address-cells = <1>;
clock-frequency = <100000>; #size-cells = <1>;
}; compatible = "n25q128a13";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <10000000>;
serial@512000 { partition@0 {
status = "okay"; label = "U-Boot";
}; reg = <0 0x200000>;
};
partition@400000 {
label = "Filesystem";
reg = <0x200000 0xce0000>;
}; };
}; };
}; };
&uart0 {
status = "okay";
};
...@@ -68,4 +68,3 @@ cpu@001 { ...@@ -68,4 +68,3 @@ cpu@001 {
}; };
}; };
}; };
...@@ -79,6 +79,4 @@ cpu@101 { ...@@ -79,6 +79,4 @@ cpu@101 {
enable-method = "psci"; enable-method = "psci";
}; };
}; };
}; };
...@@ -59,7 +59,6 @@ psci { ...@@ -59,7 +59,6 @@ psci {
method = "smc"; method = "smc";
}; };
ap806 { ap806 {
#address-cells = <2>; #address-cells = <2>;
#size-cells = <2>; #size-cells = <2>;
...@@ -190,7 +189,7 @@ i2c0: i2c@511000 { ...@@ -190,7 +189,7 @@ i2c0: i2c@511000 {
status = "disabled"; status = "disabled";
}; };
serial@512000 { uart0: serial@512000 {
compatible = "snps,dw-apb-uart"; compatible = "snps,dw-apb-uart";
reg = <0x512000 0x100>; reg = <0x512000 0x100>;
reg-shift = <2>; reg-shift = <2>;
...@@ -200,7 +199,7 @@ serial@512000 { ...@@ -200,7 +199,7 @@ serial@512000 {
status = "disabled"; status = "disabled";
}; };
serial@512100 { uart1: serial@512100 {
compatible = "snps,dw-apb-uart"; compatible = "snps,dw-apb-uart";
reg = <0x512100 0x100>; reg = <0x512100 0x100>;
reg-shift = <2>; reg-shift = <2>;
...@@ -232,6 +231,4 @@ ringclk: clk@250 { ...@@ -232,6 +231,4 @@ ringclk: clk@250 {
}; };
}; };
}; };
}; };
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