summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/marvell/armada-7040-db.dts
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2016-04-26 09:58:30 +0200
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-04-26 15:03:58 +0200
commit037ad463ba408d76d85f377d258d135062bab658 (patch)
tree5b46904a8b6208066d53d08fc11ea9faa647a56d /arch/arm64/boot/dts/marvell/armada-7040-db.dts
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
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>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-7040-db.dts')
-rw-r--r--arch/arm64/boot/dts/marvell/armada-7040-db.dts52
1 files changed, 24 insertions, 28 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
index 064a251346dd..ee5778395bea 100644
--- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
@@ -55,38 +55,34 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};
+};
- ap806 {
- config-space {
- spi@510600 {
- status = "okay";
-
- spi-flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "n25q128a13";
- reg = <0>; /* Chip select 0 */
- spi-max-frequency = <10000000>;
+&i2c0 {
+ status = "okay";
+ clock-frequency = <100000>;
+};
- partition@0 {
- label = "U-Boot";
- reg = <0 0x200000>;
- };
- partition@400000 {
- label = "Filesystem";
- reg = <0x200000 0xce0000>;
- };
- };
- };
+&spi0 {
+ status = "okay";
- i2c@511000 {
- 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>;
- serial@512000 {
- status = "okay";
- };
+ partition@0 {
+ label = "U-Boot";
+ reg = <0 0x200000>;
+ };
+ partition@400000 {
+ label = "Filesystem";
+ reg = <0x200000 0xce0000>;
};
};
};
+
+&uart0 {
+ status = "okay";
+};