Skip to content

Commit 2cb54cb

Browse files
committed
ARM: dts: at91: sama5d2_icp: describe nor flash as in sama5d27_som1
at91-sama5d27_som1 and at91-sama5d2_icp advertise the same spi-nor flash: sst26vf064b. Copy the nor flash declaration from at91-sama5d27_som1. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
1 parent 780daa7 commit 2cb54cb

1 file changed

Lines changed: 33 additions & 2 deletions

File tree

arch/arm/boot/dts/at91-sama5d2_icp.dts

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,43 @@
101101
pinctrl-names = "default";
102102
pinctrl-0 = <&pinctrl_qspi1_default>;
103103
status = "disabled"; /* Conflict with wilc_pwrseq, flx2 */
104+
104105
flash@0 {
105-
reg = <0>;
106+
#address-cells = <1>;
107+
#size-cells = <1>;
106108
compatible = "jedec,spi-nor";
107-
spi-max-frequency = <20000000>;
109+
reg = <0>;
110+
spi-max-frequency = <80000000>;
111+
spi-tx-bus-width = <4>;
112+
spi-rx-bus-width = <4>;
108113
m25p,fast-read;
114+
115+
at91bootstrap@00000000 {
116+
label = "at91bootstrap";
117+
reg = <0x00000000 0x00010000>;
118+
};
119+
120+
bootloader@00010000 {
121+
label = "bootloader";
122+
reg = <0x00010000 0x000a0000>;
123+
};
124+
125+
bootloaderenv@000b0000 {
126+
label = "bootloader env";
127+
reg = <0x000b0000 0x00010000>;
128+
};
129+
130+
dtb@000c0000 {
131+
label = "device tree";
132+
reg = <0x000c0000 0x0020000>;
133+
};
134+
135+
kernel@000e0000 {
136+
label = "kernel";
137+
reg = <0x000e0000 0x0400000>;
138+
};
109139
};
140+
110141
};
111142

112143
spi0: spi@f8000000 { /* mikrobus3 spi */

0 commit comments

Comments
 (0)