Debian Codegraph @

Documentation/devicetree/bindings/nvmem/nxp,lpc1857-eeprom.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/nvmem/nxp,lpc1857-eeprom.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP LPC18xx EEPROM memory
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 properties:
13 compatible:
14 const: nxp,lpc1857-eeprom
15
16 reg:
17 maxItems: 2
18
19 reg-names:
20 items:
21 - const: reg
22 - const: mem
23
24 clocks:
25 maxItems: 1
26
27 clock-names:
28 items:
29 - const: eeprom
30
31 interrupts:
32 maxItems: 1
33
34 resets:
35 maxItems: 1
36
37 required:
38 - compatible
39 - reg
40 - reg-names
41 - clocks
42 - clock-names
43 - interrupts
44 - resets
45
46 additionalProperties: false
47
48 examples:
49 - |
50 #include <dt-bindings/clock/lpc18xx-ccu.h>
51
52 eeprom@4000e000 {
53 compatible = "nxp,lpc1857-eeprom";
54 reg = <0x4000e000 0x1000>,
55 <0x20040000 0x4000>;
56 reg-names = "reg", "mem";
57 clocks = <&ccu1 CLK_CPU_EEPROM>;
58 clock-names = "eeprom";
59 resets = <&rgu 27>;
60 interrupts = <4>;
61 };