19b4385922
- Ingenic fixes/improvments - other fixes and cleanups -----BEGIN PGP SIGNATURE----- iQJOBAABCAA4FiEEbt46xwy6kEcDOXoUeZbBVTGwZHAFAmDdyJQaHHRzYm9nZW5k QGFscGhhLmZyYW5rZW4uZGUACgkQeZbBVTGwZHBlyRAAhj5dC1EyGsc0cWyzC8ZU Nh45vzMCSxa4mxAelNjuVKdE0h7gLeRa8/sKPV+EcS3ZFcSfZQeIHEbH9Na3EDS7 KtUZmkjrHCDdRTh7kou7E7mb716HvoQEyq6d1VyZOahyqf2ZcjIsFinK+As+4wBV JcXJMcpUWemI4Ojm8cbmNWQW3V2Ty9qLNUa6BpmntbdOdYowTih9QWHv2u1YsOR7 R6LJXdyo6V1RieeqfZaWXTQtN8yyXYhBewLIy0DxBAm329f5sRHUVd9/ZD2RMByD 1weEhbs0jhmYZFSfkwZ8SjAb4GkusjNTnDiK4Rsuz6pQK0BIGNAV0Mrnedq+i5eD wrrTI1/envStDpj9XGlSNajcaQGpTza1V1uaCIm4EanOMMTBc8DTXaj7MCOlTD8j fkNE3ykfloVSSzZAWCmcpV9fBsFwQp3m+cWrtIAAnOJDK+NV5FfABUwFHKnBUpxG YOUNCed0WJFx++xrHKylt8hWILLEATLHh1h5vDsEYJi4gwt2KxCSYQBGgSYKa1At tOUa5UINTMvpe4U9GEjHh6f1VedtUNYUzXjD5g2cn62d81RCSx3hB1KkfQSKtaDw H9sR8d+rDFt4fK9T/HPZ3EyM2i9FkZNv+CulfGNd3M0vnF8+qX2xRehWrqhwBBi0 2p7V9/t5TPhziAfJySKX+Jg= =j2kH -----END PGP SIGNATURE----- Merge tag 'mips_5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux Pull MIPS updates from Thomas Bogendoerfer: - add support for OpeneEmbed SOM9331 board - Ingenic fixes/improvments - other fixes and cleanups * tag 'mips_5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (39 commits) MIPS: Fix PKMAP with 32-bit MIPS huge page support MIPS: CI20: Add second percpu timer for SMP. MIPS: CI20: Reduce clocksource to 750 kHz. MIPS: Ingenic: Add MAC syscon nodes for Ingenic SoCs. dt-bindings: clock: Add documentation for MAC PHY control bindings. MIPS: X1830: Respect cell count of common properties. MIPS: set mips32r5 for virt extensions MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops MIPS: MT extensions are not available on MIPS32r1 mips/kvm: Use BUG_ON instead of if condition followed by BUG MIPS: OCTEON: octeon-usb: Use devm_platform_get_and_ioremap_resource() MIPS: add PMD table accounting into MIPS'pmd_alloc_one MIPS: Loongson64: fix spelling of SPDX tag MIPS: ingenic: rs90: Add dedicated VRAM memory region MIPS: ingenic: gcw0: Set codec to cap-less mode for FM radio MIPS: ingenic: jz4780: Fix I2C nodes to match DT doc MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER MIPS: Kconfig: ingenic: Ensure MACH_INGENIC_GENERIC selects all SoCs MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B) MIPS: boot: Support specifying UART port on Ingenic SoCs ...
131 lines
2.7 KiB
YAML
131 lines
2.7 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/ingenic,cgu.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Ingenic SoCs CGU devicetree bindings
|
|
|
|
description: |
|
|
The CGU in an Ingenic SoC provides all the clocks generated on-chip. It
|
|
typically includes a variety of PLLs, multiplexers, dividers & gates in order
|
|
to provide many different clock signals derived from only 2 external source
|
|
clocks.
|
|
|
|
maintainers:
|
|
- Paul Cercueil <paul@crapouillou.net>
|
|
|
|
select:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- ingenic,jz4740-cgu
|
|
- ingenic,jz4725b-cgu
|
|
- ingenic,jz4760-cgu
|
|
- ingenic,jz4760b-cgu
|
|
- ingenic,jz4770-cgu
|
|
- ingenic,jz4780-cgu
|
|
- ingenic,x1000-cgu
|
|
- ingenic,x1830-cgu
|
|
required:
|
|
- compatible
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^clock-controller@[0-9a-f]+$"
|
|
|
|
"#address-cells":
|
|
const: 1
|
|
|
|
"#size-cells":
|
|
const: 1
|
|
|
|
"#clock-cells":
|
|
const: 1
|
|
|
|
ranges: true
|
|
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- ingenic,jz4740-cgu
|
|
- ingenic,jz4725b-cgu
|
|
- ingenic,jz4760-cgu
|
|
- ingenic,jz4760b-cgu
|
|
- ingenic,jz4770-cgu
|
|
- ingenic,jz4780-cgu
|
|
- ingenic,x1000-cgu
|
|
- ingenic,x1830-cgu
|
|
- const: simple-mfd
|
|
minItems: 1
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: External oscillator clock
|
|
- description: Internal 32 kHz RTC clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: ext
|
|
- enum:
|
|
- rtc
|
|
- osc32k # Different name, same clock
|
|
|
|
assigned-clocks:
|
|
minItems: 1
|
|
maxItems: 64
|
|
|
|
assigned-clock-parents:
|
|
minItems: 1
|
|
maxItems: 64
|
|
|
|
assigned-clock-rates:
|
|
minItems: 1
|
|
maxItems: 64
|
|
|
|
required:
|
|
- "#clock-cells"
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
|
|
patternProperties:
|
|
"^usb-phy@[a-f0-9]+$":
|
|
allOf: [ $ref: "../phy/ingenic,phy-usb.yaml#" ]
|
|
"^mac-phy-ctrl@[a-f0-9]+$":
|
|
allOf: [ $ref: "../net/ingenic,mac.yaml#" ]
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/jz4770-cgu.h>
|
|
cgu: clock-controller@10000000 {
|
|
compatible = "ingenic,jz4770-cgu", "simple-mfd";
|
|
reg = <0x10000000 0x100>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0x0 0x10000000 0x100>;
|
|
|
|
clocks = <&ext>, <&osc32k>;
|
|
clock-names = "ext", "osc32k";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
otg_phy: usb-phy@3c {
|
|
compatible = "ingenic,jz4770-phy";
|
|
reg = <0x3c 0x10>;
|
|
|
|
clocks = <&cgu JZ4770_CLK_OTG_PHY>;
|
|
|
|
vcc-supply = <&ldo5>;
|
|
|
|
#phy-cells = <0>;
|
|
};
|
|
};
|