summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/socfpga_cyclone5_socrates.dts
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-02-17 18:30:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-02-22 11:21:02 +0100
commitcca339c4668d2027fdc92157684ff9ef8155d9a5 (patch)
tree0843e966d2397dee19a8018a2f8d4b1f57a1648d /arch/arm/dts/socfpga_cyclone5_socrates.dts
parent1294657e4dce1b289b3f64374f7dda95a5dee62e (diff)
downloadbarebox-cca339c4668d2027fdc92157684ff9ef8155d9a5.tar.gz
barebox-cca339c4668d2027fdc92157684ff9ef8155d9a5.tar.xz
ARM: dts: socfpga: cut down on NAND node duplication
Compared with the upstream DT, we have a lot of duplicated properties, so let's drop them from the barebox override. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230217173057.1839835-19-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/socfpga_cyclone5_socrates.dts')
-rw-r--r--arch/arm/dts/socfpga_cyclone5_socrates.dts69
1 files changed, 28 insertions, 41 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index e731b55a6c..dd45140cba 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -34,52 +34,39 @@
};
};
-&qspi {
- status = "okay";
+&flash {
+ compatible = "n25q00";
+ cdns,page-size = <256>;
+ cdns,block-size = <16>;
+ cdns,read-delay = <4>;
- flash: flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "n25q00";
- reg = <0>;
- spi-max-frequency = <100000000>;
- m25p,fast-read;
- cdns,page-size = <256>;
- cdns,block-size = <16>;
- cdns,read-delay = <4>;
- cdns,tshsl-ns = <50>;
- cdns,tsd2d-ns = <50>;
- cdns,tchsh-ns = <4>;
- cdns,tslch-ns = <4>;
-
- partition@0 {
- label = "prebootloader0";
- reg = <0x00000 0x10000>;
- };
+ partition@0 {
+ label = "prebootloader0";
+ reg = <0x00000 0x10000>;
+ };
- partition@1 {
- label = "prebootloader1";
- reg = <0x10000 0x10000>;
- };
+ partition@1 {
+ label = "prebootloader1";
+ reg = <0x10000 0x10000>;
+ };
- partition@2 {
- label = "prebootloader2";
- reg = <0x20000 0x10000>;
- };
+ partition@2 {
+ label = "prebootloader2";
+ reg = <0x20000 0x10000>;
+ };
- partition@3 {
- label = "prebootloader3";
- reg = <0x30000 0x10000>;
- };
+ partition@3 {
+ label = "prebootloader3";
+ reg = <0x30000 0x10000>;
+ };
- partition@4 {
- label = "barebox";
- reg = <0x40000 0x80000>;
- };
+ partition@4 {
+ label = "barebox";
+ reg = <0x40000 0x80000>;
+ };
- partition@5 {
- label = "data";
- reg = <0xc0000 0x1f40000>;
- };
+ partition@5 {
+ label = "data";
+ reg = <0xc0000 0x1f40000>;
};
};