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: Andreas Färber <afaerber@suse.de>
[Thomas: drop Fixes tag as it is not a bug fix.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
Andreas Färber 2016-04-26 09:58:30 +02:00 committed by Gregory CLEMENT
parent f55532a0c0
commit 037ad463ba
4 changed files with 26 additions and 36 deletions

View File

@ -55,38 +55,34 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};
};
ap806 {
config-space {
spi@510600 {
status = "okay";
&i2c0 {
status = "okay";
clock-frequency = <100000>;
};
spi-flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q128a13";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <10000000>;
&spi0 {
status = "okay";
partition@0 {
label = "U-Boot";
reg = <0 0x200000>;
};
partition@400000 {
label = "Filesystem";
reg = <0x200000 0xce0000>;
};
};
};
spi-flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q128a13";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <10000000>;
i2c@511000 {
status = "okay";
clock-frequency = <100000>;
};
serial@512000 {
status = "okay";
};
partition@0 {
label = "U-Boot";
reg = <0 0x200000>;
};
partition@400000 {
label = "Filesystem";
reg = <0x200000 0xce0000>;
};
};
};
&uart0 {
status = "okay";
};

View File

@ -68,4 +68,3 @@
};
};
};

View File

@ -79,6 +79,4 @@
enable-method = "psci";
};
};
};

View File

@ -59,7 +59,6 @@
method = "smc";
};
ap806 {
#address-cells = <2>;
#size-cells = <2>;
@ -190,7 +189,7 @@
status = "disabled";
};
serial@512000 {
uart0: serial@512000 {
compatible = "snps,dw-apb-uart";
reg = <0x512000 0x100>;
reg-shift = <2>;
@ -200,7 +199,7 @@
status = "disabled";
};
serial@512100 {
uart1: serial@512100 {
compatible = "snps,dw-apb-uart";
reg = <0x512100 0x100>;
reg-shift = <2>;
@ -232,6 +231,4 @@
};
};
};
};