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