Commit 972d6a7d authored by Rob Herring's avatar Rob Herring

dt-bindings: Drop redundant minItems/maxItems

If a property has an 'items' list, then a 'minItems' or 'maxItems' with the
same size as the list is redundant and can be dropped. Note that is DT
schema specific behavior and not standard json-schema behavior. The tooling
will fixup the final schema adding any unspecified minItems/maxItems.

This condition is partially checked with the meta-schema already, but
only if both 'minItems' and 'maxItems' are equal to the 'items' length.
An improved meta-schema is pending.

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Kamal Dasu <kdasu.kdev@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Vivien Didelot <vivien.didelot@gmail.com>
Cc: Vladimir Oltean <olteanv@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # for MMC
Acked-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
Acked-By: default avatarVinod Koul <vkoul@kernel.org>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: default avatarArnaud Pouliquen <arnaud.pouliquen@st.com>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210615191543.1043414-1-robh@kernel.org
parent dc401475
...@@ -20,7 +20,6 @@ properties: ...@@ -20,7 +20,6 @@ properties:
reg: reg:
minItems: 2 minItems: 2
maxItems: 3
items: items:
- description: AHCI registers - description: AHCI registers
- description: SATA configuration and IPFS registers - description: SATA configuration and IPFS registers
......
...@@ -51,7 +51,6 @@ properties: ...@@ -51,7 +51,6 @@ properties:
clocks: clocks:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- description: High Frequency Oscillator (usually at 24MHz) - description: High Frequency Oscillator (usually at 24MHz)
- description: Low Frequency Oscillator (usually at 32kHz) - description: Low Frequency Oscillator (usually at 32kHz)
...@@ -60,7 +59,6 @@ properties: ...@@ -60,7 +59,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- const: hosc - const: hosc
- const: losc - const: losc
......
...@@ -46,7 +46,6 @@ properties: ...@@ -46,7 +46,6 @@ properties:
nvmem-cell-names: nvmem-cell-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: calib - const: calib
- const: calib_backup - const: calib_backup
......
...@@ -27,7 +27,6 @@ properties: ...@@ -27,7 +27,6 @@ properties:
- description: Sleep clock source - description: Sleep clock source
- description: PLL test clock source (Optional clock) - description: PLL test clock source (Optional clock)
minItems: 2 minItems: 2
maxItems: 3
clock-names: clock-names:
items: items:
...@@ -35,7 +34,6 @@ properties: ...@@ -35,7 +34,6 @@ properties:
- const: sleep_clk - const: sleep_clk
- const: core_bi_pll_test_se # Optional clock - const: core_bi_pll_test_se # Optional clock
minItems: 2 minItems: 2
maxItems: 3
'#clock-cells': '#clock-cells':
const: 1 const: 1
......
...@@ -36,7 +36,6 @@ properties: ...@@ -36,7 +36,6 @@ properties:
- description: USB3 phy wrapper pipe clock source (Optional clock) - description: USB3 phy wrapper pipe clock source (Optional clock)
- description: USB3 phy sec pipe clock source (Optional clock) - description: USB3 phy sec pipe clock source (Optional clock)
minItems: 2 minItems: 2
maxItems: 13
clock-names: clock-names:
items: items:
...@@ -54,7 +53,6 @@ properties: ...@@ -54,7 +53,6 @@ properties:
- const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock - const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock
- const: usb3_uni_phy_sec_gcc_usb30_pipe_clk # Optional clock - const: usb3_uni_phy_sec_gcc_usb30_pipe_clk # Optional clock
minItems: 2 minItems: 2
maxItems: 13
'#clock-cells': '#clock-cells':
const: 1 const: 1
......
...@@ -40,7 +40,6 @@ properties: ...@@ -40,7 +40,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 4
items: items:
- const: ext-26m - const: ext-26m
- const: ext-32k - const: ext-32k
......
...@@ -30,7 +30,6 @@ properties: ...@@ -30,7 +30,6 @@ properties:
- description: Module clock - description: Module clock
- description: MBus clock - description: MBus clock
minItems: 2 minItems: 2
maxItems: 3
clock-names: clock-names:
items: items:
...@@ -38,7 +37,6 @@ properties: ...@@ -38,7 +37,6 @@ properties:
- const: mod - const: mod
- const: ram - const: ram
minItems: 2 minItems: 2
maxItems: 3
resets: resets:
maxItems: 1 maxItems: 1
......
...@@ -27,7 +27,6 @@ properties: ...@@ -27,7 +27,6 @@ properties:
- description: MXS DCP DCP interrupt - description: MXS DCP DCP interrupt
- description: MXS DCP secure interrupt - description: MXS DCP secure interrupt
minItems: 2 minItems: 2
maxItems: 3
clocks: clocks:
maxItems: 1 maxItems: 1
......
...@@ -26,14 +26,12 @@ properties: ...@@ -26,14 +26,12 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Display Backend registers - description: Display Backend registers
- description: SAT registers - description: SAT registers
reg-names: reg-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: be - const: be
- const: sat - const: sat
...@@ -43,7 +41,6 @@ properties: ...@@ -43,7 +41,6 @@ properties:
clocks: clocks:
minItems: 3 minItems: 3
maxItems: 4
items: items:
- description: The backend interface clock - description: The backend interface clock
- description: The backend module clock - description: The backend module clock
...@@ -52,7 +49,6 @@ properties: ...@@ -52,7 +49,6 @@ properties:
clock-names: clock-names:
minItems: 3 minItems: 3
maxItems: 4
items: items:
- const: ahb - const: ahb
- const: mod - const: mod
...@@ -61,14 +57,12 @@ properties: ...@@ -61,14 +57,12 @@ properties:
resets: resets:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: The Backend reset line - description: The Backend reset line
- description: The SAT reset line - description: The SAT reset line
reset-names: reset-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: be - const: be
- const: sat - const: sat
......
...@@ -24,7 +24,6 @@ properties: ...@@ -24,7 +24,6 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Bus Clock - description: Bus Clock
- description: Module Clock - description: Module Clock
......
...@@ -46,7 +46,6 @@ properties: ...@@ -46,7 +46,6 @@ properties:
clocks: clocks:
minItems: 3 minItems: 3
maxItems: 6
items: items:
- description: Bus Clock - description: Bus Clock
- description: Register Clock - description: Register Clock
...@@ -57,7 +56,6 @@ properties: ...@@ -57,7 +56,6 @@ properties:
clock-names: clock-names:
minItems: 3 minItems: 3
maxItems: 6
items: items:
- const: iahb - const: iahb
- const: isfr - const: isfr
...@@ -68,14 +66,12 @@ properties: ...@@ -68,14 +66,12 @@ properties:
resets: resets:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: HDMI Controller Reset - description: HDMI Controller Reset
- description: HDCP Reset - description: HDCP Reset
reset-names: reset-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: ctrl - const: ctrl
- const: hdcp - const: hdcp
......
...@@ -27,7 +27,6 @@ properties: ...@@ -27,7 +27,6 @@ properties:
clocks: clocks:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- description: Bus Clock - description: Bus Clock
- description: Module Clock - description: Module Clock
...@@ -36,7 +35,6 @@ properties: ...@@ -36,7 +35,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- const: bus - const: bus
- const: mod - const: mod
......
...@@ -48,7 +48,6 @@ properties: ...@@ -48,7 +48,6 @@ properties:
clocks: clocks:
minItems: 2 minItems: 2
maxItems: 6
items: items:
- description: The TCON TOP interface clock - description: The TCON TOP interface clock
- description: The TCON TOP TV0 clock - description: The TCON TOP TV0 clock
...@@ -59,7 +58,6 @@ properties: ...@@ -59,7 +58,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 6
items: items:
- const: bus - const: bus
- const: tcon-tv0 - const: tcon-tv0
......
...@@ -39,7 +39,6 @@ properties: ...@@ -39,7 +39,6 @@ properties:
Names of maps with programmable addresses. It can contain any map Names of maps with programmable addresses. It can contain any map
needing a non-default address. needing a non-default address.
minItems: 1 minItems: 1
maxItems: 4
items: items:
- const: main - const: main
- const: edid - const: edid
......
...@@ -18,7 +18,6 @@ properties: ...@@ -18,7 +18,6 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: - description:
Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P). Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P).
...@@ -29,7 +28,6 @@ properties: ...@@ -29,7 +28,6 @@ properties:
reg-names: reg-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: mhdptx - const: mhdptx
- const: j721e-intg - const: j721e-intg
......
...@@ -29,7 +29,6 @@ properties: ...@@ -29,7 +29,6 @@ properties:
clocks: clocks:
minItems: 2 minItems: 2
maxItems: 5
items: items:
- {} - {}
- {} - {}
...@@ -41,7 +40,6 @@ properties: ...@@ -41,7 +40,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 5
items: items:
- {} - {}
- {} - {}
......
...@@ -29,7 +29,6 @@ properties: ...@@ -29,7 +29,6 @@ properties:
- description: DSI bus clock - description: DSI bus clock
- description: Pixel clock - description: Pixel clock
minItems: 2 minItems: 2
maxItems: 3
clock-names: clock-names:
items: items:
...@@ -37,7 +36,6 @@ properties: ...@@ -37,7 +36,6 @@ properties:
- const: ref - const: ref
- const: px_clk - const: px_clk
minItems: 2 minItems: 2
maxItems: 3
resets: resets:
maxItems: 1 maxItems: 1
......
...@@ -22,7 +22,6 @@ properties: ...@@ -22,7 +22,6 @@ properties:
- description: events interrupt line. - description: events interrupt line.
- description: errors interrupt line. - description: errors interrupt line.
minItems: 1 minItems: 1
maxItems: 2
clocks: clocks:
maxItems: 1 maxItems: 1
......
...@@ -65,7 +65,6 @@ properties: ...@@ -65,7 +65,6 @@ properties:
The APB clock and at least one video clock are mandatory, the audio clock The APB clock and at least one video clock are mandatory, the audio clock
is optional. is optional.
minItems: 2 minItems: 2
maxItems: 4
items: items:
- description: dp_apb_clk is the APB clock - description: dp_apb_clk is the APB clock
- description: dp_aud_clk is the Audio clock - description: dp_aud_clk is the Audio clock
...@@ -78,13 +77,11 @@ properties: ...@@ -78,13 +77,11 @@ properties:
clock-names: clock-names:
oneOf: oneOf:
- minItems: 2 - minItems: 2
maxItems: 3
items: items:
- const: dp_apb_clk - const: dp_apb_clk
- enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ] - enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ]
- enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ] - enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ]
- minItems: 3 - minItems: 3
maxItems: 4
items: items:
- const: dp_apb_clk - const: dp_apb_clk
- const: dp_aud_clk - const: dp_aud_clk
...@@ -116,7 +113,6 @@ properties: ...@@ -116,7 +113,6 @@ properties:
maxItems: 2 maxItems: 2
phy-names: phy-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: dp-phy0 - const: dp-phy0
- const: dp-phy1 - const: dp-phy1
......
...@@ -52,7 +52,6 @@ properties: ...@@ -52,7 +52,6 @@ properties:
interrupt-names: interrupt-names:
minItems: 9 minItems: 9
maxItems: 17
items: items:
- const: error - const: error
- pattern: "^ch([0-9]|1[0-5])$" - pattern: "^ch([0-9]|1[0-5])$"
......
...@@ -30,14 +30,12 @@ properties: ...@@ -30,14 +30,12 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: uncorrectable error interrupt - description: uncorrectable error interrupt
- description: correctable error interrupt - description: correctable error interrupt
interrupt-names: interrupt-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: ue - const: ue
- const: ce - const: ce
......
...@@ -32,7 +32,6 @@ properties: ...@@ -32,7 +32,6 @@ properties:
oneOf: oneOf:
- allOf: - allOf:
- minItems: 1 - minItems: 1
maxItems: 2
items: items:
- pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$" - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$"
- pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"
......
...@@ -91,7 +91,6 @@ properties: ...@@ -91,7 +91,6 @@ properties:
interrupts: interrupts:
# Either 1 or 2 interrupts can be present # Either 1 or 2 interrupts can be present
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: tx or combined interrupt - description: tx or combined interrupt
- description: rx interrupt - description: rx interrupt
...@@ -105,7 +104,6 @@ properties: ...@@ -105,7 +104,6 @@ properties:
interrupt-names: interrupt-names:
# minItems must be specified here because the default would be 2 # minItems must be specified here because the default would be 2
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: tx irq - const: tx irq
- const: rx irq - const: rx irq
......
...@@ -34,7 +34,6 @@ properties: ...@@ -34,7 +34,6 @@ properties:
- enum: [ bridge, gca ] - enum: [ bridge, gca ]
- enum: [ bridge, gca ] - enum: [ bridge, gca ]
minItems: 2 minItems: 2
maxItems: 4
interrupts: interrupts:
items: items:
......
...@@ -36,7 +36,6 @@ properties: ...@@ -36,7 +36,6 @@ properties:
- description: AHB/slave interface clock (only required if GPU can gate - description: AHB/slave interface clock (only required if GPU can gate
slave interface independently) slave interface independently)
minItems: 1 minItems: 1
maxItems: 4
clock-names: clock-names:
items: items:
......
...@@ -21,7 +21,6 @@ properties: ...@@ -21,7 +21,6 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: address offset and range of bus - description: address offset and range of bus
- description: address offset and range of bus buffer - description: address offset and range of bus buffer
......
...@@ -21,7 +21,6 @@ properties: ...@@ -21,7 +21,6 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: BSC register range - description: BSC register range
- description: Auto-I2C register range - description: Auto-I2C register range
......
...@@ -43,14 +43,12 @@ properties: ...@@ -43,14 +43,12 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Reference clock for the I2C bus - description: Reference clock for the I2C bus
- description: Bus clock (Only for Armada 7K/8K) - description: Bus clock (Only for Armada 7K/8K)
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: core - const: core
- const: reg - const: reg
......
...@@ -20,7 +20,6 @@ properties: ...@@ -20,7 +20,6 @@ properties:
reg: reg:
minItems: 3 minItems: 3
maxItems: 4
items: items:
- description: Smbus block registers - description: Smbus block registers
- description: Cause master registers - description: Cause master registers
......
...@@ -41,7 +41,6 @@ properties: ...@@ -41,7 +41,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- const: clkin - const: clkin
- const: core - const: core
......
...@@ -38,14 +38,12 @@ properties: ...@@ -38,14 +38,12 @@ properties:
dfsdm clock can also feed CLKOUT, when CLKOUT is used. dfsdm clock can also feed CLKOUT, when CLKOUT is used.
- description: audio clock can be used as an alternate to feed CLKOUT. - description: audio clock can be used as an alternate to feed CLKOUT.
minItems: 1 minItems: 1
maxItems: 2
clock-names: clock-names:
items: items:
- const: dfsdm - const: dfsdm
- const: audio - const: audio
minItems: 1 minItems: 1
maxItems: 2
"#address-cells": "#address-cells":
const: 1 const: 1
......
...@@ -35,7 +35,6 @@ properties: ...@@ -35,7 +35,6 @@ properties:
- description: output interrupt 6 - description: output interrupt 6
- description: output interrupt 7 - description: output interrupt 7
minItems: 1 minItems: 1
maxItems: 8
clocks: clocks:
maxItems: 1 maxItems: 1
......
...@@ -50,7 +50,6 @@ properties: ...@@ -50,7 +50,6 @@ properties:
- const: int2 - const: int2
- const: int3 - const: int3
minItems: 1 minItems: 1
maxItems: 4
'#interrupt-cells': '#interrupt-cells':
const: 2 const: 2
......
...@@ -38,7 +38,6 @@ properties: ...@@ -38,7 +38,6 @@ properties:
If provided, then the combined interrupt will be used in preference to If provided, then the combined interrupt will be used in preference to
any others. any others.
- minItems: 2 - minItems: 2
maxItems: 4
items: items:
- const: eventq # Event Queue not empty - const: eventq # Event Queue not empty
- const: gerror # Global Error activated - const: gerror # Global Error activated
......
...@@ -49,7 +49,6 @@ properties: ...@@ -49,7 +49,6 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
description: description:
Specifiers for the MMU fault interrupts. Not required for cache IPMMUs. Specifiers for the MMU fault interrupts. Not required for cache IPMMUs.
items: items:
......
...@@ -32,7 +32,6 @@ properties: ...@@ -32,7 +32,6 @@ properties:
- description: tx channel free - description: tx channel free
- description: wakeup source - description: wakeup source
minItems: 2 minItems: 2
maxItems: 3
interrupt-names: interrupt-names:
items: items:
...@@ -40,7 +39,6 @@ properties: ...@@ -40,7 +39,6 @@ properties:
- const: tx - const: tx
- const: wakeup - const: wakeup
minItems: 2 minItems: 2
maxItems: 3
wakeup-source: true wakeup-source: true
......
...@@ -67,7 +67,6 @@ properties: ...@@ -67,7 +67,6 @@ properties:
clock-names: clock-names:
minItems: 4 minItems: 4
maxItems: 5
items: items:
- const: dos_parser - const: dos_parser
- const: dos - const: dos
......
...@@ -30,7 +30,6 @@ properties: ...@@ -30,7 +30,6 @@ properties:
reg-names: reg-names:
minItems: 1 minItems: 1
maxItems: 13
items: items:
- const: main - const: main
- enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ]
......
...@@ -43,7 +43,6 @@ properties: ...@@ -43,7 +43,6 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 3
items: items:
- description: AXI bus interface clock - description: AXI bus interface clock
- description: Peripheral clock - description: Peripheral clock
......
...@@ -30,7 +30,6 @@ properties: ...@@ -30,7 +30,6 @@ properties:
power-domain-names: power-domain-names:
minItems: 2 minItems: 2
maxItems: 3
items: items:
- const: venus - const: venus
- const: vcodec0 - const: vcodec0
......
...@@ -30,7 +30,6 @@ properties: ...@@ -30,7 +30,6 @@ properties:
power-domain-names: power-domain-names:
minItems: 3 minItems: 3
maxItems: 4
items: items:
- const: venus - const: venus
- const: vcodec0 - const: vcodec0
......
...@@ -30,7 +30,6 @@ properties: ...@@ -30,7 +30,6 @@ properties:
power-domain-names: power-domain-names:
minItems: 2 minItems: 2
maxItems: 3
items: items:
- const: venus - const: venus
- const: vcodec0 - const: vcodec0
......
...@@ -67,7 +67,6 @@ properties: ...@@ -67,7 +67,6 @@ properties:
maxItems: 1 maxItems: 1
clock-names: clock-names:
maxItems: 1
items: items:
- const: fck - const: fck
...@@ -80,7 +79,6 @@ properties: ...@@ -80,7 +79,6 @@ properties:
dma-names: dma-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: rx - const: rx
- const: rx - const: rx
......
...@@ -53,14 +53,12 @@ properties: ...@@ -53,14 +53,12 @@ properties:
apb and smi are mandatory. the async is only for generation 1 smi HW. apb and smi are mandatory. the async is only for generation 1 smi HW.
gals(global async local sync) also is optional, see below. gals(global async local sync) also is optional, see below.
minItems: 2 minItems: 2
maxItems: 4
items: items:
- description: apb is Advanced Peripheral Bus clock, It's the clock for - description: apb is Advanced Peripheral Bus clock, It's the clock for
setting the register. setting the register.
- description: smi is the clock for transfer data and command. - description: smi is the clock for transfer data and command.
- description: async is asynchronous clock, it help transform the smi - description: Either asynchronous clock to help transform the smi clock
clock into the emi clock domain. into the emi clock domain on Gen1 h/w, or the path0 clock of gals.
- description: gals0 is the path0 clock of gals.
- description: gals1 is the path1 clock of gals. - description: gals1 is the path1 clock of gals.
clock-names: clock-names:
......
...@@ -37,7 +37,6 @@ properties: ...@@ -37,7 +37,6 @@ properties:
description: | description: |
apb and smi are mandatory. gals(global async local sync) is optional. apb and smi are mandatory. gals(global async local sync) is optional.
minItems: 2 minItems: 2
maxItems: 3
items: items:
- description: apb is Advanced Peripheral Bus clock, It's the clock for - description: apb is Advanced Peripheral Bus clock, It's the clock for
setting the register. setting the register.
......
...@@ -64,7 +64,6 @@ properties: ...@@ -64,7 +64,6 @@ properties:
clocks: clocks:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- description: Bus Clock - description: Bus Clock
- description: Module Clock - description: Module Clock
...@@ -73,7 +72,6 @@ properties: ...@@ -73,7 +72,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- const: ahb - const: ahb
- const: mmc - const: mmc
......
...@@ -116,7 +116,6 @@ properties: ...@@ -116,7 +116,6 @@ properties:
pinctrl-names: pinctrl-names:
minItems: 1 minItems: 1
maxItems: 4
items: items:
- const: default - const: default
- const: state_100mhz - const: state_100mhz
......
...@@ -38,7 +38,6 @@ properties: ...@@ -38,7 +38,6 @@ properties:
description: description:
Should contain phandle for the clock feeding the MMC controller. Should contain phandle for the clock feeding the MMC controller.
minItems: 2 minItems: 2
maxItems: 8
items: items:
- description: source clock (required). - description: source clock (required).
- description: HCLK which used for host (required). - description: HCLK which used for host (required).
...@@ -51,7 +50,6 @@ properties: ...@@ -51,7 +50,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 8
items: items:
- const: source - const: source
- const: hclk - const: hclk
......
...@@ -75,7 +75,6 @@ properties: ...@@ -75,7 +75,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: core - const: core
- const: cd - const: cd
...@@ -107,7 +106,6 @@ properties: ...@@ -107,7 +106,6 @@ properties:
pinctrl-names: pinctrl-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: default - const: default
- const: state_uhs - const: state_uhs
......
...@@ -45,7 +45,6 @@ properties: ...@@ -45,7 +45,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: clk_ahb - const: clk_ahb
- const: clk_xin - const: clk_xin
......
...@@ -57,7 +57,6 @@ properties: ...@@ -57,7 +57,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: io - const: io
- const: core - const: core
......
...@@ -43,7 +43,6 @@ allOf: ...@@ -43,7 +43,6 @@ allOf:
properties: properties:
clocks: clocks:
minItems: 3 minItems: 3
maxItems: 4
items: items:
- description: GMAC main clock - description: GMAC main clock
- description: First parent clock of the internal mux - description: First parent clock of the internal mux
...@@ -52,7 +51,6 @@ allOf: ...@@ -52,7 +51,6 @@ allOf:
clock-names: clock-names:
minItems: 3 minItems: 3
maxItems: 4
items: items:
- const: stmmaceth - const: stmmaceth
- const: clkin0 - const: clkin0
......
...@@ -23,14 +23,12 @@ properties: ...@@ -23,14 +23,12 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: RX interrupt - description: RX interrupt
- description: TX interrupt - description: TX interrupt
interrupt-names: interrupt-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: rx - const: rx
- const: tx - const: tx
......
...@@ -30,14 +30,12 @@ properties: ...@@ -30,14 +30,12 @@ properties:
- description: interrupt line0 - description: interrupt line0
- description: interrupt line1 - description: interrupt line1
minItems: 1 minItems: 1
maxItems: 2
interrupt-names: interrupt-names:
items: items:
- const: int0 - const: int0
- const: int1 - const: int1
minItems: 1 minItems: 1
maxItems: 2
clocks: clocks:
items: items:
......
...@@ -48,14 +48,12 @@ properties: ...@@ -48,14 +48,12 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: switch's main clock - description: switch's main clock
- description: dividing of the switch core clock - description: dividing of the switch core clock
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: sw_switch - const: sw_switch
- const: sw_switch_mdiv - const: sw_switch_mdiv
......
...@@ -28,7 +28,6 @@ properties: ...@@ -28,7 +28,6 @@ properties:
gpios: gpios:
minItems: 2 minItems: 2
maxItems: 3
items: items:
- description: MDC - description: MDC
- description: MDIO - description: MDIO
......
...@@ -82,7 +82,6 @@ properties: ...@@ -82,7 +82,6 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 3
items: items:
- description: Combined signal for various interrupt events - description: Combined signal for various interrupt events
- description: The interrupt to manage the remote wake-up packet detection - description: The interrupt to manage the remote wake-up packet detection
...@@ -90,7 +89,6 @@ properties: ...@@ -90,7 +89,6 @@ properties:
interrupt-names: interrupt-names:
minItems: 1 minItems: 1
maxItems: 3
items: items:
- const: macirq - const: macirq
- const: eth_wake_irq - const: eth_wake_irq
......
...@@ -46,7 +46,6 @@ properties: ...@@ -46,7 +46,6 @@ properties:
clocks: clocks:
minItems: 3 minItems: 3
maxItems: 5
items: items:
- description: GMAC main clock - description: GMAC main clock
- description: MAC TX clock - description: MAC TX clock
......
...@@ -25,14 +25,12 @@ properties: ...@@ -25,14 +25,12 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: PCIe host controller - description: PCIe host controller
- description: builtin MSI controller - description: builtin MSI controller
interrupt-names: interrupt-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: pcie - const: pcie
- const: msi - const: msi
......
...@@ -24,7 +24,6 @@ properties: ...@@ -24,7 +24,6 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: CFG0 standard config space register - description: CFG0 standard config space register
- description: CFG1 extended config space register - description: CFG1 extended config space register
......
...@@ -70,7 +70,6 @@ properties: ...@@ -70,7 +70,6 @@ properties:
reset-names: reset-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: phy - const: phy
- const: mac - const: mac
......
...@@ -26,14 +26,12 @@ properties: ...@@ -26,14 +26,12 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: PCIe host controller - description: PCIe host controller
- description: builtin MSI controller - description: builtin MSI controller
interrupt-names: interrupt-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: pcie - const: pcie
- const: msi - const: msi
......
...@@ -21,7 +21,6 @@ properties: ...@@ -21,7 +21,6 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 4
items: items:
- description: Overflow interrupt for DTC0 - description: Overflow interrupt for DTC0
- description: Overflow interrupt for DTC1 - description: Overflow interrupt for DTC1
......
...@@ -28,7 +28,6 @@ properties: ...@@ -28,7 +28,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: usbh - const: usbh
- const: usb_ref - const: usb_ref
......
...@@ -22,7 +22,6 @@ properties: ...@@ -22,7 +22,6 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 6
items: items:
- description: the base CTRL register - description: the base CTRL register
- description: XHCI EC register - description: XHCI EC register
...@@ -33,7 +32,6 @@ properties: ...@@ -33,7 +32,6 @@ properties:
reg-names: reg-names:
minItems: 1 minItems: 1
maxItems: 6
items: items:
- const: ctrl - const: ctrl
- const: xhci_ec - const: xhci_ec
...@@ -51,7 +49,6 @@ properties: ...@@ -51,7 +49,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: sw_usb - const: sw_usb
- const: sw_usb3 - const: sw_usb3
......
...@@ -35,7 +35,6 @@ properties: ...@@ -35,7 +35,6 @@ properties:
reg-names: reg-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: phy - const: phy
- const: phy-ctrl - const: phy-ctrl
......
...@@ -131,7 +131,6 @@ patternProperties: ...@@ -131,7 +131,6 @@ patternProperties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Reference clock, (HS is 48Mhz, SS/P is 24~27Mhz) - description: Reference clock, (HS is 48Mhz, SS/P is 24~27Mhz)
- description: Reference clock of analog phy - description: Reference clock of analog phy
...@@ -141,7 +140,6 @@ patternProperties: ...@@ -141,7 +140,6 @@ patternProperties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: ref - const: ref
- const: da_ref - const: da_ref
......
...@@ -31,14 +31,12 @@ properties: ...@@ -31,14 +31,12 @@ properties:
resets: resets:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Sierra PHY reset. - description: Sierra PHY reset.
- description: Sierra APB reset. This is optional. - description: Sierra APB reset. This is optional.
reset-names: reset-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: sierra_reset - const: sierra_reset
- const: sierra_apb - const: sierra_apb
......
...@@ -52,28 +52,24 @@ properties: ...@@ -52,28 +52,24 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Offset of the Torrent PHY configuration registers. - description: Offset of the Torrent PHY configuration registers.
- description: Offset of the DPTX PHY configuration registers. - description: Offset of the DPTX PHY configuration registers.
reg-names: reg-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: torrent_phy - const: torrent_phy
- const: dptx_phy - const: dptx_phy
resets: resets:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Torrent PHY reset. - description: Torrent PHY reset.
- description: Torrent APB reset. This is optional. - description: Torrent APB reset. This is optional.
reset-names: reset-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: torrent_reset - const: torrent_reset
- const: torrent_apb - const: torrent_apb
......
...@@ -30,7 +30,6 @@ properties: ...@@ -30,7 +30,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: ref - const: ref
- const: xo - const: xo
......
...@@ -30,7 +30,6 @@ properties: ...@@ -30,7 +30,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: ref - const: ref
- const: xo - const: xo
......
...@@ -49,7 +49,6 @@ properties: ...@@ -49,7 +49,6 @@ properties:
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Address and length of PHY's common serdes block. - description: Address and length of PHY's common serdes block.
- description: Address and length of PHY's DP_COM control block. - description: Address and length of PHY's DP_COM control block.
......
...@@ -36,7 +36,6 @@ properties: ...@@ -36,7 +36,6 @@ properties:
clocks: clocks:
minItems: 2 minItems: 2
maxItems: 3
items: items:
- description: phy config clock - description: phy config clock
- description: 19.2 MHz ref clk - description: 19.2 MHz ref clk
...@@ -44,7 +43,6 @@ properties: ...@@ -44,7 +43,6 @@ properties:
clock-names: clock-names:
minItems: 2 minItems: 2
maxItems: 3
items: items:
- const: cfg_ahb - const: cfg_ahb
- const: ref - const: ref
......
...@@ -39,7 +39,6 @@ properties: ...@@ -39,7 +39,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: fck - const: fck
- const: usb_x1 - const: usb_x1
...@@ -61,7 +60,6 @@ properties: ...@@ -61,7 +60,6 @@ properties:
resets: resets:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: reset of USB 2.0 host side - description: reset of USB 2.0 host side
- description: reset of USB 2.0 peripheral side - description: reset of USB 2.0 peripheral side
......
...@@ -33,7 +33,6 @@ properties: ...@@ -33,7 +33,6 @@ properties:
# If you want to use the ssc, the clock-frequency of usb_extal # If you want to use the ssc, the clock-frequency of usb_extal
# must not be 0. # must not be 0.
minItems: 2 minItems: 2
maxItems: 3
items: items:
- const: usb3-if # The funcional clock - const: usb3-if # The funcional clock
- const: usb3s_clk # The usb3's external clock - const: usb3s_clk # The usb3's external clock
......
...@@ -26,7 +26,6 @@ properties: ...@@ -26,7 +26,6 @@ properties:
- description: PAD Pull Control + PAD Schmitt Trigger Enable + PAD Control - description: PAD Pull Control + PAD Schmitt Trigger Enable + PAD Control
- description: PAD Drive Capacity Select - description: PAD Drive Capacity Select
minItems: 1 minItems: 1
maxItems: 4
clocks: clocks:
maxItems: 1 maxItems: 1
......
...@@ -37,7 +37,6 @@ properties: ...@@ -37,7 +37,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: vpu - const: vpu
- const: vapb - const: vapb
......
...@@ -37,7 +37,6 @@ properties: ...@@ -37,7 +37,6 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Module Clock - description: Module Clock
- description: Bus Clock - description: Bus Clock
......
...@@ -72,7 +72,6 @@ properties: ...@@ -72,7 +72,6 @@ properties:
- from local to remote, where ACK from the remote means that communnication - from local to remote, where ACK from the remote means that communnication
as been stopped on the remote side. as been stopped on the remote side.
minItems: 1 minItems: 1
maxItems: 4
mbox-names: mbox-names:
items: items:
...@@ -81,7 +80,6 @@ properties: ...@@ -81,7 +80,6 @@ properties:
- const: shutdown - const: shutdown
- const: detach - const: detach
minItems: 1 minItems: 1
maxItems: 4
memory-region: memory-region:
description: description:
......
...@@ -116,7 +116,6 @@ properties: ...@@ -116,7 +116,6 @@ properties:
list, in the specified order, each representing the corresponding list, in the specified order, each representing the corresponding
internal RAM memory region. internal RAM memory region.
minItems: 1 minItems: 1
maxItems: 3
items: items:
- const: l2ram - const: l2ram
- const: l1pram - const: l1pram
......
...@@ -59,7 +59,6 @@ properties: ...@@ -59,7 +59,6 @@ properties:
- description: SRC interrupt - description: SRC interrupt
- description: CPU WDOG interrupts out of SRC - description: CPU WDOG interrupts out of SRC
minItems: 1 minItems: 1
maxItems: 2
'#reset-cells': '#reset-cells':
const: 1 const: 1
......
...@@ -56,7 +56,6 @@ properties: ...@@ -56,7 +56,6 @@ properties:
interrupts: interrupts:
minItems: 3 minItems: 3
maxItems: 4
items: items:
- description: DirError interrupt - description: DirError interrupt
- description: DataError interrupt - description: DataError interrupt
......
...@@ -32,7 +32,6 @@ properties: ...@@ -32,7 +32,6 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: RTC Alarm 0 - description: RTC Alarm 0
- description: RTC Alarm 1 - description: RTC Alarm 1
......
...@@ -21,7 +21,6 @@ properties: ...@@ -21,7 +21,6 @@ properties:
- description: rtc alarm interrupt - description: rtc alarm interrupt
- description: dryice security violation interrupt - description: dryice security violation interrupt
minItems: 1 minItems: 1
maxItems: 2
clocks: clocks:
maxItems: 1 maxItems: 1
......
...@@ -36,14 +36,12 @@ properties: ...@@ -36,14 +36,12 @@ properties:
- description: ipg clock - description: ipg clock
- description: baud clock - description: baud clock
minItems: 1 minItems: 1
maxItems: 2
clock-names: clock-names:
items: items:
- const: ipg - const: ipg
- const: baud - const: baud
minItems: 1 minItems: 1
maxItems: 2
dmas: dmas:
items: items:
......
...@@ -44,7 +44,6 @@ properties: ...@@ -44,7 +44,6 @@ properties:
clock-names: clock-names:
description: N = 0 is allowed for SoCs without internal baud clock mux. description: N = 0 is allowed for SoCs without internal baud clock mux.
minItems: 2 minItems: 2
maxItems: 5
items: items:
- const: uart - const: uart
- pattern: '^clk_uart_baud[0-3]$' - pattern: '^clk_uart_baud[0-3]$'
......
...@@ -164,7 +164,6 @@ patternProperties: ...@@ -164,7 +164,6 @@ patternProperties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: UART core irq - description: UART core irq
- description: Wakeup irq (RX GPIO) - description: Wakeup irq (RX GPIO)
......
...@@ -100,7 +100,6 @@ patternProperties: ...@@ -100,7 +100,6 @@ patternProperties:
properties: properties:
reg: reg:
minItems: 2 # On AM437x one of two PRUSS units don't contain Shared RAM. minItems: 2 # On AM437x one of two PRUSS units don't contain Shared RAM.
maxItems: 3
items: items:
- description: Address and size of the Data RAM0. - description: Address and size of the Data RAM0.
- description: Address and size of the Data RAM1. - description: Address and size of the Data RAM1.
...@@ -111,7 +110,6 @@ patternProperties: ...@@ -111,7 +110,6 @@ patternProperties:
reg-names: reg-names:
minItems: 2 minItems: 2
maxItems: 3
items: items:
- const: dram0 - const: dram0
- const: dram1 - const: dram1
......
...@@ -28,7 +28,6 @@ properties: ...@@ -28,7 +28,6 @@ properties:
minItems: 2 minItems: 2
clock-names: clock-names:
minItems: 2
items: items:
- const: pll_a - const: pll_a
- const: plla_out0 - const: plla_out0
......
...@@ -34,7 +34,6 @@ properties: ...@@ -34,7 +34,6 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: I2S bit clock - description: I2S bit clock
- description: - description:
...@@ -48,7 +47,6 @@ properties: ...@@ -48,7 +47,6 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: i2s - const: i2s
- const: sync_input - const: sync_input
......
...@@ -26,7 +26,6 @@ properties: ...@@ -26,7 +26,6 @@ properties:
- description: Base address and size of SAI common register set. - description: Base address and size of SAI common register set.
- description: Base address and size of SAI identification register set. - description: Base address and size of SAI identification register set.
minItems: 1 minItems: 1
maxItems: 2
ranges: ranges:
maxItems: 1 maxItems: 1
...@@ -81,14 +80,12 @@ patternProperties: ...@@ -81,14 +80,12 @@ patternProperties:
- description: sai_ck clock feeding the internal clock generator. - description: sai_ck clock feeding the internal clock generator.
- description: MCLK clock from a SAI set as master clock provider. - description: MCLK clock from a SAI set as master clock provider.
minItems: 1 minItems: 1
maxItems: 2
clock-names: clock-names:
items: items:
- const: sai_ck - const: sai_ck
- const: MCLK - const: MCLK
minItems: 1 minItems: 1
maxItems: 2
dmas: dmas:
maxItems: 1 maxItems: 1
......
...@@ -35,7 +35,6 @@ properties: ...@@ -35,7 +35,6 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: controller register bus clock - description: controller register bus clock
- description: baud rate generator and delay control clock - description: baud rate generator and delay control clock
......
...@@ -56,7 +56,6 @@ properties: ...@@ -56,7 +56,6 @@ properties:
reg-names: reg-names:
minItems: 1 minItems: 1
maxItems: 5
items: items:
- const: mspi - const: mspi
- const: bspi - const: bspi
...@@ -71,7 +70,6 @@ properties: ...@@ -71,7 +70,6 @@ properties:
interrupt-names: interrupt-names:
oneOf: oneOf:
- minItems: 1 - minItems: 1
maxItems: 7
items: items:
- const: mspi_done - const: mspi_done
- const: mspi_halted - const: mspi_halted
......
...@@ -23,14 +23,12 @@ properties: ...@@ -23,14 +23,12 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Bus Clock - description: Bus Clock
- description: Module Clock - description: Module Clock
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: bus - const: bus
- const: mod - const: mod
......
...@@ -77,7 +77,6 @@ properties: ...@@ -77,7 +77,6 @@ properties:
nvmem-cell-names: nvmem-cell-names:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- const: calib - const: calib
- enum: - enum:
......
...@@ -24,7 +24,6 @@ properties: ...@@ -24,7 +24,6 @@ properties:
interrupts: interrupts:
minItems: 2 minItems: 2
maxItems: 4
items: items:
- description: Timer 0 Interrupt - description: Timer 0 Interrupt
- description: Timer 1 Interrupt - description: Timer 1 Interrupt
......
...@@ -35,7 +35,6 @@ properties: ...@@ -35,7 +35,6 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 5
items: items:
- description: secure timer irq - description: secure timer irq
- description: non-secure timer irq - description: non-secure timer irq
......
...@@ -71,14 +71,12 @@ patternProperties: ...@@ -71,14 +71,12 @@ patternProperties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: physical timer irq - description: physical timer irq
- description: virtual timer irq - description: virtual timer irq
reg: reg:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: 1st view base address - description: 1st view base address
- description: 2nd optional view base address - description: 2nd optional view base address
......
...@@ -22,7 +22,6 @@ properties: ...@@ -22,7 +22,6 @@ properties:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 2
items: items:
- description: Timer 1 interrupt - description: Timer 1 interrupt
- description: Timer 2 interrupt - description: Timer 2 interrupt
......
...@@ -30,14 +30,12 @@ properties: ...@@ -30,14 +30,12 @@ properties:
- description: usb irq from max3420 - description: usb irq from max3420
- description: vbus detection irq - description: vbus detection irq
minItems: 1 minItems: 1
maxItems: 2
interrupt-names: interrupt-names:
items: items:
- const: udc - const: udc
- const: vbus - const: vbus
minItems: 1 minItems: 1
maxItems: 2
spi-max-frequency: spi-max-frequency:
maximum: 26000000 maximum: 26000000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment