Devicetree updates for v5.11:
- Add vendor prefixes for bm, gpio-key, mentor, FII, and Ampere - Add ADP5585/ADP5589 and delta,q54sj108a2 to trivial-devices.yaml - Convert fixed-partitions, i2c-gate and fsl,dpaa2-console bindings to schemas - Drop PicoXcell bindings - Drop unused and undocumented 'pnx,timeout' property from LPC32xx - Add 'dynamic-power-coefficient' to Mali GPU bindings - Make 'make dt_binding_check' not error out on warnings - Various minor binding fixes -----BEGIN PGP SIGNATURE----- iQJEBAABCgAuFiEEktVUI4SxYhzZyEuo+vtdtY28YcMFAl/aNZgQHHJvYmhAa2Vy bmVsLm9yZwAKCRD6+121jbxhw4TKEACWdPtVFfYGNuyPYXdx+e5QN42va5DukWYM CsdWm3ZUZYHdPOVy+GC1OoTr+mtNfiUy0/NkTcHY3Bt+r418iNg+rEIYl0IFv268 +vf3UeYtWPV9++P4+3pkYVA9AYoPxus4SCeqjj1acdoWHYFfMontjTjoQhNrINdn wdOWhl2ICyefzDnYO4bXbOo46hDcP81jmOEGYBfS1qXI6ruXv8A5+W86xNKbbWDm apk/E3x1EINI9/jpWh7R7PIwcNctDsbVMz7536dyadTq3hZEhHO82L0nqQXrPGPH 3sAipc6ZUnuvJcy9/fRlhoaxst9jysMlenZOl+02jVyuxbmh5WKnoCxGidHMN2e0 u59/c4uXX94RtMiY7BAEefSgDf8GvGTlifGc8R8WpI/0BT74Rrk9l9rlSptVZCUQ N/TVu/w0hvZwNMJAZA3GN7YD0pEPJIPlmR7D6cHL9Eue/W7zCu06t7JrM8v7s0LR 0M1dg8jY8hStPRo4dv/1mcPKKRazxC2bfEABJUhhXmQfAsdAYAvY8qqFlnaHlpkM XguKYTbfgwEN1xoc2WZx1q+k0+rtoE2prhol4QLgNGWZI9jBlFyofUN8WAPYYdo4 +FSf7kUGcHb46V3EJvJ0IONzKS/qiY/4WS+Gfxkdub8Y33r4EsC5bFAA9rT4joEo sbLxKGgYiA== =FBOU -----END PGP SIGNATURE----- Merge tag 'devicetree-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux Pull devicetree updates from Rob Herring: - Add vendor prefixes for bm, gpio-key, mentor, FII, and Ampere - Add ADP5585/ADP5589 and delta,q54sj108a2 to trivial-devices.yaml - Convert fixed-partitions, i2c-gate and fsl,dpaa2-console bindings to schemas - Drop PicoXcell bindings - Drop unused and undocumented 'pnx,timeout' property from LPC32xx - Add 'dynamic-power-coefficient' to Mali GPU bindings - Make 'make dt_binding_check' not error out on warnings - Various minor binding fixes * tag 'devicetree-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (22 commits) dt-bindings: mali-bifrost: Add dynamic-power-coefficient dt-bindings: mali-midgard: Add dynamic-power-coefficient dt-bindings: i2c: dw: cancel mandatory requirements for "#address-cells" and "#size-cells" dt-bindings: Remove PicoXcell bindings ARM: dts: lpc32xx: Remove unused and undocumented 'pnx,timeout' dt-bindings: mtd: convert "fixed-partitions" to the json-schema dt-bindings: vendor-prefixes: Add undocumented bm, gpio-key, and mentor prefixes dt-bindings: pci: rcar-pci-ep: Document missing interrupts property dt-bindings: vendor-prefixes: Add an entry for AmpereComputing.com dt-bindings: vendor-prefixes: correct the spelling of TQ-Systems GmbH dt-bindings: mfd: fix stm32 timers example dt-bindings: trivial-devices: Add delta,q54sj108a2 dt-bindings:i2c:i2c-gate: txt to yaml conversion dt-bindings: add ADP5585/ADP5589 entries to trivial-devices dt-bindings: Correct GV11B GPU register sizes dt-bindings: vendor-prefixes: Add FII dt-bindings: Fix typo on the DesignWare IP reset bindings documentation dt-bindings: Fix error in 'make dtbs_check' when using DT_SCHEMA_FILES dt-bindings: arm: vt8500: remove redundant white-spaces dt-bindings: fsl-imx-drm: fix example compatible string ...
This commit is contained in:
commit
62746f92b1
Documentation/devicetree/bindings
Makefile
arm
crypto
display/imx
gpu
i2c
mfd
misc
mtd
net
pci
reset
timer
trivial-devices.yamlvendor-prefixes.yamlarch/arm/boot/dts
|
@ -27,17 +27,17 @@ find_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \
|
||||||
-name '*.example.dt.yaml' \)
|
-name '*.example.dt.yaml' \)
|
||||||
|
|
||||||
quiet_cmd_yamllint = LINT $(src)
|
quiet_cmd_yamllint = LINT $(src)
|
||||||
cmd_yamllint = $(find_cmd) | \
|
cmd_yamllint = ($(find_cmd) | \
|
||||||
xargs $(DT_SCHEMA_LINT) -f parsable -c $(srctree)/$(src)/.yamllint
|
xargs $(DT_SCHEMA_LINT) -f parsable -c $(srctree)/$(src)/.yamllint) || true
|
||||||
|
|
||||||
quiet_cmd_chk_bindings = CHKDT $@
|
quiet_cmd_chk_bindings = CHKDT $@
|
||||||
cmd_chk_bindings = $(find_cmd) | \
|
cmd_chk_bindings = ($(find_cmd) | \
|
||||||
xargs -n200 -P$$(nproc) $(DT_DOC_CHECKER) -u $(srctree)/$(src)
|
xargs -n200 -P$$(nproc) $(DT_DOC_CHECKER) -u $(srctree)/$(src)) || true
|
||||||
|
|
||||||
quiet_cmd_mk_schema = SCHEMA $@
|
quiet_cmd_mk_schema = SCHEMA $@
|
||||||
cmd_mk_schema = f=$$(mktemp) ; \
|
cmd_mk_schema = f=$$(mktemp) ; \
|
||||||
$(if $(DT_MK_SCHEMA_FLAGS), \
|
$(if $(DT_MK_SCHEMA_FLAGS), \
|
||||||
echo $(real-prereqs), \
|
printf '%s\n' $(real-prereqs), \
|
||||||
$(find_cmd)) > $$f ; \
|
$(find_cmd)) > $$f ; \
|
||||||
$(DT_MK_SCHEMA) -j $(DT_MK_SCHEMA_FLAGS) @$$f > $@ ; \
|
$(DT_MK_SCHEMA) -j $(DT_MK_SCHEMA_FLAGS) @$$f > $@ ; \
|
||||||
rm -f $$f
|
rm -f $$f
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
Picochip picoXcell device tree bindings.
|
|
||||||
========================================
|
|
||||||
|
|
||||||
Required root node properties:
|
|
||||||
- compatible:
|
|
||||||
- "picochip,pc7302-pc3x3" : PC7302 development board with PC3X3 device.
|
|
||||||
- "picochip,pc7302-pc3x2" : PC7302 development board with PC3X2 device.
|
|
||||||
- "picochip,pc3x3" : picoXcell PC3X3 device based board.
|
|
||||||
- "picochip,pc3x2" : picoXcell PC3X2 device based board.
|
|
||||||
|
|
||||||
Timers required properties:
|
|
||||||
- compatible = "picochip,pc3x2-timer"
|
|
||||||
- interrupts : The single IRQ line for the timer.
|
|
||||||
- clock-freq : The frequency in HZ of the timer.
|
|
||||||
- reg : The register bank for the timer.
|
|
||||||
|
|
||||||
Note: two timers are required - one for the scheduler clock and one for the
|
|
||||||
event tick/NOHZ.
|
|
||||||
|
|
||||||
VIC required properties:
|
|
||||||
- compatible = "arm,pl192-vic".
|
|
||||||
- interrupt-controller.
|
|
||||||
- reg : The register bank for the device.
|
|
||||||
- #interrupt-cells : Must be 1.
|
|
|
@ -21,6 +21,5 @@ properties:
|
||||||
- wm,wm8650
|
- wm,wm8650
|
||||||
- wm,wm8750
|
- wm,wm8750
|
||||||
- wm,wm8850
|
- wm,wm8850
|
||||||
|
|
||||||
additionalProperties: true
|
|
||||||
|
|
||||||
|
additionalProperties: true
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
Picochip picoXcell SPAcc (Security Protocol Accelerator) bindings
|
|
||||||
|
|
||||||
Picochip picoXcell devices contain crypto offload engines that may be used for
|
|
||||||
IPSEC and femtocell layer 2 ciphering.
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
- compatible : "picochip,spacc-ipsec" for the IPSEC offload engine
|
|
||||||
"picochip,spacc-l2" for the femtocell layer 2 ciphering engine.
|
|
||||||
- reg : Offset and length of the register set for this device
|
|
||||||
- interrupts : The interrupt line from the SPAcc.
|
|
||||||
- ref-clock : The input clock that drives the SPAcc.
|
|
||||||
|
|
||||||
Example SPAcc node:
|
|
||||||
|
|
||||||
spacc@10000 {
|
|
||||||
compatible = "picochip,spacc-ipsec";
|
|
||||||
reg = <0x100000 0x10000>;
|
|
||||||
interrupt-parent = <&vic0>;
|
|
||||||
interrupts = <24>;
|
|
||||||
ref-clock = <&ipsec_clk>, "ref";
|
|
||||||
};
|
|
|
@ -12,7 +12,7 @@ Required properties:
|
||||||
example:
|
example:
|
||||||
|
|
||||||
display-subsystem {
|
display-subsystem {
|
||||||
compatible = "fsl,display-subsystem";
|
compatible = "fsl,imx-display-subsystem";
|
||||||
ports = <&ipu_di0>;
|
ports = <&ipu_di0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,23 @@ properties:
|
||||||
"#cooling-cells":
|
"#cooling-cells":
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
|
dynamic-power-coefficient:
|
||||||
|
$ref: '/schemas/types.yaml#/definitions/uint32'
|
||||||
|
description:
|
||||||
|
A u32 value that represents the running time dynamic
|
||||||
|
power coefficient in units of uW/MHz/V^2. The
|
||||||
|
coefficient can either be calculated from power
|
||||||
|
measurements or derived by analysis.
|
||||||
|
|
||||||
|
The dynamic power consumption of the GPU is
|
||||||
|
proportional to the square of the Voltage (V) and
|
||||||
|
the clock frequency (f). The coefficient is used to
|
||||||
|
calculate the dynamic power as below -
|
||||||
|
|
||||||
|
Pdyn = dynamic-power-coefficient * V^2 * f
|
||||||
|
|
||||||
|
where voltage is in V, frequency is in MHz.
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
|
|
@ -90,6 +90,23 @@ properties:
|
||||||
|
|
||||||
dma-coherent: true
|
dma-coherent: true
|
||||||
|
|
||||||
|
dynamic-power-coefficient:
|
||||||
|
$ref: '/schemas/types.yaml#/definitions/uint32'
|
||||||
|
description:
|
||||||
|
A u32 value that represents the running time dynamic
|
||||||
|
power coefficient in units of uW/MHz/V^2. The
|
||||||
|
coefficient can either be calculated from power
|
||||||
|
measurements or derived by analysis.
|
||||||
|
|
||||||
|
The dynamic power consumption of the GPU is
|
||||||
|
proportional to the square of the Voltage (V) and
|
||||||
|
the clock frequency (f). The coefficient is used to
|
||||||
|
calculate the dynamic power as below -
|
||||||
|
|
||||||
|
Pdyn = dynamic-power-coefficient * V^2 * f
|
||||||
|
|
||||||
|
where voltage is in V, frequency is in MHz.
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
|
|
@ -97,8 +97,8 @@ Example for GV11B:
|
||||||
|
|
||||||
gpu@17000000 {
|
gpu@17000000 {
|
||||||
compatible = "nvidia,gv11b";
|
compatible = "nvidia,gv11b";
|
||||||
reg = <0x17000000 0x10000000>,
|
reg = <0x17000000 0x1000000>,
|
||||||
<0x18000000 0x10000000>;
|
<0x18000000 0x1000000>;
|
||||||
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
|
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
|
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
interrupt-names = "stall", "nonstall";
|
interrupt-names = "stall", "nonstall";
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
An i2c gate is useful to e.g. reduce the digital noise for RF tuners connected
|
|
||||||
to the i2c bus. Gates are similar to arbitrators in that you need to perform
|
|
||||||
some kind of operation to access the i2c bus past the arbitrator/gate, but
|
|
||||||
there are no competing masters to consider for gates and therefore there is
|
|
||||||
no arbitration happening for gates.
|
|
||||||
|
|
||||||
Common i2c gate properties.
|
|
||||||
|
|
||||||
- i2c-gate child node
|
|
||||||
|
|
||||||
Required properties for the i2c-gate child node:
|
|
||||||
- #address-cells = <1>;
|
|
||||||
- #size-cells = <0>;
|
|
||||||
|
|
||||||
Optional properties for i2c-gate child node:
|
|
||||||
- Child nodes conforming to i2c bus binding
|
|
||||||
|
|
||||||
|
|
||||||
Example :
|
|
||||||
|
|
||||||
/*
|
|
||||||
An Invensense mpu9150 at address 0x68 featuring an on-chip Asahi
|
|
||||||
Kasei ak8975 compass behind a gate.
|
|
||||||
*/
|
|
||||||
|
|
||||||
mpu9150@68 {
|
|
||||||
compatible = "invensense,mpu9150";
|
|
||||||
reg = <0x68>;
|
|
||||||
interrupt-parent = <&gpio1>;
|
|
||||||
interrupts = <18 1>;
|
|
||||||
|
|
||||||
i2c-gate {
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
ax8975@c {
|
|
||||||
compatible = "ak,ak8975";
|
|
||||||
reg = <0x0c>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/i2c/i2c-gate.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Common i2c gate properties
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Peter Rosin <peda@axentia.se>
|
||||||
|
|
||||||
|
description: |
|
||||||
|
An i2c gate is useful to e.g. reduce the digital noise for RF tuners connected
|
||||||
|
to the i2c bus. Gates are similar to arbitrators in that you need to perform
|
||||||
|
some kind of operation to access the i2c bus past the arbitrator/gate, but
|
||||||
|
there are no competing masters to consider for gates and therefore there is
|
||||||
|
no arbitration happening for gates.
|
||||||
|
|
||||||
|
allOf:
|
||||||
|
- $ref: /schemas/i2c/i2c-controller.yaml
|
||||||
|
|
||||||
|
properties:
|
||||||
|
$nodename:
|
||||||
|
const: i2c-gate
|
||||||
|
|
||||||
|
additionalProperties: true
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
i2c-gate {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
ak8975@c {
|
||||||
|
compatible = "ak,ak8975";
|
||||||
|
reg = <0x0c>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
...
|
||||||
|
|
|
@ -101,8 +101,6 @@ unevaluatedProperties: false
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
- "#address-cells"
|
|
||||||
- "#size-cells"
|
|
||||||
- interrupts
|
- interrupts
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
@ -110,8 +108,6 @@ examples:
|
||||||
i2c@f0000 {
|
i2c@f0000 {
|
||||||
compatible = "snps,designware-i2c";
|
compatible = "snps,designware-i2c";
|
||||||
reg = <0xf0000 0x1000>;
|
reg = <0xf0000 0x1000>;
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
interrupts = <11>;
|
interrupts = <11>;
|
||||||
clock-frequency = <400000>;
|
clock-frequency = <400000>;
|
||||||
};
|
};
|
||||||
|
@ -119,8 +115,6 @@ examples:
|
||||||
i2c@1120000 {
|
i2c@1120000 {
|
||||||
compatible = "snps,designware-i2c";
|
compatible = "snps,designware-i2c";
|
||||||
reg = <0x1120000 0x1000>;
|
reg = <0x1120000 0x1000>;
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
interrupts = <12 1>;
|
interrupts = <12 1>;
|
||||||
clock-frequency = <400000>;
|
clock-frequency = <400000>;
|
||||||
i2c-sda-hold-time-ns = <300>;
|
i2c-sda-hold-time-ns = <300>;
|
||||||
|
@ -148,8 +142,6 @@ examples:
|
||||||
reg = <0x100400 0x100>, <0x198 0x8>;
|
reg = <0x100400 0x100>, <0x198 0x8>;
|
||||||
pinctrl-0 = <&i2c_pins>;
|
pinctrl-0 = <&i2c_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
interrupts = <8>;
|
interrupts = <8>;
|
||||||
clocks = <&ahb_clk>;
|
clocks = <&ahb_clk>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -131,7 +131,7 @@ additionalProperties: false
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
#include <dt-bindings/clock/stm32mp1-clks.h>
|
#include <dt-bindings/clock/stm32mp1-clks.h>
|
||||||
timers2: timers@40000000 {
|
timers2: timer@40000000 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
compatible = "st,stm32-timers";
|
compatible = "st,stm32-timers";
|
||||||
|
@ -149,9 +149,9 @@ examples:
|
||||||
#pwm-cells = <3>;
|
#pwm-cells = <3>;
|
||||||
st,breakinput = <0 1 5>;
|
st,breakinput = <0 1 5>;
|
||||||
};
|
};
|
||||||
timer@0 {
|
timer@1 {
|
||||||
compatible = "st,stm32-timer-trigger";
|
compatible = "st,stm32-timer-trigger";
|
||||||
reg = <0>;
|
reg = <1>;
|
||||||
};
|
};
|
||||||
counter {
|
counter {
|
||||||
compatible = "st,stm32-timer-counter";
|
compatible = "st,stm32-timer-counter";
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
DPAA2 console support
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
|
|
||||||
- compatible
|
|
||||||
Value type: <string>
|
|
||||||
Definition: Must be "fsl,dpaa2-console".
|
|
||||||
- reg
|
|
||||||
Value type: <prop-encoded-array>
|
|
||||||
Definition: A standard property. Specifies the region where the MCFBA
|
|
||||||
(MC firmware base address) register can be found.
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||||
|
# Copyright 2020 NXP
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/misc/fsl,dpaa2-console.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: DPAA2 console support
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: "fsl,dpaa2-console"
|
||||||
|
|
||||||
|
reg:
|
||||||
|
description: A standard property. Specifies the region where the MCFBA
|
||||||
|
(MC firmware base address) register can be found.
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
|
||||||
|
additionalProperties: false
|
|
@ -24,137 +24,10 @@ another partitioning method.
|
||||||
Available bindings are listed in the "partitions" subdirectory.
|
Available bindings are listed in the "partitions" subdirectory.
|
||||||
|
|
||||||
|
|
||||||
Fixed Partitions
|
Deprecated: partitions defined in flash node
|
||||||
================
|
============================================
|
||||||
|
|
||||||
Partitions can be represented by sub-nodes of a flash device. This can be used
|
|
||||||
on platforms which have strong conventions about which portions of a flash are
|
|
||||||
used for what purposes, but which don't use an on-flash partition table such
|
|
||||||
as RedBoot.
|
|
||||||
|
|
||||||
The partition table should be a subnode of the flash node and should be named
|
|
||||||
'partitions'. This node should have the following property:
|
|
||||||
- compatible : (required) must be "fixed-partitions"
|
|
||||||
Partitions are then defined in subnodes of the partitions node.
|
|
||||||
|
|
||||||
For backwards compatibility partitions as direct subnodes of the flash device are
|
For backwards compatibility partitions as direct subnodes of the flash device are
|
||||||
supported. This use is discouraged.
|
supported. This use is discouraged.
|
||||||
NOTE: also for backwards compatibility, direct subnodes that have a compatible
|
NOTE: also for backwards compatibility, direct subnodes that have a compatible
|
||||||
string are not considered partitions, as they may be used for other bindings.
|
string are not considered partitions, as they may be used for other bindings.
|
||||||
|
|
||||||
#address-cells & #size-cells must both be present in the partitions subnode of the
|
|
||||||
flash device. There are two valid values for both:
|
|
||||||
<1>: for partitions that require a single 32-bit cell to represent their
|
|
||||||
size/address (aka the value is below 4 GiB)
|
|
||||||
<2>: for partitions that require two 32-bit cells to represent their
|
|
||||||
size/address (aka the value is 4 GiB or greater).
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
- reg : The partition's offset and size within the flash
|
|
||||||
|
|
||||||
Optional properties:
|
|
||||||
- label : The label / name for this partition. If omitted, the label is taken
|
|
||||||
from the node name (excluding the unit address).
|
|
||||||
- read-only : This parameter, if present, is a hint to Linux that this
|
|
||||||
partition should only be mounted read-only. This is usually used for flash
|
|
||||||
partitions containing early-boot firmware images or data which should not be
|
|
||||||
clobbered.
|
|
||||||
- lock : Do not unlock the partition at initialization time (not supported on
|
|
||||||
all devices)
|
|
||||||
- slc-mode: This parameter, if present, allows one to emulate SLC mode on a
|
|
||||||
partition attached to an MLC NAND thus making this partition immune to
|
|
||||||
paired-pages corruptions
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
|
|
||||||
|
|
||||||
flash@0 {
|
|
||||||
partitions {
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x100000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
uimage@100000 {
|
|
||||||
reg = <0x0100000 0x200000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
flash@1 {
|
|
||||||
partitions {
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
|
|
||||||
/* a 4 GiB partition */
|
|
||||||
partition@0 {
|
|
||||||
label = "filesystem";
|
|
||||||
reg = <0x00000000 0x1 0x00000000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
flash@2 {
|
|
||||||
partitions {
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
|
|
||||||
/* an 8 GiB partition */
|
|
||||||
partition@0 {
|
|
||||||
label = "filesystem #1";
|
|
||||||
reg = <0x0 0x00000000 0x2 0x00000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* a 4 GiB partition */
|
|
||||||
partition@200000000 {
|
|
||||||
label = "filesystem #2";
|
|
||||||
reg = <0x2 0x00000000 0x1 0x00000000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
flash@3 {
|
|
||||||
partitions {
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "bootloader";
|
|
||||||
reg = <0x000000 0x100000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
firmware@100000 {
|
|
||||||
label = "firmware";
|
|
||||||
reg = <0x100000 0xe00000>;
|
|
||||||
compatible = "brcm,trx";
|
|
||||||
};
|
|
||||||
|
|
||||||
calibration@f00000 {
|
|
||||||
label = "calibration";
|
|
||||||
reg = <0xf00000 0x100000>;
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
ranges = <0 0xf00000 0x100000>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "wifi0";
|
|
||||||
reg = <0x000000 0x080000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@80000 {
|
|
||||||
label = "wifi1";
|
|
||||||
reg = <0x080000 0x080000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
|
@ -0,0 +1,152 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Fixed partitions
|
||||||
|
|
||||||
|
description: |
|
||||||
|
This binding can be used on platforms which have strong conventions about
|
||||||
|
which portions of a flash are used for what purposes, but which don't use an
|
||||||
|
on-flash partition table such as RedBoot.
|
||||||
|
|
||||||
|
The partition table should be a node named "partitions". Partitions are then
|
||||||
|
defined as subnodes.
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Rafał Miłecki <rafal@milecki.pl>
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: fixed-partitions
|
||||||
|
|
||||||
|
"#address-cells": true
|
||||||
|
|
||||||
|
"#size-cells": true
|
||||||
|
|
||||||
|
patternProperties:
|
||||||
|
"@[0-9a-f]+$":
|
||||||
|
description: node describing a single flash partition
|
||||||
|
type: object
|
||||||
|
|
||||||
|
properties:
|
||||||
|
reg:
|
||||||
|
description: partition's offset and size within the flash
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
label:
|
||||||
|
description: The label / name for this partition. If omitted, the label
|
||||||
|
is taken from the node name (excluding the unit address).
|
||||||
|
|
||||||
|
read-only:
|
||||||
|
description: This parameter, if present, is a hint that this partition
|
||||||
|
should only be mounted read-only. This is usually used for flash
|
||||||
|
partitions containing early-boot firmware images or data which should
|
||||||
|
not be clobbered.
|
||||||
|
type: boolean
|
||||||
|
|
||||||
|
lock:
|
||||||
|
description: Do not unlock the partition at initialization time (not
|
||||||
|
supported on all devices)
|
||||||
|
type: boolean
|
||||||
|
|
||||||
|
slc-mode:
|
||||||
|
description: This parameter, if present, allows one to emulate SLC mode
|
||||||
|
on a partition attached to an MLC NAND thus making this partition
|
||||||
|
immune to paired-pages corruptions
|
||||||
|
type: boolean
|
||||||
|
|
||||||
|
required:
|
||||||
|
- reg
|
||||||
|
|
||||||
|
required:
|
||||||
|
- "#address-cells"
|
||||||
|
- "#size-cells"
|
||||||
|
|
||||||
|
additionalProperties: true
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
partitions {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0x100000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
uimage@100000 {
|
||||||
|
reg = <0x0100000 0x200000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
- |
|
||||||
|
partitions {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <2>;
|
||||||
|
|
||||||
|
/* a 4 GiB partition */
|
||||||
|
partition@0 {
|
||||||
|
label = "filesystem";
|
||||||
|
reg = <0x00000000 0x1 0x00000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
- |
|
||||||
|
partitions {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <2>;
|
||||||
|
|
||||||
|
/* an 8 GiB partition */
|
||||||
|
partition@0 {
|
||||||
|
label = "filesystem #1";
|
||||||
|
reg = <0x0 0x00000000 0x2 0x00000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* a 4 GiB partition */
|
||||||
|
partition@200000000 {
|
||||||
|
label = "filesystem #2";
|
||||||
|
reg = <0x2 0x00000000 0x1 0x00000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
- |
|
||||||
|
partitions {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "bootloader";
|
||||||
|
reg = <0x000000 0x100000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
firmware@100000 {
|
||||||
|
compatible = "brcm,trx";
|
||||||
|
label = "firmware";
|
||||||
|
reg = <0x100000 0xe00000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
calibration@f00000 {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
label = "calibration";
|
||||||
|
reg = <0xf00000 0x100000>;
|
||||||
|
ranges = <0 0xf00000 0x100000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "wifi0";
|
||||||
|
reg = <0x000000 0x080000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@80000 {
|
||||||
|
label = "wifi1";
|
||||||
|
reg = <0x080000 0x080000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -7,8 +7,6 @@ Required properties:
|
||||||
Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC.
|
Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC.
|
||||||
Use "cdns,np4-macb" for NP4 SoC devices.
|
Use "cdns,np4-macb" for NP4 SoC devices.
|
||||||
Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
|
Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
|
||||||
Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
|
|
||||||
the Cadence GEM, or the generic form: "cdns,gem".
|
|
||||||
Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs.
|
Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs.
|
||||||
Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs.
|
Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs.
|
||||||
Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs.
|
Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs.
|
||||||
|
|
|
@ -32,6 +32,10 @@ properties:
|
||||||
- const: memory2
|
- const: memory2
|
||||||
- const: memory3
|
- const: memory3
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
minItems: 3
|
||||||
|
maxItems: 3
|
||||||
|
|
||||||
power-domains:
|
power-domains:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
@ -53,6 +57,7 @@ required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
- reg-names
|
- reg-names
|
||||||
|
- interrupts
|
||||||
- resets
|
- resets
|
||||||
- power-domains
|
- power-domains
|
||||||
- clocks
|
- clocks
|
||||||
|
@ -64,6 +69,7 @@ additionalProperties: false
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
#include <dt-bindings/clock/r8a774c0-cpg-mssr.h>
|
#include <dt-bindings/clock/r8a774c0-cpg-mssr.h>
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
#include <dt-bindings/power/r8a774c0-sysc.h>
|
#include <dt-bindings/power/r8a774c0-sysc.h>
|
||||||
|
|
||||||
pcie0_ep: pcie-ep@fe000000 {
|
pcie0_ep: pcie-ep@fe000000 {
|
||||||
|
@ -75,6 +81,9 @@ examples:
|
||||||
<0x30000000 0x8000000>,
|
<0x30000000 0x8000000>,
|
||||||
<0x38000000 0x8000000>;
|
<0x38000000 0x8000000>;
|
||||||
reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
|
reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
|
||||||
|
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
resets = <&cpg 319>;
|
resets = <&cpg 319>;
|
||||||
power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
|
power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
|
||||||
clocks = <&cpg CPG_MOD 319>;
|
clocks = <&cpg CPG_MOD 319>;
|
||||||
|
|
|
@ -23,7 +23,7 @@ example:
|
||||||
#reset-cells = <1>;
|
#reset-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
dw_rst_2: reset-controller@1000 {i
|
dw_rst_2: reset-controller@1000 {
|
||||||
compatible = "snps,dw-low-reset";
|
compatible = "snps,dw-low-reset";
|
||||||
reg = <0x1000 0x8>;
|
reg = <0x1000 0x8>;
|
||||||
#reset-cells = <1>;
|
#reset-cells = <1>;
|
||||||
|
|
|
@ -38,13 +38,6 @@ properties:
|
||||||
|
|
||||||
clock-frequency: true
|
clock-frequency: true
|
||||||
|
|
||||||
clock-freq:
|
|
||||||
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
||||||
description: |
|
|
||||||
Has the same meaning as the 'clock-frequency' property - timer clock
|
|
||||||
frequency in HZ, but is defined only for the backwards compatibility
|
|
||||||
with the picoxcell platform.
|
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
required:
|
required:
|
||||||
|
|
|
@ -30,6 +30,12 @@ properties:
|
||||||
- ad,ad7414
|
- ad,ad7414
|
||||||
# ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
|
# ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
|
||||||
- ad,adm9240
|
- ad,adm9240
|
||||||
|
# Analog Devices ADP5585 Keypad Decoder and I/O Expansion
|
||||||
|
- adi,adp5585
|
||||||
|
# Analog Devices ADP5585 Keypad Decoder and I/O Expansion with support for Row5
|
||||||
|
- adi,adp5585-02
|
||||||
|
# Analog Devices ADP5589 Keypad Decoder and I/O Expansion
|
||||||
|
- adi,adp5589
|
||||||
# +/-1C TDM Extended Temp Range I.C
|
# +/-1C TDM Extended Temp Range I.C
|
||||||
- adi,adt7461
|
- adi,adt7461
|
||||||
# +/-1C TDM Extended Temp Range I.C
|
# +/-1C TDM Extended Temp Range I.C
|
||||||
|
@ -62,6 +68,8 @@ properties:
|
||||||
- dallas,ds4510
|
- dallas,ds4510
|
||||||
# Digital Thermometer and Thermostat
|
# Digital Thermometer and Thermostat
|
||||||
- dallas,ds75
|
- dallas,ds75
|
||||||
|
# 1/4 Brick DC/DC Regulated Power Module
|
||||||
|
- delta,q54sj108a2
|
||||||
# Devantech SRF02 ultrasonic ranger in I2C mode
|
# Devantech SRF02 ultrasonic ranger in I2C mode
|
||||||
- devantech,srf02
|
- devantech,srf02
|
||||||
# Devantech SRF08 ultrasonic ranger
|
# Devantech SRF08 ultrasonic ranger
|
||||||
|
|
|
@ -16,7 +16,7 @@ properties: {}
|
||||||
patternProperties:
|
patternProperties:
|
||||||
# Prefixes which are not vendors, but followed the pattern
|
# Prefixes which are not vendors, but followed the pattern
|
||||||
# DO NOT ADD NEW PROPERTIES TO THIS LIST
|
# DO NOT ADD NEW PROPERTIES TO THIS LIST
|
||||||
"^(at25|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio|gpmc|hdmi|i2c-gpio),.*": true
|
"^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true
|
||||||
"^(keypad|m25p|max8952|max8997|max8998|mpmc),.*": true
|
"^(keypad|m25p|max8952|max8997|max8998|mpmc),.*": true
|
||||||
"^(pinctrl-single|#pinctrl-single|PowerPC),.*": true
|
"^(pinctrl-single|#pinctrl-single|PowerPC),.*": true
|
||||||
"^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true
|
"^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true
|
||||||
|
@ -81,6 +81,8 @@ patternProperties:
|
||||||
description: Shenzhen Amediatech Technology Co., Ltd
|
description: Shenzhen Amediatech Technology Co., Ltd
|
||||||
"^amlogic,.*":
|
"^amlogic,.*":
|
||||||
description: Amlogic, Inc.
|
description: Amlogic, Inc.
|
||||||
|
"^ampere,.*":
|
||||||
|
description: Ampere Computing LLC
|
||||||
"^ampire,.*":
|
"^ampire,.*":
|
||||||
description: Ampire Co., Ltd.
|
description: Ampire Co., Ltd.
|
||||||
"^ams,.*":
|
"^ams,.*":
|
||||||
|
@ -379,6 +381,8 @@ patternProperties:
|
||||||
description: Shenzhen Feixin Photoelectic Co., Ltd
|
description: Shenzhen Feixin Photoelectic Co., Ltd
|
||||||
"^feiyang,.*":
|
"^feiyang,.*":
|
||||||
description: Shenzhen Fly Young Technology Co.,LTD.
|
description: Shenzhen Fly Young Technology Co.,LTD.
|
||||||
|
"^fii,.*":
|
||||||
|
description: Foxconn Industrial Internet
|
||||||
"^firefly,.*":
|
"^firefly,.*":
|
||||||
description: Firefly
|
description: Firefly
|
||||||
"^focaltech,.*":
|
"^focaltech,.*":
|
||||||
|
@ -659,6 +663,8 @@ patternProperties:
|
||||||
description: MEMSIC Inc.
|
description: MEMSIC Inc.
|
||||||
"^menlo,.*":
|
"^menlo,.*":
|
||||||
description: Menlo Systems GmbH
|
description: Menlo Systems GmbH
|
||||||
|
"^mentor,.*":
|
||||||
|
description: Mentor Graphics
|
||||||
"^meraki,.*":
|
"^meraki,.*":
|
||||||
description: Cisco Meraki, LLC
|
description: Cisco Meraki, LLC
|
||||||
"^merrii,.*":
|
"^merrii,.*":
|
||||||
|
@ -1105,7 +1111,7 @@ patternProperties:
|
||||||
"^tpo,.*":
|
"^tpo,.*":
|
||||||
description: TPO
|
description: TPO
|
||||||
"^tq,.*":
|
"^tq,.*":
|
||||||
description: TQ Systems GmbH
|
description: TQ-Systems GmbH
|
||||||
"^tronfy,.*":
|
"^tronfy,.*":
|
||||||
description: Tronfy
|
description: Tronfy
|
||||||
"^tronsmart,.*":
|
"^tronsmart,.*":
|
||||||
|
|
|
@ -123,7 +123,6 @@
|
||||||
clocks = <&usbclk LPC32XX_USB_CLK_I2C>;
|
clocks = <&usbclk LPC32XX_USB_CLK_I2C>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
pnx,timeout = <0x64>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
usbclk: clock-controller@f00 {
|
usbclk: clock-controller@f00 {
|
||||||
|
@ -286,7 +285,6 @@
|
||||||
interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
pnx,timeout = <0x64>;
|
|
||||||
clocks = <&clk LPC32XX_CLK_I2C1>;
|
clocks = <&clk LPC32XX_CLK_I2C1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -297,7 +295,6 @@
|
||||||
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
pnx,timeout = <0x64>;
|
|
||||||
clocks = <&clk LPC32XX_CLK_I2C2>;
|
clocks = <&clk LPC32XX_CLK_I2C2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue