The NXP LPC18xx/43xx CREG (Configuration Registers) block
Schema identifier ($id): "http://devicetree.org/schemas/mfd/nxp,lpc1850-creg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"syscon"
Item 3
Exact value (
const):"simple-mfd"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
clock-controller — not listed as required here #
Value type (type): "object"
The NXP LPC18xx/43xx CREG (Configuration Registers) block contains control registers for two low speed clocks. One of the clocks is a 32 kHz oscillator driver with power up/down and clock gating. Next is a fixed divider that creates a 1 kHz clock from the 32 kHz osc. These clocks are used by the RTC and the Event Router peripherals. The 32 kHz can also be routed to other peripherals to enable low power modes.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "nxp,lpc1850-creg-clk"
clocks — required here
Maximum number of items (maxItems): 1
#clock-cells — required here
Exact value (const): 1
0 1 kHz clock 1 32 kHz Oscillator
Required in this object (required): "compatible", "clocks", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
phy — not listed as required here #
Value type (type): "object"
the internal USB OTG PHY in NXP LPC18xx and LPC43xx SoCs
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "nxp,lpc1850-usb-otg-phy"
clocks — required here
Maximum number of items (maxItems): 1
#phy-cells — required here
Exact value (const): 0
Required in this object (required): "compatible", "clocks", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
dma-mux — not listed as required here #
Value type (type): "object"
NXP LPC18xx/43xx DMA MUX (DMA request router)
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "nxp,lpc1850-dmamux"
#dma-cells — required here
Exact value (const): 3
Should be set to <3>. * 1st cell contain the master dma request signal * 2nd cell contain the mux value (0-3) for the peripheral * 3rd cell contain either 1 or 2 depending on the AHB master used.
dma-requests — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 64
Number of DMA requests the controller can handle
dma-masters — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle pointing to the DMA controller
Required in this object (required): "compatible", "#dma-cells", "dma-masters"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/lpc18xx-ccu.h>
syscon@40043000 {
compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
reg = <0x40043000 0x1000>;
clocks = <&ccu1 CLK_CPU_CREG>;
resets = <&rgu 5>;
clock-controller {
compatible = "nxp,lpc1850-creg-clk";
clocks = <&xtal32>;
#clock-cells = <1>;
};
phy {
compatible = "nxp,lpc1850-usb-otg-phy";
clocks = <&ccu1 CLK_USB0>;
#phy-cells = <0>;
};
dma-mux {
compatible = "nxp,lpc1850-dmamux";
#dma-cells = <3>;
dma-requests = <64>;
dma-masters = <&dmac>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)