The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/mtd/amlogic,meson-nand.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Amlogic NAND Flash Controller (NFC) for GXBB/GXL/AXG family SoCs
    2 
    3 This file documents the properties in addition to those available in
    4 the MTD NAND bindings.
    5 
    6 Required properties:
    7 - compatible : contains one of:
    8   - "amlogic,meson-gxl-nfc"
    9   - "amlogic,meson-axg-nfc"
   10 - clocks     :
   11         A list of phandle + clock-specifier pairs for the clocks listed
   12         in clock-names.
   13 
   14 - clock-names: Should contain the following:
   15         "core" - NFC module gate clock
   16         "device" - device clock from eMMC sub clock controller
   17         "rx" - rx clock phase
   18         "tx" - tx clock phase
   19 
   20 - amlogic,mmc-syscon    : Required for NAND clocks, it's shared with SD/eMMC
   21                                 controller port C
   22 
   23 Optional children nodes:
   24 Children nodes represent the available nand chips.
   25 
   26 Other properties:
   27 see Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindings.
   28 
   29 Example demonstrate on AXG SoC:
   30 
   31         sd_emmc_c_clkc: mmc@7000 {
   32                 compatible = "amlogic,meson-axg-mmc-clkc", "syscon";
   33                 reg = <0x0 0x7000 0x0 0x800>;
   34         };
   35 
   36         nand-controller@7800 {
   37                 compatible = "amlogic,meson-axg-nfc";
   38                 reg = <0x0 0x7800 0x0 0x100>;
   39                 #address-cells = <1>;
   40                 #size-cells = <0>;
   41                 interrupts = <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>;
   42 
   43                 clocks = <&clkc CLKID_SD_EMMC_C>,
   44                         <&sd_emmc_c_clkc CLKID_MMC_DIV>,
   45                         <&sd_emmc_c_clkc CLKID_MMC_PHASE_RX>,
   46                         <&sd_emmc_c_clkc CLKID_MMC_PHASE_TX>;
   47                 clock-names = "core", "device", "rx", "tx";
   48                 amlogic,mmc-syscon = <&sd_emmc_c_clkc>;
   49 
   50                 pinctrl-names = "default";
   51                 pinctrl-0 = <&nand_pins>;
   52 
   53                 nand@0 {
   54                         reg = <0>;
   55                         #address-cells = <1>;
   56                         #size-cells = <1>;
   57 
   58                         nand-on-flash-bbt;
   59                 };
   60         };

Cache object: 3fe38c939d99ed169ff58dd66c376b54


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.