Improve and refactor device tree files.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
nandcs@0 {
compatible = "brcm,nandcs";
- #size-cells = <1>;
- #address-cells = <1>;
reg = <0>;
nand-ecc-step-size = <512>;
nand-ecc-strength = <15>;
};
hsspi: spi@10003000 {
- compatible = "brcm,bcm6328-hsspi";
- reg = <0x10003000 0x600>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6328-hsspi";
+ reg = <0x10003000 0x600>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM6318_IRQ_HSSPI>;
};
nflash: nand@10000200 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "brcm,nand-bcm6368",
"brcm,brcmnand-v4.0",
"brcm,brcmnand";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0x10000200 0x180>,
<0x10000600 0x200>,
<0x100000b0 0x10>;
};
lsspi: spi@10000800 {
- compatible = "brcm,bcm6358-spi";
- reg = <0x10000800 0x70c>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6358-spi";
+ reg = <0x10000800 0x70c>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM63268_IRQ_LSSPI>;
};
hsspi: spi@10001000 {
- compatible = "brcm,bcm6328-hsspi";
- reg = <0x10001000 0x600>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6328-hsspi";
+ reg = <0x10001000 0x600>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM63268_IRQ_HSSPI>;
};
hsspi: spi@10001000 {
- compatible = "brcm,bcm6328-hsspi";
- reg = <0x10001000 0x600>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6328-hsspi";
+ reg = <0x10001000 0x600>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM6328_IRQ_HSSPI>;
};
lsspi: spi@fffe0800 {
- compatible = "brcm,bcm6358-spi";
- reg = <0xfffe0800 0x70c>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6358-spi";
+ reg = <0xfffe0800 0x70c>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM6358_IRQ_SPI>;
nandcs@0 {
compatible = "brcm,nandcs";
- #size-cells = <1>;
- #address-cells = <1>;
reg = <0>;
nand-ecc-step-size = <512>;
nand-ecc-strength = <15>;
};
lsspi: spi@10000800 {
- compatible = "brcm,bcm6358-spi";
- reg = <0x10000800 0x70c>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6358-spi";
+ reg = <0x10000800 0x70c>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM6362_IRQ_LSSPI>;
};
hsspi: spi@10001000 {
- compatible = "brcm,bcm6328-hsspi";
- reg = <0x10001000 0x600>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6328-hsspi";
+ reg = <0x10001000 0x600>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM6362_IRQ_HSSPI>;
};
lsspi: spi@10000800 {
- compatible = "brcm,bcm6358-spi";
- reg = <0x10000800 0x70c>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "brcm,bcm6358-spi";
+ reg = <0x10000800 0x70c>;
interrupt-parent = <&periph_intc>;
interrupts = <BCM6368_IRQ_SPI>;