Skip to content

Commit 3bf9899

Browse files
mwalleMichal Simek
authored andcommitted
ARM: dts: zynq: add NAND flash controller node
Recently, a driver for the ARM Primecell PL35x static memory controller (including NAND controller) was added in linux. Add the corresponding device tree node. Signed-off-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
1 parent e73f0f0 commit 3bf9899

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

arch/arm/boot/dts/zynq-7000.dtsi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,27 @@
252252
#size-cells = <0>;
253253
};
254254

255+
smcc: memory-controller@e000e000 {
256+
compatible = "arm,pl353-smc-r2p1", "arm,primecell";
257+
reg = <0xe000e000 0x0001000>;
258+
status = "disabled";
259+
clock-names = "memclk", "apb_pclk";
260+
clocks = <&clkc 11>, <&clkc 44>;
261+
ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */
262+
0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */
263+
0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */
264+
#address-cells = <2>;
265+
#size-cells = <1>;
266+
267+
nfc0: nand-controller@0,0 {
268+
compatible = "arm,pl353-nand-r2p1";
269+
reg = <0 0 0x1000000>;
270+
status = "disabled";
271+
#address-cells = <1>;
272+
#size-cells = <0>;
273+
};
274+
};
275+
255276
sdhci0: mmc@e0100000 {
256277
compatible = "arasan,sdhci-8.9a";
257278
status = "disabled";

0 commit comments

Comments
 (0)