Commit 5319667c authored by William Zhang's avatar William Zhang Committed by Miquel Raynal

arm64: dts: broadcom: bcmbca: Add NAND controller node

Add support for Broadcom STB NAND controller in BCMBCA ARMv8 chip dts
files.
Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
Reviewed-by: default avatarDavid Regan <dregan@broadcom.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Acked-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/linux-mtd/20240223034758.13753-9-william.zhang@broadcom.com
parent d42d8e82
...@@ -589,7 +589,7 @@ hsspi: spi@1000 { ...@@ -589,7 +589,7 @@ hsspi: spi@1000 {
status = "disabled"; status = "disabled";
}; };
nand-controller@1800 { nand_controller: nand-controller@1800 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand"; compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
...@@ -597,7 +597,7 @@ nand-controller@1800 { ...@@ -597,7 +597,7 @@ nand-controller@1800 {
reg-names = "nand", "nand-int-base"; reg-names = "nand", "nand-int-base";
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "nand_ctlrdy"; interrupt-names = "nand_ctlrdy";
status = "okay"; status = "disabled";
nandcs: nand@0 { nandcs: nand@0 {
compatible = "brcm,nandcs"; compatible = "brcm,nandcs";
......
...@@ -138,6 +138,20 @@ hsspi: spi@1000 { ...@@ -138,6 +138,20 @@ hsspi: spi@1000 {
status = "disabled"; status = "disabled";
}; };
nand_controller: nand-controller@1800 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
reg = <0x1800 0x600>, <0x2000 0x10>;
reg-names = "nand", "nand-int-base";
status = "disabled";
nandcs: nand@0 {
compatible = "brcm,nandcs";
reg = <0>;
};
};
uart0: serial@12000 { uart0: serial@12000 {
compatible = "arm,pl011", "arm,primecell"; compatible = "arm,pl011", "arm,primecell";
reg = <0x12000 0x1000>; reg = <0x12000 0x1000>;
......
...@@ -119,6 +119,20 @@ hsspi: spi@1000 { ...@@ -119,6 +119,20 @@ hsspi: spi@1000 {
status = "disabled"; status = "disabled";
}; };
nand_controller: nand-controller@1800 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
reg = <0x1800 0x600>, <0x2000 0x10>;
reg-names = "nand", "nand-int-base";
status = "disabled";
nandcs: nand@0 {
compatible = "brcm,nandcs";
reg = <0>;
};
};
uart0: serial@12000 { uart0: serial@12000 {
compatible = "arm,pl011", "arm,primecell"; compatible = "arm,pl011", "arm,primecell";
reg = <0x12000 0x1000>; reg = <0x12000 0x1000>;
......
...@@ -137,6 +137,20 @@ hsspi: spi@1000 { ...@@ -137,6 +137,20 @@ hsspi: spi@1000 {
status = "disabled"; status = "disabled";
}; };
nand_controller: nand-controller@1800 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
reg = <0x1800 0x600>, <0x2000 0x10>;
reg-names = "nand", "nand-int-base";
status = "disabled";
nandcs: nand@0 {
compatible = "brcm,nandcs";
reg = <0>;
};
};
uart0: serial@12000 { uart0: serial@12000 {
compatible = "arm,pl011", "arm,primecell"; compatible = "arm,pl011", "arm,primecell";
reg = <0x12000 0x1000>; reg = <0x12000 0x1000>;
......
...@@ -138,6 +138,20 @@ hsspi: spi@1000 { ...@@ -138,6 +138,20 @@ hsspi: spi@1000 {
status = "disabled"; status = "disabled";
}; };
nand_controller: nand-controller@1800 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
reg = <0x1800 0x600>, <0x2000 0x10>;
reg-names = "nand", "nand-int-base";
status = "disabled";
nandcs: nand@0 {
compatible = "brcm,nandcs";
reg = <0>;
};
};
uart0: serial@12000 { uart0: serial@12000 {
compatible = "arm,pl011", "arm,primecell"; compatible = "arm,pl011", "arm,primecell";
reg = <0x12000 0x1000>; reg = <0x12000 0x1000>;
......
...@@ -119,5 +119,19 @@ hsspi: spi@1000 { ...@@ -119,5 +119,19 @@ hsspi: spi@1000 {
num-cs = <8>; num-cs = <8>;
status = "disabled"; status = "disabled";
}; };
nand_controller: nand-controller@1800 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
reg = <0x1800 0x600>, <0x2000 0x10>;
reg-names = "nand", "nand-int-base";
status = "disabled";
nandcs: nand@0 {
compatible = "brcm,nandcs";
reg = <0>;
};
};
}; };
}; };
...@@ -156,5 +156,19 @@ hsspi: spi@1000 { ...@@ -156,5 +156,19 @@ hsspi: spi@1000 {
num-cs = <8>; num-cs = <8>;
status = "disabled"; status = "disabled";
}; };
nand_controller: nand-controller@1800 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
reg = <0x1800 0x600>, <0x2000 0x10>;
reg-names = "nand", "nand-int-base";
status = "disabled";
nandcs: nand@0 {
compatible = "brcm,nandcs";
reg = <0>;
};
};
}; };
}; };
...@@ -32,3 +32,13 @@ &uart0 { ...@@ -32,3 +32,13 @@ &uart0 {
&hsspi { &hsspi {
status = "okay"; status = "okay";
}; };
&nand_controller {
brcm,wp-not-connected;
status = "okay";
};
&nandcs {
nand-on-flash-bbt;
brcm,nand-ecc-use-strap;
};
...@@ -32,3 +32,13 @@ &uart0 { ...@@ -32,3 +32,13 @@ &uart0 {
&hsspi { &hsspi {
status = "okay"; status = "okay";
}; };
&nand_controller {
brcm,wp-not-connected;
status = "okay";
};
&nandcs {
nand-on-flash-bbt;
brcm,nand-ecc-use-strap;
};
...@@ -32,3 +32,13 @@ &uart0 { ...@@ -32,3 +32,13 @@ &uart0 {
&hsspi { &hsspi {
status = "okay"; status = "okay";
}; };
&nand_controller {
brcm,wp-not-connected;
status = "okay";
};
&nandcs {
nand-on-flash-bbt;
brcm,nand-ecc-use-strap;
};
...@@ -32,3 +32,13 @@ &uart0 { ...@@ -32,3 +32,13 @@ &uart0 {
&hsspi { &hsspi {
status = "okay"; status = "okay";
}; };
&nand_controller {
brcm,wp-not-connected;
status = "okay";
};
&nandcs {
nand-on-flash-bbt;
brcm,nand-ecc-use-strap;
};
...@@ -32,3 +32,13 @@ &uart0 { ...@@ -32,3 +32,13 @@ &uart0 {
&hsspi { &hsspi {
status = "okay"; status = "okay";
}; };
&nand_controller {
brcm,wp-not-connected;
status = "okay";
};
&nandcs {
nand-on-flash-bbt;
brcm,nand-ecc-use-strap;
};
...@@ -32,3 +32,13 @@ &uart0 { ...@@ -32,3 +32,13 @@ &uart0 {
&hsspi { &hsspi {
status = "okay"; status = "okay";
}; };
&nand_controller {
brcm,wp-not-connected;
status = "okay";
};
&nandcs {
nand-on-flash-bbt;
brcm,nand-ecc-use-strap;
};
...@@ -32,3 +32,13 @@ &uart0 { ...@@ -32,3 +32,13 @@ &uart0 {
&hsspi { &hsspi {
status = "okay"; status = "okay";
}; };
&nand_controller {
brcm,wp-not-connected;
status = "okay";
};
&nandcs {
nand-on-flash-bbt;
brcm,nand-ecc-use-strap;
};
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