diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-11-26 16:25:03 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-12-09 17:18:29 +0300 |
commit | 225c13237732bba4b6714b43a3c4fe803da3166c (patch) | |
tree | c50eff3aa131480d8a17ca4190b5d9c92b4686ca /arch/arm/boot/dts | |
parent | 38d1985fdfcf20dc246b552580479ae602f735d1 (diff) | |
download | linux-225c13237732bba4b6714b43a3c4fe803da3166c.tar.xz |
ARM: zynq: Fix OCM mapping to be aligned with binding on zc702
The commit f69629919942 ("dt-bindings: sram: Convert SRAM bindings to
json-schema") converted binding to yaml and some missing required
properties started to be reported. Align binding based on it.
The patch is fixing these warnings:
.../zynq-zc702.dt.yaml: sram@fffc0000: '#address-cells' is a required property
.../zynq-zc702.dt.yaml: sram@fffc0000: '#size-cells' is a required property
.../zynq-zc702.dt.yaml: sram@fffc0000: 'ranges' is a required property
>From schema: .../Documentation/devicetree/bindings/sram/sram.yaml
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/87c02786ccd8d7827827a9d95a8737bb300caeb0.1606397101.git.michal.simek@xilinx.com
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/zynq-zc702.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts index 10a7d0b8cf8b..cf70aff26c66 100644 --- a/arch/arm/boot/dts/zynq-zc702.dts +++ b/arch/arm/boot/dts/zynq-zc702.dts @@ -66,6 +66,12 @@ ocm: sram@fffc0000 { compatible = "mmio-sram"; reg = <0xfffc0000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xfffc0000 0x10000>; + ocm-sram@0 { + reg = <0x0 0x10000>; + }; }; }; |