bmips: dts: comestic changes

Improve and refactor device tree files.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2021-03-08 10:42:25 +01:00
parent 45180e862c
commit 101491ae4a
8 changed files with 18 additions and 22 deletions

View File

@ -152,8 +152,6 @@
nandcs@0 { nandcs@0 {
compatible = "brcm,nandcs"; compatible = "brcm,nandcs";
#size-cells = <1>;
#address-cells = <1>;
reg = <0>; reg = <0>;
nand-ecc-step-size = <512>; nand-ecc-step-size = <512>;
nand-ecc-strength = <15>; nand-ecc-strength = <15>;

View File

@ -282,10 +282,10 @@
}; };
hsspi: spi@10003000 { hsspi: spi@10003000 {
compatible = "brcm,bcm6328-hsspi";
reg = <0x10003000 0x600>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6328-hsspi";
reg = <0x10003000 0x600>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM6318_IRQ_HSSPI>; interrupts = <BCM6318_IRQ_HSSPI>;

View File

@ -311,11 +311,11 @@
}; };
nflash: nand@10000200 { nflash: nand@10000200 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,nand-bcm6368", compatible = "brcm,nand-bcm6368",
"brcm,brcmnand-v4.0", "brcm,brcmnand-v4.0",
"brcm,brcmnand"; "brcm,brcmnand";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x10000200 0x180>, reg = <0x10000200 0x180>,
<0x10000600 0x200>, <0x10000600 0x200>,
<0x100000b0 0x10>; <0x100000b0 0x10>;
@ -336,10 +336,10 @@
}; };
lsspi: spi@10000800 { lsspi: spi@10000800 {
compatible = "brcm,bcm6358-spi";
reg = <0x10000800 0x70c>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6358-spi";
reg = <0x10000800 0x70c>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM63268_IRQ_LSSPI>; interrupts = <BCM63268_IRQ_LSSPI>;
@ -353,10 +353,10 @@
}; };
hsspi: spi@10001000 { hsspi: spi@10001000 {
compatible = "brcm,bcm6328-hsspi";
reg = <0x10001000 0x600>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6328-hsspi";
reg = <0x10001000 0x600>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM63268_IRQ_HSSPI>; interrupts = <BCM63268_IRQ_HSSPI>;

View File

@ -299,10 +299,10 @@
}; };
hsspi: spi@10001000 { hsspi: spi@10001000 {
compatible = "brcm,bcm6328-hsspi";
reg = <0x10001000 0x600>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6328-hsspi";
reg = <0x10001000 0x600>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM6328_IRQ_HSSPI>; interrupts = <BCM6328_IRQ_HSSPI>;

View File

@ -264,10 +264,10 @@
}; };
lsspi: spi@fffe0800 { lsspi: spi@fffe0800 {
compatible = "brcm,bcm6358-spi";
reg = <0xfffe0800 0x70c>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6358-spi";
reg = <0xfffe0800 0x70c>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM6358_IRQ_SPI>; interrupts = <BCM6358_IRQ_SPI>;

View File

@ -149,8 +149,6 @@
nandcs@0 { nandcs@0 {
compatible = "brcm,nandcs"; compatible = "brcm,nandcs";
#size-cells = <1>;
#address-cells = <1>;
reg = <0>; reg = <0>;
nand-ecc-step-size = <512>; nand-ecc-step-size = <512>;
nand-ecc-strength = <15>; nand-ecc-strength = <15>;

View File

@ -371,10 +371,10 @@
}; };
lsspi: spi@10000800 { lsspi: spi@10000800 {
compatible = "brcm,bcm6358-spi";
reg = <0x10000800 0x70c>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6358-spi";
reg = <0x10000800 0x70c>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM6362_IRQ_LSSPI>; interrupts = <BCM6362_IRQ_LSSPI>;
@ -388,10 +388,10 @@
}; };
hsspi: spi@10001000 { hsspi: spi@10001000 {
compatible = "brcm,bcm6328-hsspi";
reg = <0x10001000 0x600>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6328-hsspi";
reg = <0x10001000 0x600>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM6362_IRQ_HSSPI>; interrupts = <BCM6362_IRQ_HSSPI>;

View File

@ -398,10 +398,10 @@
}; };
lsspi: spi@10000800 { lsspi: spi@10000800 {
compatible = "brcm,bcm6358-spi";
reg = <0x10000800 0x70c>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,bcm6358-spi";
reg = <0x10000800 0x70c>;
interrupt-parent = <&periph_intc>; interrupt-parent = <&periph_intc>;
interrupts = <BCM6368_IRQ_SPI>; interrupts = <BCM6368_IRQ_SPI>;