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/memory-controllers/ingenic,nemc.yaml

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 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/memory-controllers/ingenic,nemc.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Ingenic SoCs NAND / External Memory Controller (NEMC) devicetree bindings
    8 
    9 maintainers:
   10   - Paul Cercueil <paul@crapouillou.net>
   11 
   12 properties:
   13   $nodename:
   14     pattern: "^memory-controller@[0-9a-f]+$"
   15 
   16   compatible:
   17     oneOf:
   18       - enum:
   19           - ingenic,jz4740-nemc
   20           - ingenic,jz4780-nemc
   21       - items:
   22           - const: ingenic,jz4725b-nemc
   23           - const: ingenic,jz4740-nemc
   24 
   25   "#address-cells":
   26     const: 2
   27 
   28   "#size-cells":
   29     const: 1
   30 
   31   ranges: true
   32 
   33   reg:
   34     maxItems: 1
   35 
   36   clocks:
   37     maxItems: 1
   38 
   39 patternProperties:
   40   ".*@[0-9]+$":
   41     type: object
   42 
   43 required:
   44   - compatible
   45   - "#address-cells"
   46   - "#size-cells"
   47   - ranges
   48   - reg
   49   - clocks
   50 
   51 additionalProperties: false
   52 
   53 examples:
   54   - |
   55     #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
   56     #include <dt-bindings/gpio/gpio.h>
   57     nemc: memory-controller@13410000 {
   58       compatible = "ingenic,jz4780-nemc";
   59       reg = <0x13410000 0x10000>;
   60       #address-cells = <2>;
   61       #size-cells = <1>;
   62       ranges = <1 0 0x1b000000 0x1000000>,
   63          <2 0 0x1a000000 0x1000000>,
   64          <3 0 0x19000000 0x1000000>,
   65          <4 0 0x18000000 0x1000000>,
   66          <5 0 0x17000000 0x1000000>,
   67          <6 0 0x16000000 0x1000000>;
   68 
   69       clocks = <&cgu JZ4780_CLK_NEMC>;
   70 
   71       ethernet@6 {
   72         compatible = "davicom,dm9000";
   73         davicom,no-eeprom;
   74 
   75         pinctrl-names = "default";
   76         pinctrl-0 = <&pins_nemc_cs6>;
   77 
   78         reg = <6 0 1>, /* addr */
   79               <6 2 1>; /* data */
   80 
   81         ingenic,nemc-tAS = <15>;
   82         ingenic,nemc-tAH = <10>;
   83         ingenic,nemc-tBP = <20>;
   84         ingenic,nemc-tAW = <50>;
   85         ingenic,nemc-tSTRV = <100>;
   86 
   87         reset-gpios = <&gpf 12 GPIO_ACTIVE_HIGH>;
   88         vcc-supply = <&eth0_power>;
   89 
   90         interrupt-parent = <&gpe>;
   91         interrupts = <19 4>;
   92       };
   93     };

Cache object: d55f5efbc372fc5b9ba733c5b75f56b0


[ 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.