Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <michael@walle.cc>
Link: https://lore.kernel.org/r/20210616155437.27378-3-michael@walle.cc
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

authored by

Michael Walle and committed by
Michal Simek
3bf9899f e73f0f0e

+21
+21
arch/arm/boot/dts/zynq-7000.dtsi
··· 252 252 #size-cells = <0>; 253 253 }; 254 254 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 + 255 276 sdhci0: mmc@e0100000 { 256 277 compatible = "arasan,sdhci-8.9a"; 257 278 status = "disabled";